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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tyba_client-0.4.2.tar.gz
.
File metadata
- Download URL: tyba_client-0.4.2.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00fccfd782ef10d066ab9c1df147f49748779c55b8478cef15a3c118e3ca9f1 |
|
MD5 | 82eede412afa13a9e1cf21226f68983f |
|
BLAKE2b-256 | 7cce023419b0fd0899fd566059ffd12d15b75504daebd8662374ab2573bb4b5a |
File details
Details for the file tyba_client-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: tyba_client-0.4.2-py3-none-any.whl
- Upload date:
- Size: 14.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9633641794ff99ee7352f6366bcbc52edfd2b7069733b5321d227c9eb6e19703 |
|
MD5 | 12db2a6844433ecd1f70fad75eb3d03f |
|
BLAKE2b-256 | 3a643bc67a95f5783951c8edcaac53c83aa23620a2e1df71d38e302a0504edc0 |