{"id":16137521,"url":"https://github.com/ntbbloodbath/seconds","last_synced_at":"2025-09-14T07:39:51.865Z","repository":{"id":57465149,"uuid":"319083868","full_name":"NTBBloodbath/Seconds","owner":"NTBBloodbath","description":"Transform seconds to minutes, hours, etc. and vice versa quickly, easily, understandable by humans and without external dependencies","archived":false,"fork":false,"pushed_at":"2020-12-09T21:12:27.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-14T07:39:51.436Z","etag":null,"topics":["python","python3","seconds","time"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NTBBloodbath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-06T16:54:45.000Z","updated_at":"2025-02-18T21:55:48.000Z","dependencies_parsed_at":"2022-09-17T18:00:39.307Z","dependency_job_id":null,"html_url":"https://github.com/NTBBloodbath/Seconds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NTBBloodbath/Seconds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTBBloodbath%2FSeconds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTBBloodbath%2FSeconds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTBBloodbath%2FSeconds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTBBloodbath%2FSeconds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NTBBloodbath","download_url":"https://codeload.github.com/NTBBloodbath/Seconds/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTBBloodbath%2FSeconds/sbom","scorecard":{"id":98384,"data":{"date":"2025-08-11","repo":{"name":"github.com/NTBBloodbath/Seconds","commit":"3a1fc8c78b2d3521785476b1efeec7f2e6bff4d7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/3 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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":-1,"reason":"no releases found","details":null,"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"}}]},"last_synced_at":"2025-08-15T09:35:11.262Z","repository_id":57465149,"created_at":"2025-08-15T09:35:11.262Z","updated_at":"2025-08-15T09:35:11.262Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275076534,"owners_count":25401313,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":["python","python3","seconds","time"],"created_at":"2024-10-09T23:27:45.928Z","updated_at":"2025-09-14T07:39:51.842Z","avatar_url":"https://github.com/NTBBloodbath.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Seconds](https://socialify.git.ci/NTBBloodbath/Seconds/image?description=1\u0026descriptionEditable=Transform%20seconds%20to%20minutes%2C%20hours%2C%20etc.%20and%20vice%20versa%20quickly%2C%20easily%2C%20and%20understandable%20by%20humans\u0026font=Source%20Code%20Pro\u0026forks=1\u0026issues=1\u0026owner=1\u0026pattern=Circuit%20Board\u0026pulls=1\u0026stargazers=1\u0026theme=Light)\n\n![Python Versions](https://img.shields.io/pypi/pyversions/seconds)\n![Version](https://img.shields.io/pypi/v/seconds?color=green\u0026label=version)\n[![Downloads](https://pepy.tech/badge/seconds)](https://pepy.tech/project/seconds)\n![License](https://img.shields.io/pypi/l/seconds)\n\nSeconds is a utility package to transform seconds to minutes, hours, etc. and vice versa\nquickly, easily, understandable by humans and without external dependencies\nso its performance is excellent and it's extremely lightweight!\n\n------\n\n## Why use Seconds?\nSince Seconds doesn't contain external dependencies, it's extremely lightweight (only 12kB!)\nand very fast, it becomes the perfect tool to manage and transform time!\n\n------\n\n# Quick start\n## Installation\nSeconds requires Python 3.x and can be installed through `pip` with the following command.\n```sh\npip3 install -U seconds\n\n# Or from github's latest commit\n# Available branches:\n#   • master\npip3 install -U git+https://github.com/NTBBloodbath/Seconds@branch\n```\n\n## Usage example\nThis is a brief example of Secs.\n```py\n# Lets import Secs class from Seconds Package\nfrom seconds import Secs\n\n# Lets pass 5 minutes to seconds and seconds to 10 minutes\nSecs(\"5m\") # =\u003e 300\nSecs(600)  # =\u003e 10 minutes\n# But we want to abbreviate our minutes so we\n# will pass the abbrev parameter to options\nSecs(600, abbrev=True) # =\u003e 10m\n\n# Lets pass 6 months to seconds and then pass 1 year to seconds\nSecs(\"6mo\") # =\u003e 110451600\nSecs(\"1y\")  # =\u003e 220903200\n```\n\n## Documentation\nYou can see the Seconds documentation through the `help()` function of the REPL.\n\n------\n\n# License\n**Seconds is distributed under MIT License.**\n\n# Contributing\nYou can see how to contribute [here](./CONTRIBUTING.md)\n\n# Code of Conduct\nYou can see the code of conduct [here](./CODE_OF_CONDUCT.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntbbloodbath%2Fseconds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntbbloodbath%2Fseconds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntbbloodbath%2Fseconds/lists"}