Skip to main content

SDK for the YellowDog Platform

Project description

YellowDog SDK (Python)

The YellowDog SDK allows you to integrate the YellowDog Platform into your Python applications.

Usage

Please refer to the full documentation.

Advanced

Building From Source

If you wish to modify the SDK, you can build it from source. You must have Python 3.7 installed:

python3 -m venv venv               # Create a new virtual environment
. venv/bin/activate                # Activate the virtual environment
pip install pip -U                 # Upgrade pip
pip install tox                    # Install tox
tox -e dev                         # Create a development environment

Pycharm may then be configured by adding .tox/dev/bin/python as the interpreter.

Debugging

When debugging the SDK via Pycharm, Pycharm will offer to install the CPython extensions to speed up debugging.

In order for this to work on Ubuntu, you need to first have the dev package for the version of Python you are debugging against.

For example:

sudo apt-get install python3.8-dev

Testing Against Multiple Python Versions

# Add the deadsnakes PPA
sudo add-apt-repository ppa:deadsnakes/ppa
# Update package indexes
sudo apt-get update
# Install all supported versions of Python                                              
sudo apt-get install python3.8 python3.8-distutils python3.9 python3.9-distutils python3.10 python3.10-distutils python3.11 python3.11-distutils python3.12 python3.12-distutils  
# Install tox
python3 -m pip install tox  
# Run tests for each Python version                                             
python3 -m tox                                                           

Debugging

When debugging the SDK via Pycharm, Pycharm will offer to install the CPython extensions to speed up debugging.

In order for this to work on ubuntu, you need to have the dev package for the version of Python

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

yellowdog_sdk-7.6.0-py3-none-any.whl (256.1 kB view details)

Uploaded Python 3

File details

Details for the file yellowdog_sdk-7.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yellowdog_sdk-7.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff968dd9707c4f47c8e9d58fc2eef605d0124e64fe509cfa9eec42c48e9686a0
MD5 1c7bd51987bd51e6ed5eac2f36c27d88
BLAKE2b-256 9f30a124c9b38b52052e723eea8395eadf8821b3d2ab9a90f585131eedf9abfb

See more details on using hashes here.

Supported by

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