Skip to main content

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

  1. An account on https://jupy.dev
  2. A registered organization
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupy_sdk-0.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupy_sdk-0.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for jupy_sdk-0.0.0.tar.gz
Algorithm Hash digest
SHA256 1b0ddacba75169e7d5d74b97fd60bc432f14c1043a7409f8659178218a5ddf77
MD5 5521f03ede27730e04bfaffa16278adf
BLAKE2b-256 90944f19448f424d5ad0d3199db5271e976e280160fb403b780a8e52879ee003

See more details on using hashes here.

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

Hashes for jupy_sdk-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d6152c02b86efc2e6625e72ec0b6866724b659f84575728a2aa38f62362a206
MD5 0662b6769ebe0276e3372633cb5c04f3
BLAKE2b-256 34896ebaaf24d0d696bc567d0f06e0f8ba8cf2516e93a52f74425e93d668f5cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page