{"id":16624317,"url":"https://github.com/dcramer/sexytime","last_synced_at":"2025-07-16T17:38:15.980Z","repository":{"id":1609502,"uuid":"2218451","full_name":"dcramer/sexytime","owner":"dcramer","description":null,"archived":false,"fork":false,"pushed_at":"2011-08-16T22:28:10.000Z","size":96,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-29T11:49:17.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"plank/php-google-map-api","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcramer.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}},"created_at":"2011-08-16T21:42:21.000Z","updated_at":"2024-02-27T07:55:41.000Z","dependencies_parsed_at":"2022-09-01T10:41:26.491Z","dependency_job_id":null,"html_url":"https://github.com/dcramer/sexytime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcramer/sexytime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fsexytime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fsexytime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fsexytime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fsexytime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcramer","download_url":"https://codeload.github.com/dcramer/sexytime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcramer%2Fsexytime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263489674,"owners_count":23474526,"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-12T03:45:56.874Z","updated_at":"2025-07-04T10:04:34.406Z","avatar_url":"https://github.com/dcramer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"``sexytime`` is a replacement for stdlib's ``datetime`` module. It replaces datetime.datetime.{now,utcnow} with functions that are guaranteed to return UTC timezone aware datetime objects.\n\nUsage\n=====\n\nThe module behaves identical to stdlib's ``datetime``::\n\n    \u003e\u003e\u003e from sexytime import datetime\n    \u003e\u003e\u003e datetime.utcnow()\n    datetime.datetime(2011, 8, 16, 22, 24, 26, 116079, tzinfo=\u003cUTC\u003e)\n\n\nYou can also completely replace the datetime by monkey patching it. This requires you to execute it before you import datetime submodules elsewhere::\n\n    import sexytime.monkey\n    sexytime.monkey.patch()","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcramer%2Fsexytime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcramer%2Fsexytime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcramer%2Fsexytime/lists"}