python-educabiz
API client to interact with educabiz.com portals.
Install
pip install educabiz
Usage
Using multiple schools
Educabiz does not provide a way to choose the school during login, matching the behavior of the Educabiz mobile app.
The portal redirects to the right school based on the unique email/password combination, so when using multiple schools with the same email address, use the password associated with the intended school. If the same password is currently used for multiple schools, log in to the first school that opens and change the password there.
The old password will then redirect to the other school.
Example
from educabiz.client import Client
eb_client = Client(username, password, login_if_required=True)
data = eb_client.home()
print(f'School: {data["schoolname"]}')
children = eb_client.school_qrcodeinfo()['child']
for child in children.values():
child_id = child['id']
home_data = data['children'][child_id]
print(f'{child_id}:')
print(f'* Name: {html.unescape(child["name"])}')
print(f'* Photo URL: {home_data["photo"]}')
presence = child['presence'][0]
if presence['id'] == 'undefined':
presence_str = '(none)'
elif presence['absent']:
presence_str = f'absent ({presence["notes"]})'
elif presence['hourOut'] == '--:--':
presence_str = f'checked in at {presence["hourIn"]}'
else:
presence_str = f'checked in at {presence["hourIn"]} and out at {presence["hourOut"]}'
print(f'* Presence: {presence_str}')
Build
Check out CONTRIBUTING.md
Metadata
Release files for educabiz 0.0.7
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 |
|---|---|---|---|---|
| educabiz-0.0.7.tar.gz | 6.5 kB | Without provenance | Details for educabiz-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| educabiz-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for educabiz-0.0.7-py3-none-any.whl |
Total release size: 13.3 kB
Release files / educabiz-0.0.7.tar.gz
| Download URL | educabiz-0.0.7.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4342c55cce084f66262d0af0eb59cdb481301a176d814bb94c06832cc0776722
|
|
BLAKE2b-256 checksum How to use checksums |
103e5746b45b763a9d5f9e36c2a38aee1138dc7e68f8917022897a0758494e27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / educabiz-0.0.7-py3-none-any.whl
| Download URL | educabiz-0.0.7-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9e00e8a988c387be8fe1ad41fb8827024d14f7c327de499b7557e474f5b9c59
|
|
BLAKE2b-256 checksum How to use checksums |
125d10a4bb6adac035b851223d23e8376d03a2b73a23c3c4162691dc09175dbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Security for educabiz 0.0.7
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.