classcharts.py
An unofficial API wrapper for the ClassCharts homework and student API. It is work-in-progress.
Examples
Examples are using the asyncio REPL.
>>> import asyncio
>>> import datetime
>>> import classcharts
>>> hc = classcharts.HomeworkClient("Your_School_Here")
>>> await hc.request(datetime.datetime.now(), 7)
[<Homework ...>, <Homework ...>]
>>> import asyncio
>>> import datetime
>>> import classcharts
>>> sc = classcharts.StudentClient("MYC0D3", datetime.datetime(year=1970, month=1, day=1))
>>> await sc.detentions()
[<Detention ...>, <Detention ...>]
Requirements
aiohttpbeautifulsoup4lxml
Install
$ python -m pip install -U classcharts.py
Release files for classcharts.py 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| classcharts.py-0.1.1.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| classcharts.py-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / classcharts.py-0.1.1.tar.gz
| Download URL | classcharts.py-0.1.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5486d23fce235aab03d4e304457cd69a71283868c94897b3713bc80bf79948ec
|
|
BLAKE2b-256 checksum How to use checksums |
45c34987d9d484aece9af737490eb5c317893164c5bc843cc9d4a1b86932bb80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / classcharts.py-0.1.1-py3-none-any.whl
| Download URL | classcharts.py-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a31671287c7df5a793188f186dfe6fede4a08de184f2f715418da4964cb1a2b
|
|
BLAKE2b-256 checksum How to use checksums |
2b1e85c1a506c02d1c39807c99bd58c777fefafc2811d8903995b49df63c8482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|