Metadata-Version: 2.1
Name: onewot
Version: 0.6.2
Summary: The WotBlitz API wrapper for Python3
Home-page: https://github.com/CrispCrow/Onewot
Author: CrispCrow
Author-email: minikslyh@gmail.com
License: MIT
Project-URL: Source (GitHub), https://github.com/CrispCrow/Onewot
Project-URL: Issue Tracker, https://github.com/CrispCrow/Onewot/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests-futures (~=1.0.0)
Requires-Dist: attrs (~=21.4.0)

<h1 align="center">Onewot</h1>
<p>
An opinionated, static typed WotBlitz API wrapper for Python3.

Python >=3.6 are currently supported.

Documentation: [View Here](https://onewot.readthedocs.io/en/latest/)
</p>

## Installation
Install Onewot from PyPi with the following command:

```bash
python -m pip install -U onewot
# Windows users may need to use this instead...
py -3 -m pip install -U onewot
```

----

## Updating

```bash
pip install --upgrade onewot
```

----

## Start up client

```py
import onewot

client = onewot.WOTBClient(application='...')
```

----

## Example

```py
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.

