{"id":13500073,"url":"https://github.com/jonashaag/bjoern","last_synced_at":"2026-10-19T01:09:02.908Z","repository":{"id":826807,"uuid":"542089","full_name":"jonashaag/bjoern","owner":"jonashaag","description":"A screamingly fast Python 2/3 WSGI server written in C.","archived":false,"fork":false,"pushed_at":"2024-08-09T21:35:30.000Z","size":615,"stargazers_count":3039,"open_issues_count":37,"forks_count":188,"subscribers_count":79,"default_branch":"master","last_synced_at":"2026-10-17T15:07:18.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonashaag.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","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":"2010-03-01T23:46:47.000Z","updated_at":"2026-10-12T21:37:26.000Z","dependencies_parsed_at":"2024-11-25T22:45:48.930Z","dependency_job_id":null,"html_url":"https://github.com/jonashaag/bjoern","commit_stats":{"total_commits":441,"total_committers":45,"mean_commits":9.8,"dds":"0.15646258503401356","last_synced_commit":"25b14e5042f51eb869d6bfb67fe7e6213c9747ee"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/jonashaag/bjoern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashaag%2Fbjoern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashaag%2Fbjoern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashaag%2Fbjoern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashaag%2Fbjoern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonashaag","download_url":"https://codeload.github.com/jonashaag/bjoern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashaag%2Fbjoern/sbom","scorecard":{"id":530025,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonashaag/bjoern","commit":"25b14e5042f51eb869d6bfb67fe7e6213c9747ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":3,"reason":"Found 11/30 approved changesets -- score normalized to 3","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: not a valid parameter expansion operator: ]: packaging/build_all.sh:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/jonashaag/bjoern/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/jonashaag/bjoern/tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: packaging/build_wheel.sh:33","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"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 14 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-20T05:28:16.750Z","repository_id":826807,"created_at":"2025-08-20T05:28:16.750Z","updated_at":"2025-08-20T05:28:16.750Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38334939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-17T02:00:06.547Z","response_time":57,"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":[],"created_at":"2024-07-31T22:00:50.861Z","updated_at":"2026-10-19T01:09:02.667Z","avatar_url":"https://github.com/jonashaag.png","language":"C","funding_links":[],"categories":["Web","C","WSGI Servers","WSGI 服务器","WSGI Servers [🔝](#readme)","Http servers","Servers"],"sub_categories":["Web Servers and Proxies","More"],"readme":"bjoern: Fast And Ultra-Lightweight HTTP/1.1 WSGI Server\n=======================================================\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n   :alt: Join the chat at https://gitter.im/jonashaag/bjoern\n   :target: https://gitter.im/jonashaag/bjoern?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n\nA screamingly fast, ultra-lightweight WSGI_ server for CPython 2 and CPython 3,\nwritten in C using Marc Lehmann's high performance libev_ event loop and\nRyan Dahl's http-parser_.\n\nWhy It's Cool\n~~~~~~~~~~~~~\nbjoern is the *fastest*, *smallest* and *most lightweight* WSGI server out there,\nfeaturing\n\n* ~ 1000 lines of C code\n* Memory footprint ~ 600KB\n* Python 2 and Python 3 support (thanks @yanghao!)\n* Single-threaded and without coroutines or other crap\n* Can bind to TCP `host:port` addresses and Unix sockets (thanks @k3d3!)\n* Full persistent connection (\"*keep-alive*\") support in both HTTP/1.0 and 1.1,\n  including support for HTTP/1.1 chunked responses\n\nInstallation\n~~~~~~~~~~~~\n``pip install bjoern``. See `wiki \u003chttps://github.com/jonashaag/bjoern/wiki/Installation\u003e`_ for details.\n\nUsage\n~~~~~\n\nFlask example\n-------------\n\n.. code-block:: python\n\n   from flask import Flask\n\n   app = Flask(__name__)\n\n   @app.route(\"/\")\n   def hello_world():\n       return \"Hello, World!\"\n\n   if __name__ == \"__main__\":\n       import bjoern\n\n       bjoern.run(app, \"127.0.0.1\", 8000)\n\n\nAdvanced usage\n--------------\n\n.. code-block:: python\n\n   # Bind to TCP host/port pair:\n   bjoern.run(wsgi_application, host, port)\n\n   # TCP host/port pair, enabling SO_REUSEPORT if available.\n   bjoern.run(wsgi_application, host, port, reuse_port=True)\n\n   # Bind to Unix socket:\n   bjoern.run(wsgi_application, 'unix:/path/to/socket')\n\n   # Bind to abstract Unix socket: (Linux only)\n   bjoern.run(wsgi_application, 'unix:@socket_name')\n\n   # Enable statsd metrics. See instrumentation.md for details.\n   bjoern.run(wsgi_application, host, port, statsd=...)\n\nAlternatively, the mainloop can be run separately:\n\n.. code-block:: python\n\n   bjoern.listen(wsgi_application, host, port)\n   bjoern.run()\n\n   # With metrics. See instrumentation.md for details.\n   bjoern.listen(wsgi_application, host, port)\n   bjoern.run(statsd=...)\n\nYou can also simply pass a Python socket(-like) object. Note that you are responsible\nfor initializing and cleaning up the socket in that case.\n\n.. code-block:: python\n\n   bjoern.server_run(socket_object, wsgi_application)\n   bjoern.server_run(filedescriptor_as_integer, wsgi_application)\n\n   # This needs manual compilation with `WANT_STATSD=yes`\n   bjoern.server_run(socket_object, wsgi_application, enable_statsd=True)\n\n.. _WSGI:         http://www.python.org/dev/peps/pep-0333/\n.. _libev:        http://software.schmorp.de/pkg/libev.html\n.. _http-parser:  https://github.com/joyent/http-parser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashaag%2Fbjoern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonashaag%2Fbjoern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashaag%2Fbjoern/lists"}