Code Monkey home page Code Monkey logo

dnevnikru's Introduction

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: [email protected]

LICENSE

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

dnevnikru's People

Contributors

paracosm17 avatar rodion-gudz avatar stepanskryabin avatar vypivshiy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dnevnikru's Issues

не проходит авторизация

не проходит авторизация
HTTPSConnectionPool(host='login.%d0%b4%d0%bd%d0%b5%d0%b2%d0%bd%d0%b8%d0%ba.%d1%80%d1%84', port=443): Max retries exceeded with url: /login/token?token=e6%2FHeWIzcpm91bCz8MupmxgVZtkUIR%2FWtJ1lfD6y0gYVsHsSX4P7ZuaNivmBnRzMMYLPr3UOyROFbNmv9kzRLy0RzjKpix8nBeG4RYRhv5rcMl%2BokFAQjFYVIwoZb8uihcVosJpsh2AToaUaa8IKyVs01PxAHdlx8ZnpzJqG91n80SgHPdBy69f%2B3jjgRM3TnqllgEyuesSVR6zNJpOZNI%2BtJX67zp6oMDaR4dvGbP7R28ECPJJq%2Bzl3s%2FCDnbJ6fQMyLH5fO9t0jGbih1XYHH%2BJ0JI%3D&returnUrl=https%3A%2F%2F%D0%B4%D0%BD%D0%B5%D0%B2%D0%BD%D0%B8%D0%BA.%D1%80%D1%84%2F (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb08bfa3220>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.