{"id":43616426,"url":"https://github.com/elektito/pybtracker","last_synced_at":"2026-02-04T12:28:00.360Z","repository":{"id":3606688,"uuid":"50282317","full_name":"elektito/pybtracker","owner":"elektito","description":"UDP BitTorrent tracker written in Python 3.5 using co-routines and asyncio.","archived":false,"fork":false,"pushed_at":"2022-01-03T15:52:48.000Z","size":25,"stargazers_count":61,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-24T23:56:18.733Z","etag":null,"topics":["asyncio","bittorrent","bittorrent-tracker","python","tracker"],"latest_commit_sha":null,"homepage":null,"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/elektito.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-24T10:18:34.000Z","updated_at":"2025-09-19T10:46:29.000Z","dependencies_parsed_at":"2022-08-06T14:01:25.679Z","dependency_job_id":null,"html_url":"https://github.com/elektito/pybtracker","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/elektito/pybtracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elektito%2Fpybtracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elektito%2Fpybtracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elektito%2Fpybtracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elektito%2Fpybtracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elektito","download_url":"https://codeload.github.com/elektito/pybtracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elektito%2Fpybtracker/sbom","scorecard":{"id":372113,"data":{"date":"2025-08-11","repo":{"name":"github.com/elektito/pybtracker","commit":"cb9f4574f662e6b787d0a7c77391fa2317836232"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/24 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":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 4 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-18T13:12:47.214Z","repository_id":3606688,"created_at":"2025-08-18T13:12:47.215Z","updated_at":"2025-08-18T13:12:47.215Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29084254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"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":["asyncio","bittorrent","bittorrent-tracker","python","tracker"],"created_at":"2026-02-04T12:27:59.743Z","updated_at":"2026-02-04T12:28:00.355Z","avatar_url":"https://github.com/elektito.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pybtracker\n==========\n\npybtracker is a UDP BitTorrent tracker written in Python 3.5 using\nco-routines and the ``asyncio`` module. You can use the tracker in a\nscript like this:\n\n::\n\n   import asyncio\n   from pybtracker import TrackerServer\n\n   loop = asyncio.get_event_loop()\n   tracker = TrackerServer(local_addr=('127.0.0.1', 8000), loop=loop)\n   asyncio.ensure_future(tracker.start())\n   try:\n       loop.run_forever()\n   except KeyboardInterrupt:\n       loop.run_until_complete(tracker.stop())\n\nIt also includes a UDP tracker client:\n\n::\n\n   import asyncio\n   from pybtracker import TrackerClient\n\n   async def announce():\n       client = TrackerClient(announce_uri='udp://127.0.0.1:8000', loop=loop)\n       await client.start()\n       peers = await client.announce(\n           b'01234567890123456789',  # infohash\n           10000,                    # downloaded\n           40000,                    # left\n           5000,                     # uploaded\n           0,                        # event (0=none)\n           120                       # number of peers wanted\n       )\n       print(peers)\n\n   loop = asyncio.get_event_loop()\n   loop.run_until_complete(announce())\n\nYou can run the server independently by running:\n\n::\n\n   $ python -m pybtracker.server -b 127.0.0.1:8000 -O\n\nThe client can also be run independently and it provides you with a\nshell to interact with the server:\n\n::\n\n   $ python -m pybtracker.client udp://127.0.0.1:8000\n   BitTorrent tracker client. Type help or ? to list commands.\n\n   (btrc) help\n   Documented commands (type help \u003ctopic\u003e):\n   ========================================\n   EOF  announce  connect  help  quit\n\n   (btrc) quit\n   $\n\nIf you have installed pybtracker using pip or setup.py, you can also\nrun ``pybtracker`` and ``pybtracker-client`` instead of using ``python\n-m``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felektito%2Fpybtracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felektito%2Fpybtracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felektito%2Fpybtracker/lists"}