Utility code for interacting with the Upvest Investment API, mainly HTTP Message Signatures
Project description
Upvest Investment API
This Python package is NOT a fully fledged API client.
So far, it implements the parts of the HTTP Message Signatures, draft version 15 functionality which are required to interact with the Upvest Investment API.
Next to a generic implementation, this is also provided as a custom authentication mechanism for the requests
Python package when you install this package with the requests-auth
extra enabled like so: pip install upvest-investment-api[requests-auth]
For examples how to use this, please refer to Upvest's Python code examples.
Required dependency
This Python package relies on the cryptography
package to do the heavy lifting for HTTP Message Signatures.
Optional dependencies / Package extras
This Python package uses optional dependencies to give you control over which additional dependencies get installed when using it:
- The package extra
requests-auth
installs therequests
package which is required to provide therequests
custom authentication mechanism mentioned above. - The package extra
file-download
installs therequests
package and thePGPy
package which both are required to enable downloading files from the Upvest Investment API. See how to use it in this MiFIR report file download code example. - The package extra
env-settings
installs theenvirons
package which is used to load all settings and the access credentials for the Upvest Investment API from environment variables.
You can specify multiple extras at the same time as a comma-separated list like so: pip install upvest-investment-api[requests-auth,env-settings,file-download]
, optionally pinning the version like so: pip install upvest-investment-api[requests-auth,env-settings,file-download]==0.0.1a3
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 upvest_investment_api-0.0.1b1.tar.gz
.
File metadata
- Download URL: upvest_investment_api-0.0.1b1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8bbd495fff26614993c0850c3b5e0ebcc165852a74032d7173fbf884fade02 |
|
MD5 | d5e1152022869879e50187b71a9cc506 |
|
BLAKE2b-256 | 89b52c84c61befaa58a73a0bf5b0b3d689eb7cc54c6419bf51a0f300adfb3818 |
File details
Details for the file upvest_investment_api-0.0.1b1-py3-none-any.whl
.
File metadata
- Download URL: upvest_investment_api-0.0.1b1-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7496edffcc1fbc64df9aba8b4089cb6b972adfecd1b0329bb44a82f5ba63d52f |
|
MD5 | 7261de091429258f39430f9f3d3e6a7f |
|
BLAKE2b-256 | 6317e39fb3e74249a5b6db63c0bbb03c4111faa482d0d324280fe6144147355c |