pyspapi
API wrapper for SP servers written in Python.
Installation
Requires Python 3.12 or higher
Windows
pip install pyspapi
Linux/macOS
pip3 install pyspapi
Quick example
Checking the balance
from pyspapi import SPAPI
from asyncio import get_event_loop
spapi = SPAPI(card_id='CARD_ID', token='TOKEN')
async def main():
print(await spapi.balance)
loop = get_event_loop()
loop.run_until_complete(main())
More examples can be found in the examples
Links
Metadata
Release files for pyspapi 3.4.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 | Provenance | Actions |
|---|---|---|---|---|
| pyspapi-3.4.0.tar.gz | 10.5 kB | Without provenance | Details for pyspapi-3.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyspapi-3.4.0-py3-none-any.whl | Python 3 | none | any | Details for pyspapi-3.4.0-py3-none-any.whl |
Total release size: 23.1 kB
Release files / pyspapi-3.4.0.tar.gz
| Download URL | pyspapi-3.4.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
329b2123412cc43713f2a310606a6daf6c0f05547dd554d650cf1cf63ad1f9fb
|
|
BLAKE2b-256 checksum How to use checksums |
52ed7075766b092bd42ad8d82f79bf8c3974293daa1a2879ee1bdcde75ee3df0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pyspapi-3.4.0-py3-none-any.whl
| Download URL | pyspapi-3.4.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d21e4e8e2752c53567b075d93626f4370ae492c151edad4dd2e956a29fca678a
|
|
BLAKE2b-256 checksum How to use checksums |
79ff017ff41840057eece4a83a8d754714a0ba158f2f17baef680fb7bdae43fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for pyspapi 3.4.0
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.