{"id":19666126,"url":"https://github.com/aboehm/tsenum","last_synced_at":"2026-06-09T02:35:08.336Z","repository":{"id":62585429,"uuid":"60405793","full_name":"aboehm/tsenum","owner":"aboehm","description":"Timestamp enumerator","archived":false,"fork":false,"pushed_at":"2023-09-26T15:10:54.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T20:08:10.176Z","etag":null,"topics":["enumerator","python","timestamps","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aboehm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-04T10:48:59.000Z","updated_at":"2023-09-26T14:34:59.000Z","dependencies_parsed_at":"2024-11-11T16:38:18.941Z","dependency_job_id":null,"html_url":"https://github.com/aboehm/tsenum","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/aboehm/tsenum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboehm%2Ftsenum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboehm%2Ftsenum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboehm%2Ftsenum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboehm%2Ftsenum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboehm","download_url":"https://codeload.github.com/aboehm/tsenum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboehm%2Ftsenum/sbom","scorecard":{"id":161354,"data":{"date":"2025-08-11","repo":{"name":"github.com/aboehm/tsenum","commit":"a538f6f5c80b139b4fe2d2600f4f07306efc5172"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"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/21 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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/aboehm/tsenum/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/aboehm/tsenum/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/aboehm/tsenum/publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/aboehm/tsenum/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/aboehm/tsenum/tests.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:27","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/publish.yml:19","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1"],"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: 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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.2.0 not signed: https://api.github.com/repos/aboehm/tsenum/releases/122634916","Warn: release artifact 1.1.1 not signed: https://api.github.com/repos/aboehm/tsenum/releases/122455598","Warn: release artifact 1.1.0 not signed: https://api.github.com/repos/aboehm/tsenum/releases/122455144","Warn: release artifact 1.2.0 does not have provenance: https://api.github.com/repos/aboehm/tsenum/releases/122634916","Warn: release artifact 1.1.1 does not have provenance: https://api.github.com/repos/aboehm/tsenum/releases/122455598","Warn: release artifact 1.1.0 does not have provenance: https://api.github.com/repos/aboehm/tsenum/releases/122455144"],"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 'main'"],"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 17 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-16T13:32:29.910Z","repository_id":62585429,"created_at":"2025-08-16T13:32:29.910Z","updated_at":"2025-08-16T13:32:29.910Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34089328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["enumerator","python","timestamps","tool"],"created_at":"2024-11-11T16:26:22.364Z","updated_at":"2026-06-09T02:35:08.308Z","avatar_url":"https://github.com/aboehm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tsenum\n\n[![Tests](https://github.com/aboehm/tsenum/actions/workflows/tests.yml/badge.svg)](https://github.com/aboehm/tsenum/actions/workflows/tests.yml)\n\nA timestamp generator.\n\n## Install\n\nYou can use pip to install from the repository\n\n```\npip install tsenum\n```\n\nor download sources and run pip from this directory\n\n```\ngit clone https://github.com/aboehm/tsenum\npip install .\n```\n\n## Usage\n\n`tsenum` provides an CLI. For help run:\n\n```\ntsenum -h\n```\n\nTo count 7 days back from yesterday via CLI, run:\n\n```sh\ntsenum --offset -1 --count -7 --step day --pattern \"%Y-%m-%d: Hello world!\"\n2016-05-27: Hello world!\n2016-05-28: Hello world!\n2016-05-29: Hello world!\n2016-05-30: Hello world!\n2016-05-31: Hello world!\n2016-06-01: Hello world!\n2016-06-02: Hello world!\n```\n\nTo do it programmatically:\n\n```python\nfrom datetime import datetime\nimport tsenum\n\nprint(\n    tsenum.enumerate_times(\n        datetime.now().astimezone(),\n        offset=-1,\n        count=-7,\n        step=tsenum.Step.DAY,\n        pattern='%Y-%m-%d'\n    )\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboehm%2Ftsenum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboehm%2Ftsenum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboehm%2Ftsenum/lists"}