Skip to main content

MIT License wakatime

INFO

This library makes it easy to retrieve data from a Mastercom account for Liceo Shientifico A. Righi (Cesena).

All operations are performed using http requests and data scraping using the beautifulsoup4 library. I had to use scraping because Mastercom does not have a full API, so some operations can be a bit slow.

Any operations can be performed with a login and password from Mastercom account.

In some cases you may get false data or a library error because I can take into account all possible scenarios of Mastercom. The data from my account was taken into account during development, but the diary has features that I don't have access to.

If you find a bug and are willing to help improve the project, you can write about it.

Documentation

In progress

Installation

The library is available on PyPi, so you can install it in the standard way:

Windows
  pip install RighiDiary
Ubuntu/macOS
  pip3 install RighiDiary

Example

from RighiDiary import authorize_user
import asyncio

my_password: str = "CoolPassword"
my_login: int = 123456


async def main():
    user = await authorize_user(login=my_login, password=my_password)
    print(user.full_name)
    print(user.agenda[0])

if __name__ == '__main__':
    asyncio.run(main())

Metadata

Release files for RighiDiary 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RighiDiary 1.0
File Size Uploaded Provenance
RighiDiary-1.0.tar.gz 14.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 32.9 kB

Release files / RighiDiary-1.0.tar.gz

Download URL RighiDiary-1.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
20720835664e4a66545fe5ea7bfcd327c79e40f852b6902242a18f7c4467b799
BLAKE2b-256 checksum
How to use checksums
e03d87288e54ef84e790050a185b7e96277fecd520068054f20bfde575c383b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / RighiDiary-1.0-py3-none-any.whl

Download URL RighiDiary-1.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ac443b73b3324a03c367d590c8a562e8047290fd96033eb140b6171e00dcdf0
BLAKE2b-256 checksum
How to use checksums
7f768fb594bfbd9e71e964ceaefd6ef42e1003be5f2f9bcc63bb13fd067e147a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for RighiDiary 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

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