Skip to main content

dnevnik.ru parser

Project description

PyPI Python Versions

dnevnikru

Module for working with the site dnevnik.ru with python

Dnevnik object accepts login and password from the dnevnik.ru account
Methods: homework, marks, searchpeople, birthdays, week

Read the full functionality of the module here: Wiki

(Doesn't work in regions where you can enter the Diary only through GosUslugi !)

Installation

Windows:

Run the command in the terminal:

pip install dnevnikru

Examples of use

from dnevnikru import Dnevnik

dairy = Dnevnik(login='Your login', password='Your password')

homework = dairy.homework(studyyear=2020, datefrom='01.12.2020', dateto='30.12.2020')
marks = dairy.marks(index=0, period=1)
class_11b = dairy.searchpeople(grade='11B')
birthdays = dairy.birthdays(day=9, month=5)
schedule = dairy.week(info="schedule", weeks=-1)

For more examples of uses and parameters in methods, see Wiki.

Requires

The module requires requests, lxml, bs4 libraries

Releases

  • 1.0

Contact

Aleksandr – tg: @paracosm17 – email: paracosm17@aol.com

LICENSE

Distributed under the Apache License 2.0 license. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dnevnikru-1.3.3.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file dnevnikru-1.3.3.tar.gz.

File metadata

  • Download URL: dnevnikru-1.3.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for dnevnikru-1.3.3.tar.gz
Algorithm Hash digest
SHA256 6ddf4e83a419246d59f7f2ffab75e52ef5388585ed31cc2270ce269f39141366
MD5 872c84c57630b3d695370a9ea8ed86d7
BLAKE2b-256 2a3d7e63ac4908f415fcaa84b16a5e645686143f805362a754be89cec3aecd04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page