{"id":37064597,"url":"https://github.com/quintoandar/kafka-python","last_synced_at":"2026-01-14T07:33:02.351Z","repository":{"id":57459511,"uuid":"138354592","full_name":"quintoandar/kafka-python","owner":"quintoandar","description":"QuintoAndar's kafka-python lib wrapper with additional fuctionalities.","archived":false,"fork":false,"pushed_at":"2024-03-20T15:45:48.000Z","size":51,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":245,"default_branch":"master","last_synced_at":"2025-09-22T01:46:55.516Z","etag":null,"topics":["idempotency","kafka","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/quintoandar.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":"2018-06-22T22:49:58.000Z","updated_at":"2020-05-04T19:09:54.000Z","dependencies_parsed_at":"2022-09-13T16:02:36.346Z","dependency_job_id":null,"html_url":"https://github.com/quintoandar/kafka-python","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/quintoandar/kafka-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintoandar%2Fkafka-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintoandar%2Fkafka-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintoandar%2Fkafka-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintoandar%2Fkafka-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quintoandar","download_url":"https://codeload.github.com/quintoandar/kafka-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintoandar%2Fkafka-python/sbom","scorecard":{"id":756050,"data":{"date":"2025-08-11","repo":{"name":"github.com/quintoandar/kafka-python","commit":"5efdea16af6a65efa5e818af01630fb304397174"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":6,"reason":"Found 6/9 approved changesets -- score normalized to 6","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":4,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Info: 'stale review dismissal' is required to merge on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is required - but no codeowners file found in repo","Warn: 'last push approval' is disabled on branch 'master'","Warn: 'up-to-date branches' is disabled on branch 'master'","Info: status check found to merge onto on branch 'master'","Info: PRs are required in order to make changes on 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":"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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"}}]},"last_synced_at":"2025-08-22T21:42:36.254Z","repository_id":57459511,"created_at":"2025-08-22T21:42:36.254Z","updated_at":"2025-08-22T21:42:36.254Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["idempotency","kafka","python"],"created_at":"2026-01-14T07:33:01.501Z","updated_at":"2026-01-14T07:33:02.333Z","avatar_url":"https://github.com/quintoandar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/quintoandar/kafka-python.svg?branch=master)](https://travis-ci.org/github/quintoandar/kafka-python)\n\n# QuintoAndar Kafka Python Library\n\nQuintoAndar's kafka-python lib wrapper with additional functionalities.\n\n## KafkaIdempotentConsumer\n\nA simple wrapper for kafka-python lib that uses redis to check duplicate events.\n\n### Configuration\n\n|        Name       |                 Description                  |\n| ----------------- | -------------------------------------------- |\n| group_id          | The consumer group id                        |\n| bootstrap_servers | The bootstrap servers                        |\n| redis_host        | The redis host                               |\n| redis_port        | The function that processes the event        |\n| idempotent_key    | Function which extract an unique identifier from the event |\n\n\nSee [examples](/examples)\n\n## Development\n\n### Environment\n\nAt the bare minimum you'll need the following for your development\nenvironment:\n\n1. [Python 3.6.8](http://www.python.org/)\n\nIt is strongly recommended to also install and use [pyenv](https://github.com/pyenv/pyenv):\n\n - [pyenv-installer](https://github.com/pyenv/pyenv-installer)\n\nThis tool eases the burden of dealing with virtualenvs and having to activate and\ndeactivate'em by hand. Once you run `pyenv local my-project-venv` the directory you're\nin will be bound to the `my-project-venv` virtual environment and then you will have\nnever to bother again activating the correct venv.\n\n### Getting Started\n\n#### 1. Clone the project:\n\n```bash\ngit clone git@github.com:quintoandar/kafka-python.git\ncd kafka-python\n```\n\n#### 2. Setup the python environment for the project:\n\n```bash\nmake environment\n```\n\n#### 3. Install dependencies\n\nYou can just the make recipe:\n\n```bash\nmake install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintoandar%2Fkafka-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquintoandar%2Fkafka-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintoandar%2Fkafka-python/lists"}