{"id":23657738,"url":"https://github.com/smok-serwis/coolamqp","last_synced_at":"2025-09-01T09:30:41.096Z","repository":{"id":57417578,"uuid":"59849214","full_name":"smok-serwis/coolamqp","owner":"smok-serwis","description":"Pure Python pretty fast AMQP client with sane reconnects for RabbitMQ 3/4","archived":false,"fork":false,"pushed_at":"2024-12-04T10:24:07.000Z","size":1140,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T17:11:37.976Z","etag":null,"topics":["amqp","amqp-client","amqp0-9-1","consumer","pypi","rabbitmq"],"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/smok-serwis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2016-05-27T16:41:34.000Z","updated_at":"2025-03-17T17:19:23.000Z","dependencies_parsed_at":"2024-11-27T15:00:47.583Z","dependency_job_id":null,"html_url":"https://github.com/smok-serwis/coolamqp","commit_stats":{"total_commits":602,"total_committers":2,"mean_commits":301.0,"dds":"0.0033222591362126463","last_synced_commit":"d57ada0d478bd1ca94743ae341f6819ba85ea253"},"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"purl":"pkg:github/smok-serwis/coolamqp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smok-serwis%2Fcoolamqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smok-serwis%2Fcoolamqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smok-serwis%2Fcoolamqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smok-serwis%2Fcoolamqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smok-serwis","download_url":"https://codeload.github.com/smok-serwis/coolamqp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smok-serwis%2Fcoolamqp/sbom","scorecard":{"id":833703,"data":{"date":"2025-08-11","repo":{"name":"github.com/smok-serwis/coolamqp","commit":"40b6fa26f7ed5108b0f2ed82b03eeb9e6790f947"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"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.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: tests/Dockerfile:3: pin your Docker image by updating python:3.10 to python:3.10@sha256:9d0d4aa7b636f21becf8398f66ef18e932e2cbe8731e3ba26465697c51476197","Warn: pipCommand not pinned by hash: tests/Dockerfile:7-9","Warn: pipCommand not pinned by hash: tests/Dockerfile:7-9","Warn: pipCommand not pinned by hash: tests/Dockerfile:7-9","Warn: pipCommand not pinned by hash: tests/travis_build.sh:6","Warn: downloadThenRun not pinned by hash: tests/travis_test.sh:7","Warn: pipCommand not pinned by hash: tests/travis_test.sh:10","Warn: pipCommand not pinned by hash: tests/travis_test.sh:11","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch 'develop'"],"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2019-130","Warn: Project is vulnerable to: PYSEC-2019-131"],"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-23T18:25:06.620Z","repository_id":57417578,"created_at":"2025-08-23T18:25:06.620Z","updated_at":"2025-08-23T18:25:06.620Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273099831,"owners_count":25045697,"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-01T02:00:09.058Z","response_time":120,"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":["amqp","amqp-client","amqp0-9-1","consumer","pypi","rabbitmq"],"created_at":"2024-12-28T21:57:29.504Z","updated_at":"2025-09-01T09:30:41.085Z","avatar_url":"https://github.com/smok-serwis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"CoolAMQP\n========\n\n**A Python client for RabbitMQ**\n\nWhy CoolAMQP?\n-------------\n* it supports all types of exchanges\n* it works on Python 2 and on Windows\n* tested against all versions of RabbitMQ 3.x and RabbitMQ 4.0\n* AMQP 0.9.1 client that's native Python\n* heavily optimized for speed\n* geared towards interfacing with [RabbitMQ](https://www.rabbitmq.com/)\n  * supports custom RabbitMQ commands, such as\n    * [Connection blocking](https://www.rabbitmq.com/docs/connection-blocked)\n    * [Publisher confirms](https://www.rabbitmq.com/docs/confirms#publisher-confirms)\n    * [Negative Acknowledgements](https://www.rabbitmq.com/docs/nack)\n* traceable using [opentracing](https://opentracing.io/)\n* high coverage\n* tested in production conditions\n* full support for [streams](https://www.rabbitmq.com/docs/streams)\n* 120 second stress tests are part of each release\n\n\n**Warning!!** Since v1.3.1 development has been moved \nfrom [GitHub](https://github.com/smok-serwis/coolamqp) to this [GitLab](https://git.dms-serwis.com.pl/smokserwis/coolamqp).\nTo install the most latest CoolAMQP please use\n\n```bash\npip install --index-url https://git.dms-serwis.com.pl/api/v4/groups/330/-/packages/pypi/simple coolamqp\n```\n\nDocumentation (WIP) is available at [our site](http://smokserwis.docs.smok.co/coolamqp).\n\nCoolAMQP uses [semantic versioning 2.0](https://semver.org/spec/v2.0.0.html).\n\ntl;dr - [this](coolamqp/framing/definitions.py) is **machine-generated** compile-time.\n[this](coolamqp/framing/compilation/content_property.py) **generates classes run-time**,\nand there are memoryviews **_everywhere_**. \n\nThis is borderline absurd.\n\n\nThe project is actively maintained and used in a commercial project. Tests can run\neither on Vagrant (Vagrantfile attached) or Travis CI, and run against RabbitMQ.\n\nCoolAMQP won't touch your messages. It's your bags o'bytes, and your properties.\n\nEnjoy!\n\n_Watch out for memoryviews!_ They're here to stay.\n\n* [Short'n'sweet contributing guide](CONTRIBUTING.md)\n* [Change log for past historical versions](https://github.com/smok-serwis/coolamqp/releases/)\n* [Change log for recent versions, unreleased version](CHANGELOG.md)\n\n\n## Notes\nAssertions are sprinkled throughout the code. You may wish to run with optimizations enabled\nif you need every CPU cycle you can get.\n\nNote that if you define the environment variable of `COOLAMQP_FORCE_SELECT_LISTENER`, \nCoolAMQP will use select-based networking instead of epoll based.\n\n## Current limitations\n\n* channel flow mechanism is not supported (#11)\n* _confirm=True_ is not available if you're not RabbitMQ (#8)\n\n\n## Copyright holder change\n\nSince SMOK sp. z o.o. was incorporated, it inherited all SMOK-related\nIP of previous operator of the service, DMS Serwis s.c., which\ncontinues to operate within it's designated company agreement.\nFrom there stems the copyright holder name change.\n\nAnd because I haven't been paid a penny for this work, I've assumed copyright personally.\n\n## What is here\n\n### [coolamqp](coolamqp/)\n\nThe core module\n\n### [stress_tests](stress_tests/)\n\nA series of stress tests to catch any race conditions\n\n### [tests](tests/)\n\nA series of unit tests that need an AMQP server listening.\n\n### [compile_definitions](compile_definitions/)\n\nA tool to generate [definitions.py](coolamqp/framing/definitions.py) from the AMQP specification \n[XML](https://www.rabbitmq.com/resources/specs/amqp0-9-1.extended.xml).\n\nIn order to compile the definitions:\n\n* Make sure that you have `yapf` and `requests` installed\n* then perform:\n```python\npython -m compile_definitions\n```\n\nand you're all set. The only files modified is\n[definitions.py](coolamqp/framing/definitions.py).\n\n### [docs](docs/)\n\nSources for the documentation, available\n[here](http://smokserwis.docs.smok.co/coolamqp).\n\n## Running unit tests\n\nUnit tests are powered by nose. They require an available AMQP broker.\nIf you host the broker other than localhost, set the env *AMQP_HOST* to correct value.\nThe default username used is guest, and password is guest.\n\nYou can also run unit tests from Docker, if you wish so. To launch the unit test suite:\n\n```bash\ndocker-compose up --build unittest\n```\n\nTo launch the stress test suite\n\n```bash\ndocker-compose up stress_tests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmok-serwis%2Fcoolamqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmok-serwis%2Fcoolamqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmok-serwis%2Fcoolamqp/lists"}