Python client library for www.punters.com.au
Project description
This project aims to provide client functionality for the www.punters.com.au web site in Python.
Installation
Prior to using punters_client, the package must be installed in your current Python environment. In most cases, an automated installation via PyPI and pip will suffice, as follows:
pip install punters_client
If you would prefer to gain access to new (unstable) features via a pre-release version of the package, specify the ‘pre’ option when calling pip, as follows:
pip install --pre punters_client
To gain access to bleeding edge developments, the package can be installed from a source distribution. To do so, you will need to clone the git repository and execute the setup.py script from the root directory of the source tree, as follows:
git clone https://github.com/justjasongreen/punters_client.git cd punters_client python setup.py install
If you would prefer to install the package as a symlink to the source distribution (for development purposes), execute the setup.py script with the ‘develop’ option instead, as follows:
python setup.py develop
Basic Usage
To access the functionality described below, you must first import the punters_client package into your Python interpreter, as follows:
>>> import punters_client
Development and Testing
The source distribution includes a test suite based on pytest. To ensure compatibility with all supported versions of Python, it is recommended that the test suite be run via tox.
To install all development and test requirements into your current Python environment, execute the following command from the root directory of the source tree:
pip install -e .[dev,test]
To run the test suite included in the source distribution, execute the tox command from the root directory of the source tree as follows:
tox
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
File details
Details for the file punters_client-1.0.0a0.tar.gz
.
File metadata
- Download URL: punters_client-1.0.0a0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e7ae8a62f81bdf19f90d9653bc1a04491144f5b0dc17e575c81b95a065a87a |
|
MD5 | e2f29dc9dbd0e14642cd9c78667d3a93 |
|
BLAKE2b-256 | 97038b78946f434172bd7f6362caa6536e9c27d2620a0b42108092a49945afe0 |
File details
Details for the file punters_client-1.0.0a0-py2.py3-none-any.whl
.
File metadata
- Download URL: punters_client-1.0.0a0-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a77b936ad540efebfe7d41c086e5bbd445a21deae08d08762e81a7f4f971a2 |
|
MD5 | 5005352546f09b0b49a8da0d7dc9e0a3 |
|
BLAKE2b-256 | 002d0ad6ba2d26c4cc8ae24ef4471ce79cb2faac30b7321e472e7a7582ac5b0a |