growstocks 1.2.1
A wrapper for the GrowStocks API, made for both synchronous and asynchronous applications.
PyPI: https://pypi.org/project/growstocks/
Docs: https://growstocks.readthedocs.io/en/latest/
Installation
You can install released versions of growstocks from the Python Package Index via pip or a similar tool:
Stable Release: pip install growstocks
Working Version: pip install git+https://github.com/BobDotCom/growstocks.git
Usage
>>> import growstocks
>>> client = growstocks.Client(913117854995652992,"T%GRD4iEiFmgyYE!O5&ZCx3Rn%uqwPV3")
>>> client.default_scopes = growstocks.Scopes(profile=True, balance=True, discord=True)
>>> user = client.auth.fetch_user('31G4k57rG3asdyyi5Lqk')
>>> dict(user)
{'discord_id': '690420846774321221',
'id': 1916,
'name': 'BobDotCom',
'email': None,
'growid': 'Bob430',
'balance': 3}
Using Async
To use in an async context, just use import growstocks.aio as growstocks as your import and make sure to await the functions marked as coroutines.
import growstocks.aio as growstocks
Metadata
Release files for growstocks 1.2.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 |
|---|---|---|---|---|
| growstocks-1.2.1.tar.gz | 10.9 kB | Without provenance | Details for growstocks-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| growstocks-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for growstocks-1.2.1-py3-none-any.whl |
Total release size: 31.5 kB
Release files / growstocks-1.2.1.tar.gz
| Download URL | growstocks-1.2.1.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df8ff6170f1cacc19ab1eaa055392f89e9b50ae8ead7095478a1770b4d242254
|
|
BLAKE2b-256 checksum How to use checksums |
dcbbe5536de329f6779968c893e53863c2d99ff5ec44bd331f3a7db5a2834899
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / growstocks-1.2.1-py3-none-any.whl
| Download URL | growstocks-1.2.1-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb3739f321f98cb4e1562e6239e4878ecfe6b430a482c6369086f637cea1391a
|
|
BLAKE2b-256 checksum How to use checksums |
5ed89cd4cc06e93424b01a7f657680b5bd443ea9406acf0ee8606e7e53e60db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for growstocks 1.2.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.