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.6.tar.gz (11.8 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.6-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyro_dash_py-0.1.6.tar.gz
  • Upload date:
  • Size: 11.8 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.6.tar.gz
Algorithm Hash digest
SHA256 724fd92d699497537a8e8c1f3d06e4761c101141f541c96971983199e9f30af6
MD5 d8d944857816b333765eff0ef8157390
BLAKE2b-256 d0a77c6ceefb8118d1c2e7d3d2c90c2df3722d52b3565de6ce2a4cbc6b7744d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyro_dash_py-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7598406dc0ccee84364d119eb0a25e1c45499d5e51bc3375d3f0d277c58004b3
MD5 3cc6ee328b004a0fb322c49946226805
BLAKE2b-256 1dcb65741a84e7bb4bad578f48503cdb6e6390e6855b86ce598e492b71430066

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