GamesAPIClient
.. image:: https://travis-ci.com/simplworld/simpl-client.svg?token=cyqpBgqLC1o8qUptfcpE&branch=master :target: https://travis-ci.com/simplworld/simpl-client
Python clients for accessing simpl-games-api either asynchronously or synchronously
Usage
To asynchronously access simpl-games-api use::
from simpl_client.asyn import GamesAPIClient
asyn_games_client = GamesAPIClient(url=SIMPL_GAMES_URL, auth=SIMPL_GAMES_AUTH)
for backwards compatibility, the default is asynchronous access::
from simpl_client import GamesAPIClient
asyn_games_client = GamesAPIClient(url=SIMPL_GAMES_URL, auth=SIMPL_GAMES_AUTH)
See simpl_client/async/games_client.py for asynchronous endpoints
To synchronously access simpl-games-api use::
from simpl_client.syn import GamesAPIClient
syn_games_client = GamesAPIClient(url=SIMPL_GAMES_URL, auth=SIMPL_GAMES_AUTH)
See simpl_client/syn/games_client.py for synchronous endpoints
Installation
::
pip install simpl-client
Setup development environment
::
git clone git@github.com:simplworld/simpl-client.git
cd simpl-client
mkvirtualenv simpl-client
pip install -e .
Testing
::
python setup.py test
Running the tests requires having libmagic installed.
On OS X, simply run brew install libmagic.
License
Copyright © 2018 The Wharton School, The University of Pennsylvania
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Metadata
Release files for simpl-client 0.8.1
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 |
|---|---|---|---|---|
| simpl_client-0.8.1.tar.gz | 6.5 kB | Without provenance | Details for simpl_client-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simpl_client-0.8.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for simpl_client-0.8.1-py2.py3-none-any.whl |
Total release size: 22.9 kB
Release files / simpl_client-0.8.1.tar.gz
| Download URL | simpl_client-0.8.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58f8c64064aaa6d5697d731f117a0d88c19f4c1df81094289a6774d430b691d4
|
|
BLAKE2b-256 checksum How to use checksums |
7e793d2dbfb2e71e322fdb1fdfefa75be449b70704a83e13cc5d5d856280d972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.4.2 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / simpl_client-0.8.1-py2.py3-none-any.whl
| Download URL | simpl_client-0.8.1-py2.py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4c8b327112837acb9565277249fda764bb8fac4c6a8032b9353140a2fd0c2b98
|
|
BLAKE2b-256 checksum How to use checksums |
ce5647312c54702e52e4ae56374c580b5b951ae47bcdaeae604f7ecd6190c812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.4.2 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for simpl-client 0.8.1
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.