Skip to content

Commit

Permalink
Merge branch 'master' into rj/source-code-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky authored Sep 29, 2022
2 parents 1795481 + 6e56209 commit 1cc92c6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## [UNRELEASED] neptune-client 0.16.10

### Fixes
- Update jsonschema requirement with explicit `format` specifier ([#1010](https://github.com/neptune-ai/neptune-client/pull/1010))

### Changes
- More consistent and strict way of git repository, source files and entrypoint detection ([#1007](https://github.com/neptune-ai/neptune-client/pull/1007))

Expand Down
31 changes: 20 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
</div>

[![PyPI version](https://badge.fury.io/py/neptune-client.svg)](https://badge.fury.io/py/neptune-client)
[![Build Status](https://travis-ci.org/neptune-ai/neptune-client.svg?branch=master)](https://travis-ci.org/neptune-ai/neptune-client)
[![neptune-blog](https://img.shields.io/badge/Neptune-blog-informational?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAgCAYAAABQISshAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAF6klEQVRYCa2YXWiWZRjH301nGWVTa36ESWqb1bTSorSTUg8kwg4iSIhOgo49yDoIOomgjiqQPCroIEGQqA6ighoIZYbZNEtnhU1rUc3U5fzY3Nbv//hcT//33rN37zu74Nr1fV33fd1fz95KpQaMjo7OHBsb2wy+A74HbgXbaoTUZSLHevBj8A/wGLiNWjfVFdyokxJT4CMwhb0obm40X/iT9zHiB9KkyF3Yrg+//4WSdBq4s6RYqN6GaWq0GDGLwePgRLCl0Zw1/amyDhyaqBr6U2B7zSQlRmJeLcvJSoR6P8w1JaGNq0jUBO6IzDm9CB1OdFsbyU7sQvDXJMfZRL6EvKGRvOHbHIzRpfAbTT4L/zj4FHjB9I/SyRkmT8Y+jIMf6N3Ia8HtFjg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hHdMPrcCFjOSs0NAaoV8olpW50xeynLoNQg/1dBB95vxPSgf9/f33/+Siail9/fBH0J68YLuCcYUQbzJXYfoJsLHh9tP22XAH1wZv/LkENXWkcYcrq/ra1t3Gd84jOxSEHdPuk/RI8ogoLXQu4Vn4O+23aHMAntxe7nROchcrXC+4oMI/sYsuK+DbBPDrw7Gxn0CBign4meAV8LRU734nv15BkvexCjbygHvXGbULwpJXzYDsPPyqLQzANfB7vAlziwlw11VCVJKzGHQU8uMYUX60hXuJB3DQkuKEkMGpqNXiR0mN8oghDeVYDBy0ND+pyqD4h7wWLL2DMo0yu0ZnL8p4MfKpkNWqLL+q1tbZEIQdvBYQ/B/v9D4VvG4LuA4J+UIC2aJ902ODhY9d1RlifVkUv/t6c/4OUpM/IWf/+7rBA+ldoGsR2xocLEbiZGHfI84j8HsxsnHWg9MumeVUrlTeATZH8Usx/I2lF+ASrgAwovrKdI6kPsE2A3KOgD9TvvlCcR+cnxNKgf7QRHwec5x+N+wPsX+f7UoKzjPDEAAAAASUVORK5CYII=)](https://neptune.ai/blog)
[![twitter](https://img.shields.io/twitter/follow/neptune_ai.svg?label=Follow)](https://twitter.com/neptune_ai)
[![youtube](https://img.shields.io/youtube/views/9iX6DxcijO8?style=social)](https://www.youtube.com/channel/UCvOJU-ubyUqxGSDRN7xK4Ng)
Expand Down Expand Up @@ -32,7 +31,10 @@ pip install neptune-client
```python
import neptune.new as neptune

run = neptune.init(project="common/quickstarts", api_token="ANONYMOUS")
run = neptune.init_run(
project="common/quickstarts",
api_token=neptune.ANONYMOUS_API_TOKEN,
)

run["parameters"] = {
"batch_size": 64,
Expand All @@ -46,6 +48,7 @@ for epoch in range(100):

run["f1_score"] = 0.66
```

[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neptune-ai/examples/blob/master/how-to-guides/hello-world/notebooks/Neptune_hello_world.ipynb)

<div align="center">
Expand Down Expand Up @@ -162,7 +165,10 @@ import tensorflow as tf
import neptune.new as neptune
from neptune.new.integrations.tensorflow_keras import NeptuneCallback

run = neptune.init(project="common/tf-keras-integration", api_token="ANONYMOUS")
run = neptune.init_run(
project="common/tf-keras-integration",
api_token=neptune.ANONYMOUS_API_TOKEN,
)

mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
Expand Down Expand Up @@ -211,9 +217,9 @@ from sklearn.model_selection import train_test_split
import neptune.new as neptune
import neptune.new.integrations.sklearn as npt_utils

run = neptune.init(
run = neptune.init_run(
project="common/sklearn-integration",
api_token="ANONYMOUS",
api_token=neptune.ANONYMOUS_API_TOKEN,
name="classification-example",
tags=["GradientBoostingClassifier", "classification"],
)
Expand Down Expand Up @@ -259,8 +265,10 @@ from neptune.new.integrations.fastai import NeptuneCallback
from fastai.vision.all import *
import neptune.new as neptune

run = neptune.init(
project="common/fastai-integration", api_token="ANONYMOUS", tags="basic"
run = neptune.init_run(
project="common/fastai-integration",
api_token=neptune.ANONYMOUS_API_TOKEN,
tags="basic",
)

path = untar_data(URLs.MNIST_TINY)
Expand Down Expand Up @@ -322,9 +330,10 @@ def objective(trial):


# Create a Neptune run
run = neptune.init(
api_token="ANONYMOUS", project="common/optuna-integration"
) # you can pass your credentials here
run = neptune.init_run(
api_token=neptune.ANONYMOUS_API_TOKEN,
project="common/optuna-integration",
)

# Create a NeptuneCallback for Optuna
neptune_callback = optuna_utils.NeptuneCallback(run)
Expand Down Expand Up @@ -366,4 +375,4 @@ If you get stuck or simply want to talk to us about something, here are your opt

Created with :heart: by the [Neptune.ai team](https://neptune.ai/about-us):

Piotr, Jakub, Paulina, Kamil, Magdalena, Małgorzata, Piotr, Aleksandra, Marcin, Hubert, Adam, Jakub, Paweł, Patrycja, Grzegorz, Paweł, Marcin, Jakub, Prince, Rafał, Dominika, Karolina, Parth, Rafał, Stephen, Sabine, Martyna, Artur, Franciszek, Aleksiej, Kshiteej, Tomek, Tymoteusz, Piotr, Chaz, Michał, Siddhant, Karolina, Michał, and [you?](https://neptune.ai/jobs)
Piotr, Jakub, Paulina, Kamil, Magdalena, Małgorzata, Piotr, Aleksandra, Marcin, Hubert, Adam, Jakub, Paweł, Patrycja, Marcin, Jakub, Prince, Rafał, Dominika, Karolina, Parth, Rafał, Stephen, Sabine, Martyna, Artur, Franciszek, Aleksiej, Kshiteej, Tomek, Tymoteusz, Piotr, Chaz, Michał, Siddhant, Karolina, Michał, Valentina, Bartosz, and [you?](https://neptune.ai/jobs)
4 changes: 1 addition & 3 deletions neptune/management/internal/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,9 +790,7 @@ def trash_objects(
If you pass the workspace argument, the name argument should only contain 'project-name'
instead of 'workspace-name/project-name'.
ids: Neptune ID of object to trash (or list of multiple IDs).
You can find the ID:
- (app) In the leftmost column of the table view.
- (API) In the "sys/id" field of the object.
You can find the ID in the leftmost column of the table view, and in the "sys/id" field of each object.
workspace: Name of your Neptune workspace. If you specify it,
change the format of the name argument to 'project-name' instead of 'workspace-name/project-name'.
If None, it will be parsed from the name argument.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ urllib3
dataclasses>=0.6; python_version<"3.7"
swagger-spec-validator>=2.7.4
psutil
jsonschema<4.0.0
jsonschema[format]<4.0.0

0 comments on commit 1cc92c6

Please sign in to comment.