pyaww
An API wrapper around the pythonanywhere's API. The name stands for py
thona
nyw
herew
rapper.
- 100% API coverage
- Most of the codebase is documented & typehinted
- Maintained
Quick-start
# import the module
from pyaww.user import User
# construct the user class
client = User(auth='...', username='...')
for console in client.consoles():
print(console.name)
Please look at the documentations: https://ammarsys.github.io/pyaww-docs/
PyPi: https://pypi.org/project/pyaww
Installation
# Linux/MacOS
python3 -m pip install pyaww
# Windows
py -m pip install pyaww
For the dev version, do:
git clone https://github.com/ammarsys/pyaww
cd pyaww
FAQ
How do I get my accounts API token?
- Head over to https://www.pythonanywhere.com/account/#api_token, and you should be able to find it.
I have an issue, where can I recieve help?
- Please open an issue over here.
Are there any examples?
- Yes! See this directory.
How do I contribute?
- To make a code change, make a fork of this repository, edit it and make a pull request. Make sure to follow PEP8 and document your code.
How to use this module in an async enviorment?
- Look into this library.
Where are the documentations?
- Over here.
How to manually construct a class?
- Import the class (such as pyaww.file) and pass following things File({...}, client). The dots inside the dictionary represent class variables.