Skip to main content

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.

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)

Source distribution for aiocvv 0.1.1
File Size Uploaded
aiocvv-0.1.1.tar.gz 41.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiocvv 0.1.1
File Interpreter ABI Platform
aiocvv-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page