Skip to main content

Faros API SDK

Project description

Faros Python Client

Python client for the Faros API

Documentation

Please read the Faros documentation to learn more. See also our apps repo for examples to help you get started.

Developing

$ pip install -r requirements.txt

We currently using flake8 for linting so ensure your code editor is using that for linting. You can also run flake8 . --count --show-source --max-complexity=10 --max-line-length=120 --statistics

:memo: NOTE: Note: In the future will switch to something like black to automatically format on commit.

:memo: If you add new packages to the client, also add them to install_requires section in setup.py, to ensure their added to packaged client published to PyPi

Releasing

To release a new version of the client first bump the version in init file.

  1. From the repo's home page, click on "releases" then "Draft a new release".
  2. In the "Tag version" input, select the tag corresponding to the version you want to release from the auto-complete or type in to create a new version
  3. Enter a release title and description, check the pre-release box if appropriate, and click "Publish release".

The Publish to PyPi workflow in this repository will then automatically publish the code to PyPi. If all goes well, you be able to see it shortly after here with the new version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for faros, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size faros-0.2.3.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View
Filename, size faros-0.2.3-py3-none-any.whl (13.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page