Skip to main content

Python client for Investec Programmable Banking

Reason this release was yanked:

Inaccurate readme.

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.
  3. This library is not yet published to the Python Package Index (PyPi).

(back to top)

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.

(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.1.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

investec_api_python-0.1.0-py3-none-any.whl (7.2 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