Skip to main content

Beta Open Bank Project Python Utilities

Project description

Python Utilities to make working with Open Bank Project api easier

  • uses python3

Install

pip install obp-python # Requires at least python 3

If your operating system defaults to python two, you might need to run pip3 install obp-python # Requires at least python 3

Run

e.g.

obp # Displays available commands
obp init # initalise against an open bank project instance
obp addrole --role-name CanCreateSandbox
obp sandboximport --example Import a very small sample dataset

Other Utilities

Prefix all these commands with obp:

  • getauth : Get a direct login token
  • addrole : Add a role to your user (only if super user)
  • getuser : Get your user info
  • getuserid: Get yur user id only
  • sandboximport --example : import ver small sample dataset
  • sandboximport --input example.json : import own dataset (must be obp format)

Development / Contributing

Note You can ignore this is your just using the utlity. This is just for developing the utlity.

To work on this utility as a developer:

Building
# Setup python3 environment
virtualenv -p python3 venv
. venv/bin/activate
git clone <this-repo>
# Building wheels etc
python setup.py sdist bdist_wheel
# Installing your edits locally:
pip install -e <path-to-this-repo> # -e means Install  a  project  in editable mode (i.e.  setuptools "developmode")
# Work on utility..submit pull request 

Update history
  • 0.19 Added sandboximport utility obp sandboximport --example
  • 0.0.9 Switch to use OBP_API_HOST instead of OBP_ENDPOINT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

obp_python-0.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file obp_python-0.2-py3-none-any.whl.

File metadata

  • Download URL: obp_python-0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for obp_python-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c677668cec1eb5e365689b2e99c406bbf697b2dac5ba22f47e07962d10f4e507
MD5 f1eba312d31b8672e63608278c8bc0d8
BLAKE2b-256 ffadaaa0edfaa0a18c6f13a43f641ab3f646eb9566182bc4afab464c088c0860

See more details on using hashes here.

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