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.

Source Distribution

faros-0.2.3.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

faros-0.2.3-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

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