aiocvv
An API wrapper for Classeviva written in Python using asyncio.
It's made to be easy to use, and handles rate-limits and caching (using diskcache) as the API has very strict rate-limits.
Teachers' endpoints haven't been implemented yet. If you are a teacher and/or you want to contribute, feel free to open a pull request.
Installation
pip install -U aiocvv
Example usage
import asyncio
from aiocvv import ClassevivaClient
async def main():
client = ClassevivaClient("username", "password")
await client.login() # IMPORTANT! Without this, client.me will be None
print(client.me.name)
if __name__ == "__main__":
asyncio.run(main())
You can also await the client class, so it will automatically login for you.
import asyncio
from aiocvv import ClassevivaClient
async def main():
client = await ClassevivaClient("username", "password")
print(client.me.name)
if __name__ == "__main__":
asyncio.run(main())
A more complex example showing most of what this library can do can be found here.
Documentation
The documentation can be found here.
Metadata
Release files for aiocvv 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 | Provenance | Actions |
|---|---|---|---|---|
| aiocvv-0.1.1.tar.gz | 41.0 kB | Without provenance | Details for aiocvv-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiocvv-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for aiocvv-0.1.1-py3-none-any.whl |
Total release size: 88.9 kB
Release files / aiocvv-0.1.1.tar.gz
| Download URL | aiocvv-0.1.1.tar.gz |
|---|---|
| Size | 41.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49ec332aade743cad44cf81cd4246dad63df66e8c63ab5348b3cb93c08e89d68
|
|
BLAKE2b-256 checksum How to use checksums |
56c61249ad9c8edacc45e9459215d3ebb0667dab6bf20f94c5416304c16bd041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / aiocvv-0.1.1-py3-none-any.whl
| Download URL | aiocvv-0.1.1-py3-none-any.whl |
|---|---|
| Size | 47.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c45c8c5e74647b8e28732c79cb7bb95c7e6c7f1f931a5d25a8319e5e58666adf
|
|
BLAKE2b-256 checksum How to use checksums |
7f84aa7cd16c095927b50620e4c580b8065f9dd46bfeb931347c94103c145ec9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Security for aiocvv 0.1.1
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.