The Python SDK for jupy.dev
Project description
Jupy SDK
The Jupy SDK provides access to the APIs of https://jupy.dev. The package comes with an SDK you can use to create notebooks. In addition, it offers a CLI that has feature parity with the SDK.
Pre-requisites
- An account on https://jupy.dev
- A registered organization
- An API key generated for that organization
Examples
SDK
from jupy import Jupy
from pathlib import Path
# Initialize the Jupy SDK with your API key
api_key = "your_api_key_here"
jupy = Jupy(api_key=api_key)
# Define the notebook details
notebook_path = Path("path/to/your/notebook.ipynb")
notebook_name = "My First Notebook"
notebook_namespace = "default"
notebook_description = "This is a description of my first notebook."
notebook_tags = ["example", "jupy"]
# Create the notebook
response = jupy.create_notebook(
content=notebook_path,
name=notebook_name,
namespace=notebook_namespace,
description=notebook_description,
tags=notebook_tags
)
# Print the response from the API
print(response)
CLI
# Initialize Jupy with your API key
jupy init --api-key your_api_key_here
# Create a new notebook using the CLI
jupy create notebook --path path/to/your/notebook.ipynb --title "My First Notebook" --namespace "default" --description "This is a description of my first notebook." --tags jupy example abc123
Feedback
We'd love to hear your feedback at feedback@jupy.dev.
Support
For any questions feel free to contact us at support@jupy.dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupy_sdk-0.0.0.tar.gz.
File metadata
- Download URL: jupy_sdk-0.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b0ddacba75169e7d5d74b97fd60bc432f14c1043a7409f8659178218a5ddf77
|
|
| MD5 |
5521f03ede27730e04bfaffa16278adf
|
|
| BLAKE2b-256 |
90944f19448f424d5ad0d3199db5271e976e280160fb403b780a8e52879ee003
|
File details
Details for the file jupy_sdk-0.0.0-py3-none-any.whl.
File metadata
- Download URL: jupy_sdk-0.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d6152c02b86efc2e6625e72ec0b6866724b659f84575728a2aa38f62362a206
|
|
| MD5 |
0662b6769ebe0276e3372633cb5c04f3
|
|
| BLAKE2b-256 |
34896ebaaf24d0d696bc567d0f06e0f8ba8cf2516e93a52f74425e93d668f5cd
|