A Python client for Pinwheel's API
Interact with Pinwheel's API in Python
Installation
From PyPi: python -m pip install pynwheel
From GitHub python -m pip install git+https://github.com/nwithan8/pynwheel.git
Usage
Can retrieve data from Pinwheel's API as raw JSON or pydantic objects
Import the pynwheel package to initialize the API
Example:
import pynwheel
api = pynwheel.API(api_type=pynwheel.APIType.PRODUCTION, api_key="thisisanapikey")
Set raw=True to return JSON data, raw=False to return objects.
NOTE: Object creation not supported yet. Will default to JSON responses.
Documentation
Documentation available on ReadTheDocs
Metadata
Release files for pynwheel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pynwheel-0.1.0.tar.gz | 13.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynwheel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.5 kB
Release files / pynwheel-0.1.0.tar.gz
| Download URL | pynwheel-0.1.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4835ea79311004a8280d1bd9b07ff3d3af3207c0ed1fafa3095ede38d283ed7f
|
|
BLAKE2b-256 checksum How to use checksums |
7ac8bdce9eef0d7d97e4a9ed2195f6e7365d111ad67071eb9b0e8bdc006b024d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
|
Release files / pynwheel-0.1.0-py3-none-any.whl
| Download URL | pynwheel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 38.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c949e77c0214e91b74ce3c750e252efbda5bbca15da9eb233a09f3795b876c2
|
|
BLAKE2b-256 checksum How to use checksums |
1074eb33a3ccf8fea2b0bcc0f03af87aac910aafd1971de5dad8786b55e98c8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
|