Python client for Investec Programmable Banking
Reason this release was yanked:
Inaccurate readme.
Project description
About The Project
A simple Python client library to interact with the Investec Bank API, one of a number of existing client implementations which are also mentioned in the acknowledgement section below. This client has a few noteworthy features:
- No runtime dependencies outside of the Python built-in functionality.
- A single client interface
InvestecOpenApiClient
which inherits function definitions for all supported API scopes. - Full support for switching to API sandbox endpoints with a single client parameter
use_sandbox
. - Additional HTTP headers can be specified to optimize client performance, such as
{'Accept-Encoding': 'gzip, deflate, br'}
. - Full separation of implementation between API scope implementations for ease of extensions.
Limitations
- At the time of writing, API support is limited to the account scope and limited card scope. Pull requests are welcome.
- Although Investec Bank publish their API schema as an Open API specification, I had specific difficulty in generating a client from only the JSON schema files using a few options. More experimentation is needed to obviate the need to write a client from first principles.
- This library is not yet published to the Python Package Index (PyPi).
Setup
Install Poetry for dependency and runtime management, which already references the submodule in the pyproject.toml
configuration. Follow the instructions on the Poetry site here.
Example Usage
For an example of how this library works, check out this simple sample application.
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
Additional well-established Python clients built by the Investec Programmable Banking community:
Investec Open API:
This project benefits from these supporting projects:
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
Hashes for investec_api_python-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5fe9dc865a004ffa7f1edd944e9ccf8dec6accc2759316c1e663b4c3aa0c4f5 |
|
MD5 | 2983868529f264b81935236f7985d306 |
|
BLAKE2b-256 | 5dd967b7c7a61cb5b707b2a8d64cbd8cba2b0644241f5d9373bde14c34cb0b81 |
Hashes for investec_api_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b15285c0d27d41bbe0fd01abfa209ef5f5ef4853970a8250d3733c939ea62b8 |
|
MD5 | cc4c9b11fe768379c02b1449a6b8cb4d |
|
BLAKE2b-256 | 75e8b3a1b5cca32ef8580aafc831ea7ea8a20da2f9b39ebbe471991771b99784 |