{"id":48376961,"url":"https://github.com/rrajaravi/lagoon-python","last_synced_at":"2026-04-05T18:35:12.108Z","repository":{"id":41956190,"uuid":"285992379","full_name":"rrajaravi/lagoon-python","owner":"rrajaravi","description":"Client library for Lagoon (bloom filter service)","archived":false,"fork":false,"pushed_at":"2022-04-22T09:44:36.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T19:39:37.412Z","etag":null,"topics":["bloom-filter","client"],"latest_commit_sha":null,"homepage":"https://github.com/sourcepirate/lagoon","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/rrajaravi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-08T07:05:06.000Z","updated_at":"2022-04-22T09:44:40.000Z","dependencies_parsed_at":"2022-08-12T00:31:29.078Z","dependency_job_id":null,"html_url":"https://github.com/rrajaravi/lagoon-python","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rrajaravi/lagoon-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrajaravi%2Flagoon-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrajaravi%2Flagoon-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrajaravi%2Flagoon-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrajaravi%2Flagoon-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrajaravi","download_url":"https://codeload.github.com/rrajaravi/lagoon-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrajaravi%2Flagoon-python/sbom","scorecard":{"id":786540,"data":{"date":"2025-08-11","repo":{"name":"github.com/rrajaravi/lagoon-python","commit":"3dec88256d97a0e3ec31674eeeae9610243d1312"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"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":"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":"Code-Review","score":5,"reason":"Found 2/4 approved changesets -- score normalized to 5","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":"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":"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":"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":"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":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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.0.0 not signed: https://api.github.com/repos/rrajaravi/lagoon-python/releases/29474425","Warn: release artifact 1.0.0 does not have provenance: https://api.github.com/repos/rrajaravi/lagoon-python/releases/29474425"],"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-23T06:15:24.515Z","repository_id":41956190,"created_at":"2025-08-23T06:15:24.515Z","updated_at":"2025-08-23T06:15:24.515Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31446529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"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":["bloom-filter","client"],"created_at":"2026-04-05T18:35:11.177Z","updated_at":"2026-04-05T18:35:12.083Z","avatar_url":"https://github.com/rrajaravi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"lagoon-python\n=============\n\n[![PyPI version](https://badge.fury.io/py/lagoon-python.svg)](http://badge.fury.io/py/lagoon-python)\n\n[lagoon-python](https://github.com/rrajaravi/lagoon-python) is the official Python client for [lagoon](https://github.com/sourcepirate/lagoon), aAn inmemory and highly concurrent bloom filter service based on json-rpc.\n\n### Installation\n\nlagoon-python supports:\n\n- Python (3.5, 3.6, 3.7, 3.8)\n\n#### Install from Pypi\n\n```bash\npip install lagoon-python\n```\n\n### Usage\n\n```python\n\n# Create a new client\nimport lagoon\nclient = lagoon.connect('YOUR_LAGOON_HOSTNAME', 'LAGOON_SERVICE_PORT')\n\n# Create a collection\ncollection1 = client.create_collection(\"collection1\")\n\n# create a key in the collection\nclient.set_key(\"collection1\", \"key1\")\n\n# check if a key exist in the collection\nclient.has_key(\"collection1\", \"key1\")\n\n# delete collection\nclient.delete_collection(\"collection1\")\n```\n\n### Contributing\n\nFirst, make sure you can run the test suite. Tests are run via py.test\n\nInstall test requirements\n\n```bash\npip install .[test]\n\npy.test\n# with coverage\npy.test --cov lagoon --cov-report html\n# with setuppy\npython setup.py test\n# lint with setup.py\npython setup.py lint \n# check lint\npython setup.py lint --check\n```\n\nInstall black and flake8\n\n```\npip install .[ci]\n```\n\nInstall git hooks to avoid pushing invalid code (git commit will run `black` and `flake8`)\n\n### Releasing a new version\n\nIn order to release new version you need to be a maintainer on Pypi.\n\n- Update CHANGELOG\n- Update the version on setup.py\n- Commit and push to Github\n- Create a new tag for the version (eg. `v1.1.0`)\n- Create a new dist with python `python setup.py sdist`\n- Upload the new distributable with twine `twine upload dist/lagoon-python-VERSION-NAME.tar.gz`\n\nIf unsure you can also test using the Pypi test servers `twine upload --repository-url https://test.pypi.org/legacy/ dist/lagoon-python-VERSION-NAME.tar.gz`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrajaravi%2Flagoon-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrajaravi%2Flagoon-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrajaravi%2Flagoon-python/lists"}