{"id":13936223,"url":"https://github.com/python-hyper/brotlicffi","last_synced_at":"2025-12-11T21:04:54.144Z","repository":{"id":45773979,"uuid":"43543393","full_name":"python-hyper/brotlicffi","owner":"python-hyper","description":"Python bindings to the Brotli compression library","archived":false,"fork":false,"pushed_at":"2025-11-22T07:12:08.000Z","size":250,"stargazers_count":149,"open_issues_count":14,"forks_count":29,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-12-07T08:43:06.126Z","etag":null,"topics":["brotli","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/python-hyper.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-02T08:45:45.000Z","updated_at":"2025-11-21T16:53:52.000Z","dependencies_parsed_at":"2024-03-02T22:28:21.181Z","dependency_job_id":"399c65e6-3cb4-4628-b88d-89f2f3dab29f","html_url":"https://github.com/python-hyper/brotlicffi","commit_stats":{"total_commits":302,"total_committers":18,"mean_commits":16.77777777777778,"dds":0.5,"last_synced_commit":"8e27c661a3e18cbc46e1058ecf74fb98aa2e6615"},"previous_names":["python-hyper/brotlipy"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/python-hyper/brotlicffi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-hyper%2Fbrotlicffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-hyper%2Fbrotlicffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-hyper%2Fbrotlicffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-hyper%2Fbrotlicffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-hyper","download_url":"https://codeload.github.com/python-hyper/brotlicffi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-hyper%2Fbrotlicffi/sbom","scorecard":{"id":752187,"data":{"date":"2025-08-11","repo":{"name":"github.com/python-hyper/brotlicffi","commit":"8e27c661a3e18cbc46e1058ecf74fb98aa2e6615"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.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":"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":"Code-Review","score":4,"reason":"Found 10/23 approved changesets -- score normalized to 4","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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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/ci.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:103: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:112: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:113: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:117: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:121: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:125: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/python-hyper/brotlicffi/ci.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:16","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:81","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 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":"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":"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":"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 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-22T20:40:23.418Z","repository_id":45773979,"created_at":"2025-08-22T20:40:23.418Z","updated_at":"2025-08-22T20:40:23.418Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27616754,"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-12-09T02:00:09.185Z","response_time":54,"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":["brotli","python"],"created_at":"2024-08-07T23:02:29.701Z","updated_at":"2025-12-11T21:04:54.104Z","avatar_url":"https://github.com/python-hyper.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"BrotliCFFI\n==========\n\n.. image:: https://img.shields.io/pypi/v/brotlicffi\n    :alt: Version\n    :target: https://pypi.org/project/brotlicffi\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/brotlicffi\n    :alt: Version-Conda\n    :target: https://anaconda.org/conda-forge/brotlicffi\n\n.. image:: https://pepy.tech/badge/brotlicffi\n    :alt: Downloads\n    :target: https://pepy.tech/project/brotlicffi\n\n.. image:: https://img.shields.io/github/workflow/status/python-hyper/brotlicffi/CI/master\n    :alt: CI Status\n    :target: https://github.com/python-hyper/brotlicffi/actions\n\nThis library contains Python CFFI bindings for the reference Brotli encoder/decoder,\n`available here`_. This allows Python software to use the Brotli compression\nalgorithm directly from Python code.\n\nInstall from PyPI:\n\n.. code-block::\n\n    $ python -m pip install brotlicffi\n\nInstall from Conda:\n\n.. code-block::\n\n    $ conda install -c conda-forge brotlicffi\n\nTo use it simply, try this:\n\n.. code-block:: python\n\n    import brotlicffi\n    data = brotlicffi.decompress(compressed_data)\n\nMore information can be found `in the documentation`_.\n\n.. _available here: https://github.com/google/brotli\n.. _in the documentation: https://brotlipy.readthedocs.org\n\nUsing BrotliCFFI in Projects\n----------------------------\n\nThe API is 100% compatible with the `Brotli Python C bindings`_.\nWe recommend installing the C bindings on CPython and the CFFI\nbindings everywhere else (PyPy, etc)\n\nEssentially you use requirements like this:\n\n .. code-block:: python\n\n    install_requires=[\n        \"brotli; platform_python_implementation == 'CPython'\",\n        \"brotlicffi; platform_python_implementation != 'CPython'\"\n    ]\n\nand then import the correct Brotli library like so:\n\n .. code-block:: python\n\n    try:\n        import brotlicffi as brotli\n    except ImportError:\n        import brotli\n\nWe provide an `example project`_ that shows how to use both\nlibraries together to support Brotli with multiple Python implementations.\n\n.. _Brotli Python C bindings: https://pypi.org/project/Brotli\n.. _example project: https://github.com/python-hyper/brotlipy/tree/master/example\n\nLicense\n-------\n\nThe source code of BrotliCFFI is available under the MIT license. Brotli itself\nis made available under the Version 2.0 of the Apache Software License. See the\nLICENSE and libbrotli/LICENSE files for more information.\n\nAuthors\n-------\n\nBrotliCFFI/brotlipy was authored by Cory Benfield and\nis currently maintained by Seth Michael Larson.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-hyper%2Fbrotlicffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-hyper%2Fbrotlicffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-hyper%2Fbrotlicffi/lists"}