This project is in no way associated with LernSax, WebWeaver, DigiOnline GmbH or Freistaat Sachsen
What is this?
This is an API Wrapper for the LernSax API using aiohttp. Please note that we do not encourage taking any harmful actions against anyone using this wrapper.
Installation
LernSax is available on pip!
pip install lernsax
You can also install directly from the repo via
python -m pip install git+https://github.com/okok7711/lernsax.git
Documentation?
Basic Documentation, generated with pdoc, for this module is available here For Documentation of the actual LernSax jsonrpc API you should probably still stick to this repo
Example Usage
import lernsax
import asyncio
async def main():
client = await lernsax.Client(
email="",
password=""
)
await client.login(client.email, client.password)
print(await client.get_emails("494e424f58"))
asyncio.get_event_loop().run_until_complete(main())
Accessing Files via WebDav
This module has built-in support for WebDav via aiodav
just use the lernsax.Client() class the same as if it was the aiodav.Client().
visit this repo for more info and examples for aiodav
Example (as in the examples dir):
import lernsax
import asyncio
async def main():
client = await lernsax.Client(
email="",
password=""
)
await client.login(client.email, client.password)
dirs = await client.list()
print(dirs)
asyncio.get_event_loop().run_until_complete(main())
Metadata
Release files for lernsax 1.5.3
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 |
|---|---|---|---|---|
| lernsax-1.5.3.tar.gz | 7.6 kB | Without provenance | Details for lernsax-1.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lernsax-1.5.3-py3-none-any.whl | Python 3 | none | any | Details for lernsax-1.5.3-py3-none-any.whl |
Total release size: 15.0 kB
Release files / lernsax-1.5.3.tar.gz
| Download URL | lernsax-1.5.3.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2563fc210cab3e73325caa95301f2d8d552b71486c61bfe7bb9a88a5bea0b57
|
|
BLAKE2b-256 checksum How to use checksums |
bf65af73a2804228b0bd39739de6af7e152410cc7b39ab1ae5be7fa2181dcf14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / lernsax-1.5.3-py3-none-any.whl
| Download URL | lernsax-1.5.3-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90d3854c4f1b444a43549e036164e85e8bf19e066b7cae8b4fadb1b5f052639
|
|
BLAKE2b-256 checksum How to use checksums |
fd8952ef19ae7e7dda4cf45f111db4cc944a433526aafdc211666326f11e3a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for lernsax 1.5.3
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.