{"id":22687385,"url":"https://github.com/cablehead/python-snowflake","last_synced_at":"2025-10-27T19:42:50.091Z","repository":{"id":21771036,"uuid":"25093278","full_name":"cablehead/python-snowflake","owner":"cablehead","description":"A Python generator for the Twitter Snowflake scheme","archived":false,"fork":false,"pushed_at":"2020-07-26T03:07:11.000Z","size":5,"stargazers_count":66,"open_issues_count":0,"forks_count":28,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T18:24:40.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cablehead.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":"2014-10-11T20:00:35.000Z","updated_at":"2025-01-29T13:38:44.000Z","dependencies_parsed_at":"2022-07-23T07:16:12.852Z","dependency_job_id":null,"html_url":"https://github.com/cablehead/python-snowflake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fpython-snowflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fpython-snowflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fpython-snowflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cablehead%2Fpython-snowflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cablehead","download_url":"https://codeload.github.com/cablehead/python-snowflake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631666,"owners_count":21136554,"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-12-09T23:18:10.100Z","updated_at":"2025-10-18T20:34:57.493Z","avatar_url":"https://github.com/cablehead.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Python generator for the [Twitter\nSnowflake](https://github.com/twitter/snowflake) scheme in 61 lines of spacious\ncode.\n\n```python\n\n    \u003e\u003e\u003e import snowflake\n    \u003e\u003e\u003e s = snowflake.generator(1, 1)\n    \u003e\u003e\u003e s.next()\n    1132805160360349696\n    \u003e\u003e\u003e s.next()\n    1132805164143611904\n    \u003e\u003e\u003e s.next()\n    1132805168782512128\n\n    # convenience to convert a snowflake to a unix timestamp\n    \u003e\u003e\u003e snowflake.snowflake_to_timestamp(1132805168782512128)\n    1413056012\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fpython-snowflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcablehead%2Fpython-snowflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcablehead%2Fpython-snowflake/lists"}