Skip to main content

PyPI version run and build codecov License

py-quantaq

A python wrapper for the QuantAQ RESTful API

Installation

Install directly from PyPI:

$ pip install -U py-quantaq

Or, install the library directly from GitHub:

$ pip install git+https://github.com/quant-aq/py-quantaq.git

Docs

Documentation is in progress, but can be found here.

Authentication

To use the API, you must first have an API key. You can obtain an API key from the user dashboard. Once you create a new API key, make sure to keep it secret! The easiest way to do this is to save your key as an environment variable. This process is unique to each OS, but many tutorials exist online. For Mac, do the following:

Using your editor of choice, open up your .bash_profile:

# open up your bash profile
$ nano ~/.bash_profile

Next, save the API key as an environment variable:

# add a line with your API Key
export QUANTAQ_APIKEY=<your-api-key-goes-here>

Finally, source your .bash_profile:

$ source ~/.bash_profile

Now, you shouldn't ever have to touch this again or remember the key!

Tests

To run the unittests:

$ poetry run pytest tests

or, with coverage

$ poetry run pytest tests --cov=quantaq --cov-report term-missing -s

Tests are automagically run via github actions on each build. Results and coverage are tracked via Code Coverage which can be viewed by clicking on the badge above.

Metadata

Release files for py-quantaq 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-quantaq 1.3.0
File Size Uploaded Provenance Actions
py_quantaq-1.3.0.tar.gz 12.1 kB Without provenance Details for py_quantaq-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-quantaq 1.3.0
File Interpreter ABI Platform Actions
py_quantaq-1.3.0-py3-none-any.whl Python 3 none any Details for py_quantaq-1.3.0-py3-none-any.whl

Total release size: 28.5 kB

Release files / py_quantaq-1.3.0.tar.gz

Download URL py_quantaq-1.3.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b4caef0cd007cdb917edcf454a9ed9fed9c1950b9adabd8cbeed4d727197854
BLAKE2b-256 checksum
How to use checksums
cc17cca3fc20d7a3fd3a933917e97d54b00924cefc8658424ad1acd5086c4ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.8.18 Linux/6.2.0-1016-azure

Release files / py_quantaq-1.3.0-py3-none-any.whl

Download URL py_quantaq-1.3.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c589fec7c6eec5ae3fdec1904bc2de5e04dd3a6bb788ec69940df8b612b6b50
BLAKE2b-256 checksum
How to use checksums
28f518755cf3745dc21777d86f71bf65e3b163d0bf18fb85fc388d49830cc81e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.8.18 Linux/6.2.0-1016-azure

Security for py-quantaq 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page