Skip to main content

Simple parser of Sberbank, using selenium

Project description



It's simple parser of Sberbank, using selenium (firefox geckodriver), where you can see your account currency and transactions for some period.

Getting Started


Python 3.6+


The quick way:

pip install py-parse-sber

Desired way:

python3 -m venv venv
source venv/bin/activate
pip install py-parse-sber


Install geckodriver

Download geckodriver and unzip it Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin.

Failure to observe this step will give you an error selenium.common.exceptions.WebDriverException: Message: ‘geckodriver’ executable needs to be in PATH.

Run receiving web server

Py_parse_sber will send parsed info to web server. See contracts detail in contracts.yml, which your web server will have to implement for accepting data correct. (for standard was taken project BudgetTracker and his api)

Requirement environment variables

LOGIN  # your sberbank account login
PASSWORD # your sberbank account password
SERVER_URL # main URL where the data will be sent. Example: localhost (or service name in docker-compose.yml)
SEND_ACCOUNT_URL # url 'path' part, where account information will be sent. Example: /send_account
SEND_PAYMENT_URL # url 'path' part, where transaction information will be sent. Example: /send_payment

Optional environment variables

SERVER_SCHEME # Scheme of SERVER_URL, http/https. Default http
SERVER_PORT # Port of SERVER_URL. Default 80
DAYS # period in days to indicate parser restart. Can be used with HOURS.
HOURS # period in hours to indicate parser restart. Can be used with DAYS.

If any of their not set - used 1 day by default


py_parser_sber_run_once # for one-time launch
# or
py_parser_sber_run_infinite # for run in loop with a given period



This project is licensed under the MIT License - see the file for details

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

py_parser_sber-0.0.10.tar.gz (10.3 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