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 hashes)

Uploaded Source

Supported by

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