{"id":16098805,"url":"https://github.com/aladser/bank_transactions","last_synced_at":"2026-04-15T16:32:08.619Z","repository":{"id":226341995,"uuid":"768441936","full_name":"Aladser/bank_transactions","owner":"Aladser","description":"виджет \"Операции по счетам\"","archived":false,"fork":false,"pushed_at":"2024-04-23T01:45:31.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T22:37:34.370Z","etag":null,"topics":["json","sorted","unittest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aladser.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-07T04:56:44.000Z","updated_at":"2024-06-04T21:29:15.000Z","dependencies_parsed_at":"2024-10-31T13:41:10.914Z","dependency_job_id":"168a5ef1-4bdf-46f3-94a5-394dba586e84","html_url":"https://github.com/Aladser/bank_transactions","commit_stats":null,"previous_names":["aladser/account_transactions","aladser/bank_transactions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aladser/bank_transactions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aladser%2Fbank_transactions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aladser%2Fbank_transactions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aladser%2Fbank_transactions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aladser%2Fbank_transactions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aladser","download_url":"https://codeload.github.com/Aladser/bank_transactions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aladser%2Fbank_transactions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","sorted","unittest"],"created_at":"2024-10-09T18:24:45.340Z","updated_at":"2026-04-15T16:32:08.602Z","avatar_url":"https://github.com/Aladser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Код для виджета «Операции по счетам»\n\n``BankAccount`` - класс, который отвечает за получение денежных операций\n\nДля получения необходимых данных выполнены следующие шаги:\n+ фильтрация строк JSON-файла наличием ключа ``state='EXECUTED'``\nс помощью метода ``BankAccount.get_executed_transactions()``\n+ полученный массив строк сортируется по ключу времени по убыванию\n+ выводятся 5 последних по времени операций при помощи метода \n``BankAccount.get_last_executed_transactions()``\n\nТесты выполняются для ``pytest`` и ``unittest``. Основными тестами являются ``unittest``.\nДля тестов используется урезанный массив данных *test_operations.json*\n\n###  Тестирование покрытия тестами\n``pytest --cov=src --cov-report=html``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faladser%2Fbank_transactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faladser%2Fbank_transactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faladser%2Fbank_transactions/lists"}