The WotBlitz API wrapper for Python3
Project description
Onewot
An opinionated, static typed WotBlitz API wrapper for Python3.
Python >=3.6 are currently supported.
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
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))
Documentation
Coming soon...
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onewot-0.5-py3-none-any.whl.
File metadata
- Download URL: onewot-0.5-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5acaaa0537573cddec1c91678fb7f4143aea3bf33b3020679d936fa8432ef418
|
|
| MD5 |
2deefa1e0addb45982ab9209187ab039
|
|
| BLAKE2b-256 |
af725f72b063fc5d6f072d3eba51aacaf6dc8fa8e503ca1a9a636c2349252541
|