GWO (Python)
Reverse-enginered GWO api wrapper for Python
GWO (Python) is an api wrapper for GWO (Website) that allows you to programmatically extract excercises from the users accesses, modify and view user info, and anwser exercises all in a simple to use package
📱 Ultra compatible
Due to its simple nature GWO (Python) is compatible with almost every platform*
đź§¶ Niche but usefull
- Stuck on an exercise? Code up a tool to show you the anwser.
- Training an ai? Extract all exercises and their anwsers to train a model capable of solving the exercises.
- I have honestly no idea for what else you might wanna use this for, its very niche i said.
Example of a script using GWO
Below is a simple script, using user input to log in and print out user info:
from GWO import GWOApi, User, LoginException, FetchException
from typing import Optional
import asyncio
async def login(username: str, password: str) -> Optional[User]:
if not (username and password):
return None
try:
client: GWOApi = await GWOApi.login(username, password)
return client.user
except (LoginException, FetchException):
return None
async def main():
print("Welcome to GWO!\nLogin with your GWO account")
while True:
username: str = input("Username: ")
password: str = input("Password: ")
if not (username and password):
print("Username or password cannot be empty!"); continue
user: Optional[User] = await login(username, password)
if not user:
print("Invalid username or password!"); continue
print(f"Hello, {user.firstName}!"); break
asyncio.run(main())
To run the script, install GWO:
pip install GWO
We use analytics but don't worry, they're anonymous (and you can disable them (refer to docstrings))
Metadata
Release files for gwo 0.1.9
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 |
|---|---|---|---|---|
| gwo-0.1.9.tar.gz | 21.6 kB | Without provenance | Details for gwo-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gwo-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for gwo-0.1.9-py3-none-any.whl |
Total release size: 43.2 kB
Release files / gwo-0.1.9.tar.gz
| Download URL | gwo-0.1.9.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf62e8150dae697871b6d6cefa71a5ea1a75151076cbd63b8ca315052823f21b
|
|
BLAKE2b-256 checksum How to use checksums |
9b36410c4c65218cdce24ae1d34f1a7fae619cc66a4deb8e802a548f76be7126
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / gwo-0.1.9-py3-none-any.whl
| Download URL | gwo-0.1.9-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef3b0f10b26dca065fb96a92e954b4b5ce6979527816b1c0dbb4d8ab73e781ee
|
|
BLAKE2b-256 checksum How to use checksums |
3f06e61375f78b6808b0bc5e03bb5fef725a8174867e49610c7ea84c8df8bec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for gwo 0.1.9
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.