Skip to main content

Python client for Investec Programmable Banking

Project description

Contributors Forks Stargazers Issues MIT License

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:

  1. No runtime dependencies outside of the Python built-in functionality.
  2. A single client interface InvestecOpenApiClient which inherits function definitions for all supported API scopes.
  3. Full support for switching to API sandbox endpoints with a single client parameter use_sandbox.
  4. Additional HTTP headers can be specified to optimize client performance, such as {'Accept-Encoding': 'gzip, deflate, br'}.
  5. Full separation of implementation between API scope implementations for ease of extensions.

(back to top)

Limitations

  1. At the time of writing, API support is limited to the account scope and limited card scope. Pull requests are welcome.
  2. 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.

(back to top)

Setup

Get the package on PyPi.

I recommend the use of Poetry for dependency and runtime management. Follow the instructions on the Poetry site here.

(back to top)

Example Usage

For an example of how this library works, check out this simple sample application.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

Additional well-established Python clients built by the Investec Programmable Banking community:

Investec Open API:

This project benefits from these supporting projects:

(back to top)

Hits

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

investec_api_python-0.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

investec_api_python-0.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file investec_api_python-0.0.1.tar.gz.

File metadata

  • Download URL: investec_api_python-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for investec_api_python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c946c136bbb03fabdbcca21dfbdf4c40da8c007cbd7c8f4b714d20990fd3647f
MD5 6b917d29edbbff559df645d7490ebdff
BLAKE2b-256 7676ba85bd84a9c09187e1db0758b90eee1b31fc348e2b10c4fc2f540866d046

See more details on using hashes here.

File details

Details for the file investec_api_python-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: investec_api_python-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for investec_api_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83a40f13cda26db660f6439913fb566bd77565970cdd13fb862b7f6fc5aa872b
MD5 22863fea2bf9b6de4c386ef2bb9f8154
BLAKE2b-256 0ef74460941268f859eab15ed0f595e091b820282b8c7ba07351cf04c606d735

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page