Skip to main content

PipeRider Python SDK

Project description

PipeRider SDK For Python

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

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.

from PipeRider.api.http_client import set_api_key

set_api_key('api-key')

Installation

pip install piperider-python-sdk

Usage

Import the PipeRider module.

import PipeRider

Create a project.

project = PipeRider.project('my-pipe-rider')

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()

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

piperider-python-sdk-0.0.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

piperider_python_sdk-0.0.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file piperider-python-sdk-0.0.2.tar.gz.

File metadata

  • Download URL: piperider-python-sdk-0.0.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using 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.8 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

File hashes

Hashes for piperider-python-sdk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b59b4647b6bc5706bddbbf940d11ec31ded0c6af8e9caeb16957c72d02769505
MD5 4a2a52eb6c5f12c3df4cc4398841f7a6
BLAKE2b-256 0be50431f472196b744d580f4a27e5483c484d68fb73be6a9042a91c79af20cf

See more details on using hashes here.

File details

Details for the file piperider_python_sdk-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: piperider_python_sdk-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using 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.8 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

File hashes

Hashes for piperider_python_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21c65c1224f36393ec331a731ed6b77f2f866ceb8749f05126bf3c32a107db18
MD5 0837b4dd023b580cd9d0261c6cb42227
BLAKE2b-256 b5c4069052c23a21becfdad657764dc229353cab30e5abff2af3360a382d7752

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