Skip to main content

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="...")
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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onewot-0.4-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

Details for the file onewot-0.4-py3-none-any.whl.

File metadata

  • Download URL: onewot-0.4-py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for onewot-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4cdf9d94d62b19f270def47a68cf1fab8acd44103b7419afa47afab4f03c2fa9
MD5 84e2d323efce98426c80f33cf27c82de
BLAKE2b-256 b5c51f31142db95c47499b900c0f0c0a6c8855568ae06eda353efb0ff29c7bfa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page