Skip to main content

A python sdk for the pyro-dashboard-api

Project description

pyro_dash_py

A pretty light-weight and somewhat bearable python-sdk for the pyro-dashboard-api

Deploy Docs Build and Release Tests

Visit pyro_dash_py's full documentation here: https://pyrologix.github.io/pyro_dash_py/

Installation

pyro_dash_py has a public pypi package that you can install.

pip install pyro_dash_py

Speed Run Usage

First, initialize the PyroDash client, make sure you are specifying your own api key.

pyro = PyroDash(
    host="https://api.dashboard.pyrologix.com",
    email="dev@pyrologix.com",
    apikey="my-super-secret-key",
)

Now you can create some projects and jobs:

my_project = pyro.projects.create(name="Hello from pyro_dash_py")
my_job = pyro.jobs.create("wildest")

my_project.add_job(my_job.id)

For Contributors

This project uses poetry to manage dependencies and virtual environments. You're gonna need that.

You can follow the installation instructions here or you can just run the command below:

curl -sSL https://install.python-poetry.org | python3 -
source ~/.zshrc # or whatever shell you're using

Then you can clone this repo and install dependencies:

git clone https://github.com/pyrologix/pyro_dash_py.git
poetry install --with dev

# and you should be able to run the test suite
poetry run pytest

You are encouraged to check out the examples/ in order to get a feel for usage.

Docs

  • poetry run mkdocs serve - Start the live-reloading docs server.
  • poetry run mkdocs build - Build the documentation site.

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

pyro_dash_py-0.1.7.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

pyro_dash_py-0.1.7-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file pyro_dash_py-0.1.7.tar.gz.

File metadata

  • Download URL: pyro_dash_py-0.1.7.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for pyro_dash_py-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f288fd8b1ed2acc1000e343f3838340264c472d6aa0b532b9353d04a2b873706
MD5 1c4b02c3646a9545f38fb3a33f6f26a2
BLAKE2b-256 2568cd2a1c40e671c5396553ee4a9b2adb979d7be872d0db7c04cc5b87dc5042

See more details on using hashes here.

File details

Details for the file pyro_dash_py-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pyro_dash_py-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for pyro_dash_py-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa2a5d814d1ba330641d31867aefc7eda2e610e2fdeceb2ea11021e5e940e36
MD5 f0580b13f714b20abbb3029568bbb13d
BLAKE2b-256 386fd383c6e6f63786ec224af8290cf85b541960ab204f10d5f2f5722a74c352

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