Skip to main content

PipeRider SDK For Python

The PipeRiper SDK for Python enables you to access and manipulate project resources in your PipeRider account.

Installation

pip install piperider-python-sdk

Configuration

To use the SDK you will need to obtain an API key. This can be done from the User Settings page of your account.

https://app.piperider.io/settings

Configure your API key using one of the following methods.

Store API key in an environment variable

Users can set the API key as an environment variable.

export PIPERIDER_API_KEY=<user_api_key>

Configure API key using the set_api_key function

Set your API key using the set_api_key function.

import PipeRider
PipeRider.set_api_key('api-key')

Usage

Import the PipeRider module.

import PipeRider

Create a project.

project = PipeRider.create_project('my-project')

Use an existing project.

project = PipeRider.project_by_uid('6f9f6eb9-8657-4761-9e32-116f1b8cfb82')

Create a run and save the settings for a machine learning project.

with project.runs.create(name='Awesome Run') as run:
    run.config = {
        'learning_rate': 0.02,
        'architecture': 'CNN',
        'dataset': 'TKNV-users',
    }

    run.params = {
        'batch_size': 64,
        'epoch': 100,
        'learning_rate': 0.005
    }

Add a dataset. This will enable you to more easily trace your model lineage.

run.add_dataset('golden-dataset')

Comments can also be added to the timeline.

project.comment('it is a good idea.')

If the run achieves the desired performance it can be registered as a model by declaring it a win.

run.win()

Metadata

Release files for piperider-python-sdk 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piperider-python-sdk 0.0.5
File Size Uploaded
piperider-python-sdk-0.0.5.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piperider-python-sdk 0.0.5
File Interpreter ABI Platform
piperider_python_sdk-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / piperider-python-sdk-0.0.5.tar.gz

Download URL piperider-python-sdk-0.0.5.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3297c46a0ddd64823624c9db745ce3ada12f10427de49b005e07166b917d0d76
BLAKE2b-256 checksum
How to use checksums
b19fdd61de70a552f30144b15f59e45e20e1661425f62a509bc525dd4a6170d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / piperider_python_sdk-0.0.5-py3-none-any.whl

Download URL piperider_python_sdk-0.0.5-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf502075ca3da44eaade2d20ce858179dc3a3120560ec075c6a2a884d6f6afe3
BLAKE2b-256 checksum
How to use checksums
f216973e9a2c860ef5ead2becc7da242e6056348e6b5e9bba9a8932b643ca211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page