{"id":38522186,"url":"https://github.com/drforse/aiocloudpayments","last_synced_at":"2026-01-17T06:42:26.197Z","repository":{"id":48303684,"uuid":"440290072","full_name":"drforse/aiocloudpayments","owner":"drforse","description":"CloudPayments Python Async Library","archived":false,"fork":false,"pushed_at":"2023-11-22T17:14:48.000Z","size":100,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-22T01:26:03.398Z","etag":null,"topics":["asyncio","cloudpayments","python"],"latest_commit_sha":null,"homepage":"","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/drforse.png","metadata":{"files":{"readme":"README.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}},"created_at":"2021-12-20T19:51:49.000Z","updated_at":"2022-07-22T14:01:46.000Z","dependencies_parsed_at":"2022-09-26T17:10:17.382Z","dependency_job_id":null,"html_url":"https://github.com/drforse/aiocloudpayments","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drforse/aiocloudpayments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drforse%2Faiocloudpayments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drforse%2Faiocloudpayments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drforse%2Faiocloudpayments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drforse%2Faiocloudpayments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drforse","download_url":"https://codeload.github.com/drforse/aiocloudpayments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drforse%2Faiocloudpayments/sbom","scorecard":{"id":356131,"data":{"date":"2025-08-11","repo":{"name":"github.com/drforse/aiocloudpayments","commit":"3357e01417e51ea11e1033cfc7ad5ffbff86c4b7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/30 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"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"}}]},"last_synced_at":"2025-08-18T09:39:48.586Z","repository_id":48303684,"created_at":"2025-08-18T09:39:48.586Z","updated_at":"2025-08-18T09:39:48.586Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["asyncio","cloudpayments","python"],"created_at":"2026-01-17T06:42:26.097Z","updated_at":"2026-01-17T06:42:26.183Z","avatar_url":"https://github.com/drforse.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiocloudpayments\nPython Async [CloudPayments](https://developers.cloudpayments.ru/#api) Library\n# Client Basic Usage Example\n```\nfrom datetime import date\n\nfrom aiocloudpayments import AioCpClient\n\n\nasync def main():\n    client = AioCpClient(PUBLIC_ID, API_SECRET)\n\n    await client.test()\n\n    await client.charge_card(\n        amount=10,\n        currency=\"RUB\",\n        invoice_id=\"1234567\",\n        ip_address=\"123.123.123.123\",\n        description=\"Payment for goods in example.com\",\n        account_id=\"user_x\",\n        name=\"CARDHOLDER NAME\",\n        card_cryptogram_packet=\"01492500008719030128SMfLeYdKp5dSQVIiO5l6ZCJiPdel4uDjdFTTz1UnXY+3QaZcNOW8lmXg0H670MclS4lI+qLkujKF4pR5Ri+T/E04Ufq3t5ntMUVLuZ998DLm+OVHV7FxIGR7snckpg47A73v7/y88Q5dxxvVZtDVi0qCcJAiZrgKLyLCqypnMfhjsgCEPF6d4OMzkgNQiynZvKysI2q+xc9cL0+CMmQTUPytnxX52k9qLNZ55cnE8kuLvqSK+TOG7Fz03moGcVvbb9XTg1oTDL4pl9rgkG3XvvTJOwol3JDxL1i6x+VpaRxpLJg0Zd9/9xRJOBMGmwAxo8/xyvGuAj85sxLJL6fA==\",\n        payer=Person(\n            first_name=\"Test\",\n            last_name=\"Test\",\n            middle_name=\"Test\",\n            birth=date(1998, 1, 16),\n            address=\"12A, 123\",\n            street=\"Test Avenue\",\n            city=\"LosTestels, City of Test Angels\",\n            country=\"Testland\",\n            phone=\"+1 111 11 11\",\n            post_code=\"101011010\"\n        )\n    )\n\n    await client.disconnect()\n```\n# AiohttpDispatcher Basic Usage Example\n```\nfrom aiocloudpayments import AiohttpDispatcher, Result\nfrom aiocloudpayments.types import PayNotification, CancelNotification, CheckNotification\n\n\nCERT_FILE = \"cert.pem\"\nCERT_FILE = \"pkey.pem\"\n\n\ndef main():\n    dp = AiohttpDispatcher()\n\n    # router is not needed here, but I am just showing the logic\n    router = Router()\n\n    # register with router\n    @router.cancel(lambda n: 5 \u003e n.amount \u003e 1)\n    async def foo(notification: CancelNotification):\n        print(f\"{notification=}\")\n        # return {\"result\": 0}\n        return Result.OK\n\n    # register with router\n    @router.pay(lambda n: n.amount \u003c= 1)\n    async def foo(notification: PayNotification):\n        print(f\"{notification.amount=}\")\n        # return {\"result\": 0}\n        return Result.OK\n        \n   # register with router\n    @router.check()\n    async def foo(notification: CheckNotification):\n        print(f\"{notification.amount=}\")\n        # return {\"result\": 12}\n        return Result.WRONG_AMOUNT\n\n    # register with dp\n    @dp.cancel(lambda n: n.amount \u003e 5)\n    async def foo(notification: CancelNotification):\n        print(f\"{notification.amount=}, \u003e 5\")\n        # if you don't return anything, Result.OK is assumed\n\n    dp.include_router(router)\n\n    ssl_context = SSLContext()\n    ssl_context.load_cert_chain(CERT_FILE, KEY_FILE)\n\n    dp.run_app(\n        AioCpClient(PUBLIC_ID, API_SECRET),\n        \"/test\",\n        pay_path=\"/pay\",\n        cancel_path=\"/cancel\",\n        ssl_context=ssl_context,\n        check_hmac=False  # disable hmac check, only use in development environments\n    )\n```\n\narchitecture inspired by [aiogram](https://github.com/aiogram/aiogram)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrforse%2Faiocloudpayments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrforse%2Faiocloudpayments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrforse%2Faiocloudpayments/lists"}