Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
/ avangard-sync Public archive

Avangard.ru payments export.

License

Notifications You must be signed in to change notification settings

esemi/avangard-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avangard bank payments export.

tests

Pre-requirements

Local setup

$ git clone git@github.com:esemi/avangard-sync.git
$ cd avangard-sync
$ python3.10 -m venv venv
$ source venv/bin/activate
$ pip install -U poetry pip setuptools
$ poetry config virtualenvs.create false --local
$ poetry install
$ playwright install chromium

Create env file to override default config

cat > .env << EOF
throttling_time=30.0
debug=true
avangard_login=''
avangard_password=''
EOF

Run tests

$ pytest --cov=app

Run linters

$ poetry run mypy app/
$ poetry run flake8 app/

Run background task

python -m app.sync_tool