{"id":19168471,"url":"https://github.com/bloomberg/tzcron","last_synced_at":"2025-05-07T14:41:49.161Z","repository":{"id":62585983,"uuid":"64959036","full_name":"bloomberg/tzcron","owner":"bloomberg","description":"A parser of cron-style scheduling expressions.","archived":false,"fork":false,"pushed_at":"2016-09-25T22:35:37.000Z","size":33,"stargazers_count":20,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T12:25:58.814Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bloomberg.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":"2016-08-04T18:44:34.000Z","updated_at":"2023-08-28T12:45:04.000Z","dependencies_parsed_at":"2022-11-03T22:05:36.181Z","dependency_job_id":null,"html_url":"https://github.com/bloomberg/tzcron","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/bloomberg%2Ftzcron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftzcron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftzcron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftzcron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloomberg","download_url":"https://codeload.github.com/bloomberg/tzcron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252897420,"owners_count":21821433,"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-11-09T09:42:47.650Z","updated_at":"2025-05-07T14:41:49.137Z","avatar_url":"https://github.com/bloomberg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://readthedocs.org/projects/tzcron/badge/?version=latest\n   :target: http://tzcron.readthedocs.io/en/latest/?badge=latest\n   :alt: Documentation Status\n\ntzcron\n######\n\nA library to work with cron/quartz expressions and timezones.\n\nOverview\n########\n\ntzcron provides a way to define schedules attached to timezones and get time occurrences out of it by just iterating the object created.\n\nInstall\n#######\n\n\u003e\u003e\u003e pip install tzcron\n\nUsage\n#####\n\n\u003e\u003e\u003e import tzcron\n\u003e\u003e\u003e import pytz\n\u003e\u003e\u003e schedule = tzcron.Schedule(\"* * * * * *\", pytz.utc)\n\u003e\u003e\u003e str(schedule)\n'Cron: * * * * * * @UTC [2016-09-25 19:10:48.948486+00:00-\u003eNone]'\n\u003e\u003e\u003e next(schedule)\ndatetime.datetime(2016, 9, 25, 19, 11, tzinfo=\u003cUTC\u003e)\n\u003e\u003e\u003e next(schedule)\ndatetime.datetime(2016, 9, 25, 19, 12, tzinfo=\u003cUTC\u003e)\n\u003e\u003e\u003e next(schedule)\ndatetime.datetime(2016, 9, 25, 19, 13, tzinfo=\u003cUTC\u003e)\n\n\nFor further information, check the `official documentation \u003chttps://tzcron.readthedocs.io/en/latest/\u003e`_\n\n\nDevelop this package\n####################\n\nTo test the package::\n\n \u003e python -m nose\n\nTo release a new version of the package::\n\n \u003e python setup.py sdist bdist_wheel upload\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Ftzcron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomberg%2Ftzcron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Ftzcron/lists"}