Onewot
An opinionated, static typed WotBlitz API wrapper for Python3.
Python >=3.8 are currently supported.
Documentation: View Here
Installation
Install Onewot from PyPi with the following command:
python -m pip install -U onewot
# Windows users may need to use this instead...
py -3 -m pip install -U onewot
Updating
pip install --upgrade onewot
Start up client
import onewot
client = onewot.WOTBClient(application='...')
Example
import onewot
client = onewot.WOTBClient(application='...', language=onewot.Language.ENGLISH)
print(client.fetch_user(152870490))
Python optimization flags
CPython provides two optimisation flags that remove internal safety checks that are useful for development, and change other internal settings in the interpreter.
- python main.py - no optimisation - this is the default.
- python -O main.py - first level optimisation - features such as internal assertions will be disabled.
- python -OO main.py - second level optimisation - more features (including all docstrings) will be removed from the loaded code at runtime.
A minimum of first level of optimizations is recommended when running applications in a production environment.
Metadata
Release files for onewot 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onewot-0.6.3-py3-none-any.whl | Python 3 | none | any | Details for onewot-0.6.3-py3-none-any.whl |
Release files / onewot-0.6.3-py3-none-any.whl
| Download URL | onewot-0.6.3-py3-none-any.whl |
|---|---|
| Size | 36.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f4756a048a41224af6268c89eac34be94487eb9be56cfbcdce96c94b454b0ee
|
|
BLAKE2b-256 checksum How to use checksums |
c9ba5239bb76bbd7543c84eef733366708a89daf2a2be9ad8336cbc7a485f9d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|
Security for onewot 0.6.3
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.