{"id":37100595,"url":"https://github.com/vladmunteanu/th2c","last_synced_at":"2026-01-14T12:14:56.717Z","repository":{"id":57475001,"uuid":"107416188","full_name":"vladmunteanu/th2c","owner":"vladmunteanu","description":"Tornado HTTP/2 Client","archived":false,"fork":false,"pushed_at":"2023-08-14T21:46:46.000Z","size":103,"stargazers_count":78,"open_issues_count":4,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-01T15:24:43.114Z","etag":null,"topics":["async","h2","http2","python","tornado"],"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/vladmunteanu.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-18T14:01:42.000Z","updated_at":"2024-06-13T12:18:31.000Z","dependencies_parsed_at":"2024-06-18T22:55:51.723Z","dependency_job_id":"6661c8e3-d10c-4449-b629-d59a62a769fe","html_url":"https://github.com/vladmunteanu/th2c","commit_stats":{"total_commits":89,"total_committers":4,"mean_commits":22.25,"dds":0.2808988764044944,"last_synced_commit":"97defe9cd531010970aeba68a59be921ea3ed81a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/vladmunteanu/th2c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmunteanu%2Fth2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmunteanu%2Fth2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmunteanu%2Fth2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmunteanu%2Fth2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladmunteanu","download_url":"https://codeload.github.com/vladmunteanu/th2c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladmunteanu%2Fth2c/sbom","scorecard":{"id":925375,"data":{"date":"2025-08-11","repo":{"name":"github.com/vladmunteanu/th2c","commit":"97defe9cd531010970aeba68a59be921ea3ed81a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/29 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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: vm/provision.sh:9","Warn: goCommand not pinned by hash: vm/provision.sh:16","Info:   0 out of   1 pipCommand dependencies pinned","Info:   0 out of   1 goCommand 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":"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":"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":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":"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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-753j-mpmx-qq6g","Warn: Project is vulnerable to: GHSA-7cx3-6m66-7c5m","Warn: Project is vulnerable to: GHSA-8w49-h785-mj3c","Warn: Project is vulnerable to: PYSEC-2023-75 / GHSA-hj3f-6gcp-jg8j","Warn: Project is vulnerable to: GHSA-qppv-j76h-2rpx","Warn: Project is vulnerable to: GHSA-w235-7p84-xx57"],"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 18 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-25T11:23:40.825Z","repository_id":57475001,"created_at":"2025-08-25T11:23:40.825Z","updated_at":"2025-08-25T11:23:40.825Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["async","h2","http2","python","tornado"],"created_at":"2026-01-14T12:14:56.109Z","updated_at":"2026-01-14T12:14:56.704Z","avatar_url":"https://github.com/vladmunteanu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================\nAsync HTTP/2 Client\n===================\n\nA simple asynchronous HTTP/2 client for Tornado_ applications, based on the awesome h2_ library.\n\nIntended for Python 2 (\u003e= 2.7.9).\n\nThis package is in a very early development stage, so expect bugs or changes in the API.\nIf you spot anything wrong, or would like to suggest improvements, please open an issue or a pull request.\n\n\n=======\nExample\n=======\n\nUsage in a coroutine may be:\n\n.. code-block:: python\n\n    from th2c import AsyncHTTP2Client\n    from tornado.httpclient import HTTPRequest\n\n    client = AsyncHTTP2Client(\n        host='nghttp2.org', port=443, secure=True,\n    )\n\n    request = HTTPRequest(\n        url='https://nghttp2.org/httpbin/get',\n        method='GET',\n    )\n\n    res = yield client.fetch(request)\n\n\n====\nTODO\n====\n\n- moar tests :)\n- SERVER_PUSH\n- follow_redirects\n- priority control\n\n\n=================\nDevelopment setup\n=================\n\nIf you wish to create a development environment to work on th2c, you can use a Vagrant setup or a virtual environment.\nThe Vagrant setup is located under vm_, an Ubuntu 16.04 64bit box with Go and Python 2 installed, that maps the project directory under ``/opt/dev/th2c``.\n\nFor a minimal set of \"integration tests\", a Go web server is included in test_server_ that simply echoes back what it receives.\n\nYou can run it in debug mode, from the project directory, by executing:\n\n    ``GODEBUG=http2debug=1 go run test_server/main.go``.\n\nAfter the server has started, you should run the client by executing:\n\n    ``python -m th2c``.\n\nLog files should be produced under /opt/dev/th2c/logs.\n\nYou can also run unit tests with: ``nosetests tests``\n\n.. _Tornado: http://www.tornadoweb.org/\n.. _h2: https://python-hyper.org/h2/\n.. _vm: https://github.com/vladmunteanu/th2c/tree/master/vm\n.. _test_server: https://github.com/vladmunteanu/th2c/tree/master/test_server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladmunteanu%2Fth2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladmunteanu%2Fth2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladmunteanu%2Fth2c/lists"}