Skip to main content

A Python API client for the Tyba Public API

Project description

Tyba API Client

Examples

For examples see https://github.com/Tyba-Energy/tyba-client-notebooks. The script examples in tyba-python-client/examples will be deprecated eventually.

Development

Docs

We use sphinx to manage the documentation for the client. Source .rst files can be found in docs/source. We use the intersphinx extension to manage links between the client docs and the docs of generation_models (the model schema for the client). Make sure you understand how these links are defined based on the intersphinx_mapping variable in docs/source/conf.py to avoid any gotchas.

To generate/update documentation for the Tyba client, cd into the docs directory and run the makefile that generates the HTML documentation

# Assuming you are already in the tyba-python-client directory
$ cd docs
$ poetry run make html

The HTML documentation can be found in docs/build/html.

Once it's been reviewed, this HTML documentation needs to be uploaded to s3, so it can be served at https://docs.tybaenergy.com/api/. We have a python script to do this

poetry run python upload_to_s3.py

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

tyba_client-0.4.3.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

tyba_client-0.4.3-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file tyba_client-0.4.3.tar.gz.

File metadata

  • Download URL: tyba_client-0.4.3.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/23.1.0

File hashes

Hashes for tyba_client-0.4.3.tar.gz
Algorithm Hash digest
SHA256 7a8fc1285a2e9426e8317d5e782290ab3cbb91d48b7758e04054d5d35ab60027
MD5 cad9efc768fca7bab3fcb7dafd7a1a0f
BLAKE2b-256 dd851cd0534ed489b39f49c161c97ae9f618d5423c35fdea5529729bfe2e098d

See more details on using hashes here.

File details

Details for the file tyba_client-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: tyba_client-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/23.1.0

File hashes

Hashes for tyba_client-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6349dde8c696f7007b7bf9290bc1212db0e41bcd22bb27232518e1f063c70d42
MD5 da78d0e709e63ee093c31692e7e61287
BLAKE2b-256 a3b8530a1a3bbaf95acea865719d6bfc0407fcf5b54fd6bcdfa91ec82909f1c9

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