{"id":27290957,"url":"https://github.com/projecthamster/hamster-lib","last_synced_at":"2025-08-22T06:44:18.905Z","repository":{"id":57436653,"uuid":"46660342","full_name":"projecthamster/hamster-lib","owner":"projecthamster","description":"A unified library for timetracking clients.","archived":false,"fork":false,"pushed_at":"2021-08-10T02:18:45.000Z","size":695,"stargazers_count":74,"open_issues_count":36,"forks_count":10,"subscribers_count":10,"default_branch":"develop","last_synced_at":"2025-07-17T14:35:58.957Z","etag":null,"topics":["floss","library","python","time-tracker"],"latest_commit_sha":null,"homepage":"http://projecthamster.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/projecthamster.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-22T12:49:07.000Z","updated_at":"2023-07-03T07:09:39.000Z","dependencies_parsed_at":"2022-09-10T01:51:58.707Z","dependency_job_id":null,"html_url":"https://github.com/projecthamster/hamster-lib","commit_stats":null,"previous_names":["elbenfreund/hamsterlib"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/projecthamster/hamster-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projecthamster%2Fhamster-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projecthamster%2Fhamster-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projecthamster%2Fhamster-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projecthamster%2Fhamster-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projecthamster","download_url":"https://codeload.github.com/projecthamster/hamster-lib/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projecthamster%2Fhamster-lib/sbom","scorecard":{"id":371414,"data":{"date":"2025-08-11","repo":{"name":"github.com/projecthamster/hamster-lib","commit":"ea3ec9a2bb6f5f89b844f55f45f089e80e0fd1dc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":"Code-Review","score":2,"reason":"Found 1/5 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":"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":"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":"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: GNU General Public License v3.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":-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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 29 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-18T13:04:34.286Z","repository_id":57436653,"created_at":"2025-08-18T13:04:34.286Z","updated_at":"2025-08-18T13:04:34.286Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271599814,"owners_count":24787802,"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-08-22T02:00:08.480Z","response_time":65,"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":["floss","library","python","time-tracker"],"created_at":"2025-04-11T21:39:42.827Z","updated_at":"2025-08-22T06:44:18.872Z","avatar_url":"https://github.com/projecthamster.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\nhamster-lib\n===============================\n\n.. image:: https://img.shields.io/travis/projecthamster/hamster-lib/master.svg\n        :target: https://travis-ci.org/projecthamster/hamster_lib\n\n.. image:: https://img.shields.io/pypi/v/hamster-lib.svg?maxAge=2592000\n         :target: https://pypi.python.org/pypi/hamster-gtk/\n\n.. image:: https://img.shields.io/codecov/c/github/projecthamster/hamster-lib/master.svg\n        :target: https://codecov.io/github/projecthamster/hamster-lib\n\n.. image:: https://readthedocs.org/projects/hamster-lib/badge/?version=latest\n        :target: http://hamster-lib.docs.projecthamster.org/en/latest/\n        :alt: Documentation Status\n\n.. image:: https://requires.io/github/projecthamster/hamster-lib/requirements.svg?branch=master\n        :target: https://requires.io/github/projecthamster/hamster-lib/requirements/?branch=master\n        :alt: Requirements Status\n\n(A badges refer to ``master``)\n\nA library for common timetracking functionality.\n\n``hamster-lib`` aims to be a replacement for ``projecthamster``  backend\nlibrary.  While we are not able to function as a  straight forward drop-in\nreplacement we try very hard to stay as compatible as possible. As a\nconsequence clients are able to switch to ``hamster-lib``  merely by changing\nsome basic calls. Most of the semantics and return values will be as before.\n\nThis itself points to a major architectural shift in the way ``hamster-lib``\napproaches timetracking. We are firm believers in *do one thing, and do it\nwell*. The tried and tested unix toolbox principle. As such we focus on\nproviding useful backend functionality and helper methods so clients (dbus\ninterfaces, CLIs or graphical UIs) can build upon a solid and consistent base\nand focus on their specific requirements.\n\nFeatures\n--------\n* Full python \u003e=2.7 and \u003e=3.4 compatibility\n* Full unicode support\n* \u003e= 95% test coverage\n* Extensive documentation\n* Focus on clean, maintainable code.\n* Free software: GPL3\n* All you need for production, test or dev environments comes out of the box\n  with regular python tools.\n\nFirst Steps\n-----------\n* Build dev environment: ``make develop``\n* Build the documentation locally: ``make docs``\n* Run just the tests: ``make test``\n* Run entire test suite including linters and coverage: ``make test-all``\n\nAdditional Resources\n--------------------\n* `Documentation by 'read the docs' \u003chttp://hamster-lib.docs.projecthamster.org/en/latest\u003e`_\n* `CI thanks to Travis-CI \u003chttps://travis-ci.org/projecthamster/hamster-lib\u003e`_\n* `Coverage reports by 'codecov' \u003chttps://codecov.io/gh/projecthamster/hamster-lib\u003e`_\n* `Dependency monitoring by 'requires.io' \u003chttps://requires.io/github/projecthamster/hamster-lib/requirements/?branch=master\u003e`_\n\nNews: Version 0.13.0\n---------------------\nThis release features only few public functional changes:\n\n#. Raw fact parsing has been moved to a helper method. This should make it easier\n   for clients to parse raw fact strings even if they do not qualify as valid\n   Fact instances.\n#. Facts now provide a ``serialied_string`` method that encodes all relevant data.\n#. We now ship ``config helpers`` that provide a baseline config that can easily be\n   extended instead of each client having to implement this all over\n   again.\n\nFor a more detailed overview about what new as well as a list of all the\nsmaller improvements, please refer to the changelog.\n\nHappy tracking; Eric.\n\nTodo\n----\nThis early release is mainly meant as a rough proof-of-concept at this stage.\nIt showcases our API as well as our general design decisions.  As such there\nare a few functionalities/details of the original ``projecthamster`` backend\nthat we wish to allow for, but are not provided so far.  These are:\n\n* Autocomplete related methods\n* Trophies (The jury is still out on if and how we want to support those.)\n* Migrations from old databases.\n\nIncompatibilities\n------------------\nDespite our efforts to stay backwards compatible we did deliberately break the\nway ``Facts`` without end dates are handled. We think allowing for them in any\npersistent backend creates a data consistency nightmare and so far there seems\nno conceivable use case for it, let alone an obvious semantic.  What we do\nallow for is *one* ``ongoing fact``. That is a fact that has a start, but no\nend date. For details, please refer to the documentation.\n\nCredits\n---------\nTools used in rendering this package:\n\n*  Cookiecutter_\n*  `cookiecutter-pypackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojecthamster%2Fhamster-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojecthamster%2Fhamster-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojecthamster%2Fhamster-lib/lists"}