Bancard VPOS 1.0 - Bancard Python Connector 0.5.4 library
Getting Started
This library allows developers to integrate their Python backend applications to the Bancard VPOS API.
This library works with the following Python versions: 2.6, 2.7, 3.3, 3.4, 3.5, 3.6
Prerequisites
See the requirements.txt file to see which Python libraries will be required.
Usage in Staging or Production
You can either include this library from:
https://github.com/vcajes/bancard-connector-python
Or install the library from the PYPI repository:
pip3 install bancardconnectorpython
Usage in development
Downlaod and install Python (2.6 <= version <= 3.6).
Run pip install bancardpythonconnector.
Import and use library in your source code: import bancardconnectorpython.
This will autoconfigure the connector from the following OS environment variables:
BANCARD_ENVIRONMENT=sandbox|production
BANCARD_PUBLIC_KEY=your_public_key
BANCARD_PRIVATE_KEY=your_private_key
bancard_api = bancardconnectorpython.connector()
or you could just create your own BancardAPI
bancard_api = bancardconnectorpython.BancardAPI(environment=bancardconnectorpython.ENVIRONMENT_SANDBOX, public_key=your_public_key, private_key=your_private_key)
Running tests
Download and install Python (2.6 <= version <= 3.6)
Install the library from PYPI: pip install bancardconnectorpython
Set the following two OS environment variables BANCARD_PUBLIC_KEY and BANCARD_PRIVATE_KEY with the values provided by Bancard.
Run any of the tests, i.e.: python /path/to/tests/test_bancard_single_buy.py
Versioning
For the versions available, see the tags on this repository
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for bancardconnectorpython 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bancardconnectorpython-0.5.5.tar.gz | 12.4 kB | Without provenance | Details for bancardconnectorpython-0.5.5.tar.gz |
Release files / bancardconnectorpython-0.5.5.tar.gz
| Download URL | bancardconnectorpython-0.5.5.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08c925cbb92a4018aa6334c6a916240d9c6512c99ea92b1d25605390072867f6
|
|
BLAKE2b-256 checksum How to use checksums |
33fee71bd5f95298a9c397b28a401c4d1cda94122660856d104bcf9c96c86a00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bancardconnectorpython 0.5.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.