Описание
Этот модуль предназначен для парсинга расписания с сайта физфака и загрузки его в базу данных.
Использование
Сперва нужно отредактировать файл .env. Параметр token - токен авторизации в тестовую БД. Затем указать параметры соеднинения (host, database ...) для взятия данных
из таблицы, имитирующей сайт расписания (это временная мера, поскольку летом расписание физфака пусто).
token = "some_token"
host = "localhost"
database = "postgres"
user = "postgres"
password = "postgres"
Далее нужно отредактировать сам скрипт main.py, указав дату начала периода загрузки и конца:
be = datetime.datetime.now()
begin = be.strftime("%m/%d/%Y")
en = datetime.datetime.now() + datetime.timedelta(days=2)
end = en.strftime("%m/%d/%Y")
После этого main.py можно запускать.
Metadata
Release files for profcomff-parse-lib 2025.9.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 |
|---|---|---|---|---|
| profcomff_parse_lib-2025.9.1.tar.gz | 22.0 kB | Without provenance | Details for profcomff_parse_lib-2025.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| profcomff_parse_lib-2025.9.1-py3-none-any.whl | Python 3 | none | any | Details for profcomff_parse_lib-2025.9.1-py3-none-any.whl |
Total release size: 58.1 kB
Release files / profcomff_parse_lib-2025.9.1.tar.gz
| Download URL | profcomff_parse_lib-2025.9.1.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7fc65d08c4f2e1257c94eb7153dad09e62f804a71a70f6ab60b5a47c6ff27bc
|
|
BLAKE2b-256 checksum How to use checksums |
e44090a79b9fb804d8b47adfbdebd57ae33f0107e3e03e41983a200209dee04b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / profcomff_parse_lib-2025.9.1-py3-none-any.whl
| Download URL | profcomff_parse_lib-2025.9.1-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64325f400be2ab15a664f33b0ab8d3646726f50956760697073a902f1ae48e41
|
|
BLAKE2b-256 checksum How to use checksums |
42c700cdf0f80e70b4a26eb2a221af5d53ac0eb5bb4930bf3132bc63596dffca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for profcomff-parse-lib 2025.9.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.