{"id":16813797,"url":"https://github.com/joerick/django-timecode","last_synced_at":"2025-06-13T04:07:31.932Z","repository":{"id":9645760,"uuid":"11580119","full_name":"joerick/django-timecode","owner":"joerick","description":"🎬  A python class for a timecode and accompanying django field","archived":false,"fork":false,"pushed_at":"2015-02-05T10:33:22.000Z","size":178,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T23:33:22.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joerick.png","metadata":{"files":{"readme":"README.md","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":"2013-07-22T11:50:44.000Z","updated_at":"2024-11-28T16:27:35.000Z","dependencies_parsed_at":"2022-08-29T10:30:10.326Z","dependency_job_id":null,"html_url":"https://github.com/joerick/django-timecode","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/joerick/django-timecode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerick%2Fdjango-timecode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerick%2Fdjango-timecode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerick%2Fdjango-timecode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerick%2Fdjango-timecode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joerick","download_url":"https://codeload.github.com/joerick/django-timecode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joerick%2Fdjango-timecode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259578217,"owners_count":22879216,"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","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-10-13T10:27:51.821Z","updated_at":"2025-06-13T04:07:31.907Z","avatar_url":"https://github.com/joerick.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-timecode\n\nA python class to store and manipulate timecodes with accompanying Django field.\n\n## Examples\n\nTimecodes can be created using a string representation\n\n    \u003e\u003e\u003e from timecode import Timecode\n    \u003e\u003e\u003e start = Timecode('09:59:50:00', fps=25)\n    \u003e\u003e\u003e end = Timecode('10:06:05:12', fps=25)\n\nThey will print themselves\n\n    \u003e\u003e\u003e start\n    Timecode('09:59:50:00', fps=25)\n    \u003e\u003e\u003e str(start)\n    '09:59:50:00'\n\nThey can add and subtract\n\n    \u003e\u003e\u003e delta = end - start\n    \u003e\u003e\u003e delta\n    Timecode('00:06:15:12', fps=25)\n\nOr you can get at the exact frames using the `total_frames` attribute\n\n    \u003e\u003e\u003e delta.total_frames\n    9387\n\n## In a Django model\n\n### `models.py`\n\n    from timecode.fields import TimecodeField\n    from django.db import models\n\n\n    class TestModel(models.Model):\n        timecode = TimecodeField()\n\nYou can then store the timecode objects in the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoerick%2Fdjango-timecode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoerick%2Fdjango-timecode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoerick%2Fdjango-timecode/lists"}