{"id":13400808,"url":"https://github.com/mahenzon/aioalice","last_synced_at":"2025-09-22T15:03:01.434Z","repository":{"id":32867289,"uuid":"140445941","full_name":"mahenzon/aioalice","owner":"mahenzon","description":"Asynchronous library for Yandex Dialogs (Alice) API","archived":false,"fork":false,"pushed_at":"2023-02-23T17:00:11.000Z","size":175,"stargazers_count":92,"open_issues_count":4,"forks_count":26,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-04T21:53:00.976Z","etag":null,"topics":["asyncio","bot","dialogs","yandex","yandex-dialogs"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahenzon.png","metadata":{"files":{"readme":"README-PyPI.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-07-10T14:39:02.000Z","updated_at":"2025-07-25T08:38:31.000Z","dependencies_parsed_at":"2024-04-02T10:14:15.488Z","dependency_job_id":"fe2ec79d-39f2-4ec9-9aa8-a2cff7455bc6","html_url":"https://github.com/mahenzon/aioalice","commit_stats":{"total_commits":160,"total_committers":6,"mean_commits":"26.666666666666668","dds":"0.050000000000000044","last_synced_commit":"e66615138bf6ae4883154de7fe19a9f8c8c065bc"},"previous_names":["surik00/aioalice"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/mahenzon/aioalice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahenzon%2Faioalice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahenzon%2Faioalice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahenzon%2Faioalice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahenzon%2Faioalice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahenzon","download_url":"https://codeload.github.com/mahenzon/aioalice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahenzon%2Faioalice/sbom","scorecard":{"id":612305,"data":{"date":"2025-08-11","repo":{"name":"github.com/mahenzon/aioalice","commit":"e66615138bf6ae4883154de7fe19a9f8c8c065bc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish_to_pypi.yml:1","Warn: no topLevel permission defined: .github/workflows/run_tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish_to_pypi.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/mahenzon/aioalice/publish_to_pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish_to_pypi.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mahenzon/aioalice/publish_to_pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mahenzon/aioalice/run_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/run_tests.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mahenzon/aioalice/run_tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish_to_pypi.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/publish_to_pypi.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/run_tests.yml:34","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: PYSEC-2024-24 / GHSA-5h86-8mv2-jq9f","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T02:56:38.241Z","repository_id":32867289,"created_at":"2025-08-21T02:56:38.241Z","updated_at":"2025-08-21T02:56:38.241Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276422172,"owners_count":25639633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asyncio","bot","dialogs","yandex","yandex-dialogs"],"created_at":"2024-07-30T19:00:55.706Z","updated_at":"2025-09-22T15:03:01.242Z","avatar_url":"https://github.com/mahenzon.png","language":"Python","funding_links":[],"categories":["Разработка"],"sub_categories":["SDK"],"readme":"# aioAlice\n\n## AsyncIO library for Yandex Alice (Yandex Dialogs) \n\n\n## Why?\n- Work with classes, don't bother parsing JSON\n- Auto answer to webhook even if you were not fast enough to create answer - there won't be a server error, but you'll get a log\n\u003e Auto response will not help if you are not using async IO. So consider not to use any long processing synchronous tasks inside handlers\n- Handy handlers to match incoming commands\n- Finite-State Machine\n- Easy images upload, easy answers generation\n\n\n### Installation\n\n```bash\n# make sure you use virtual env and python 3.6+:\npython3.6 -m venv aliceenv\nsource ./aliceenv/bin/activate\n\npip install pip -U\npip install setuptools -U\npip install uvloop  # uvloop if you want\n\npip install aioalice -U\n# Or install from GitHub:\n# pip install git+https://github.com/surik00/aioalice.git -U\n\n# or if you don't have git installed:\n# 1. download ZIP\n# 2. unarchive and go to dir\n# 3. run:\npython setup.py install\n```\n\n\n### Quick start\n\n[Hello alice](https://github.com/surik00/aioalice/blob/master/examples/hello-alice.py)\n\n```python\ndp = Dispatcher()\n\n@dp.request_handler()\nasync def handle_all_requests(alice_request):\n    return alice_request.response('Hello world!')\n```\n\n\n### Cards\n\n- [All examples](https://github.com/surik00/aioalice/blob/master/examples/README-en.md)\n\n- [Upload image example](https://github.com/surik00/aioalice/blob/master/examples/upload_image.py)\n- [Big Image Card example](https://github.com/surik00/aioalice/blob/master/examples/card_big_image.py)\n- [Items List Card example](https://github.com/surik00/aioalice/blob/master/examples/card_items_list.py)\n\n\n### JSON serializing\n\nIf you want to use a faster json library, install [rapidjson](https://github.com/python-rapidjson/python-rapidjson) or [ujson](https://github.com/esnme/ultrajson), it will be detected and used automatically\n\n___\n\n### Skills using aioAlice\n\n* [The Erundopel game](https://github.com/Goodsmileduck/erundopel)\n\n\n___\n\n### Testing and deployment\n\n\nIn all examples the next configuration is used:\n\n```python\nWEBHOOK_URL_PATH = '/my-alice-webhook/'  # webhook endpoint\n\nWEBAPP_HOST = 'localhost'  # running on local machine\nWEBAPP_PORT = 3001  # we can use any port that is not use by other apps\n```\n\nFor testing purposes you can use [ngrok](https://ngrok.com/), so set webhook to `https://1a2b3c4d5e.ngrok.io/my-alice-webhook/` (endpoint has to be `WEBHOOK_URL_PATH`, because WebApp expects to get updates only there), post has to be `WEBAPP_PORT` (in this example it is 3001)\n\n\nFor production you can use Nginx, then edit Nginx configuration and add these lines inside the `server` block:\n\n```\nlocation /my-alice-webhook/ {  # WEBHOOK_URL_PATH\n    proxy_pass         http://127.0.0.1:3001/;  # addr to reach WebApp, in this case it is localhost and port is 3001\n    proxy_redirect     off;\n    proxy_set_header   Host $host;\n    proxy_set_header   X-Real-IP $remote_addr;\n    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header   X-Forwarded-Host $server_name;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahenzon%2Faioalice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahenzon%2Faioalice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahenzon%2Faioalice/lists"}