{"id":37070661,"url":"https://github.com/kirkegaard/tvtid.py","last_synced_at":"2026-01-14T08:15:08.594Z","repository":{"id":62585626,"uuid":"103195410","full_name":"kirkegaard/tvtid.py","owner":"kirkegaard","description":"Library and cli tool for querying tvtid.dk","archived":false,"fork":false,"pushed_at":"2020-08-04T10:40:38.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-09T23:35:46.742Z","etag":null,"topics":["cli","module","pip","python","tvtid"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tvtid/","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/kirkegaard.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2017-09-11T22:43:09.000Z","updated_at":"2020-08-04T10:40:40.000Z","dependencies_parsed_at":"2022-11-03T22:06:59.157Z","dependency_job_id":null,"html_url":"https://github.com/kirkegaard/tvtid.py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kirkegaard/tvtid.py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkegaard%2Ftvtid.py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkegaard%2Ftvtid.py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkegaard%2Ftvtid.py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkegaard%2Ftvtid.py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirkegaard","download_url":"https://codeload.github.com/kirkegaard/tvtid.py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirkegaard%2Ftvtid.py/sbom","scorecard":{"id":561378,"data":{"date":"2025-08-11","repo":{"name":"github.com/kirkegaard/tvtid.py","commit":"ee1e85e965782760a72c05630887219c52450df5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/28 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":"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":"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":-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":"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":"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":"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":"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":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":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 2 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-20T13:48:26.670Z","repository_id":62585626,"created_at":"2025-08-20T13:48:26.670Z","updated_at":"2025-08-20T13:48:26.670Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"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":["cli","module","pip","python","tvtid"],"created_at":"2026-01-14T08:15:07.859Z","updated_at":"2026-01-14T08:15:08.581Z","avatar_url":"https://github.com/kirkegaard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TVTid\n\nThis is a Python library for interfacing with the unofficial API on `tvtid.tv2.dk`.\n\n## Installation\n\n`pip install tvtid`\n\n## CLI\n\nTo get the schedule off a channel from now and forward\n\n```bash\n$ tvtid tv 2\nSchedule for: TV 2\nDate: 2017-09-12\n\n[21:25] Fogeden kommer\n[22:00] Nyhederne, Sporten og Vejret\n[22:27] Regionale nyheder\n...\n```\n\nTo get the schedule at a specific date\n\n```bash\n$ tvtid -d 2020-01-14 dr2\nSchedule for: DR2\nDate: 2020-01-14\n\n[05:15] Udsendelsesophør - DR2\n...\n[04:40] Kender du typen 2013\n```\n\n## Library Example\n```python\nimport tvtid\n\nclient = tvtid.Client()\nschedules = client.schedules_for_today()\nchannel_length = max(len(c.title) for c in client.channels().values())\n\nfor schedule in schedules:\n    channel = schedule.channel\n    aired, current, upcoming = schedule.current()\n\n    if current:\n        title = channel.title.ljust(channel_length, ' ')\n        print('\\n%s [%s] %s ' % (title, current.start_time.strftime('%H:%M'), current.title), end='')\n        for program in upcoming[:3]:\n            print('[%s] %s ' % (program.start_time.strftime('%H:%M'), program.title), end='')\n\n# TV 2          [20:00] Fuld plade [21:15] Baby Surprise [23:05] Obsessed\n# DR1           [20:00] X Factor [21:00] TV AVISEN [21:15] Vores vejr\n# TV 2 Charlie  [20:30] Fede Finn i modvind [21:25] Fede Finn i modvind [22:15] En sag for Frost\n# DR2           [20:45] VM håndbold: Kroatien-Norge, direkte [21:20] VM håndbold: Studiet [21:35] VM håndbold: Kroatien-Norge, direkte\n# TV3           [20:00] Dagens mand [21:00] American Pie 2 [23:10] The Joneses\n# …\n```\n\n## License\n`tvtid` is published under the MIT license which can be read in the `LICENSE` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirkegaard%2Ftvtid.py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirkegaard%2Ftvtid.py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirkegaard%2Ftvtid.py/lists"}