{"id":15009976,"url":"https://github.com/tocoli/tocolib","last_synced_at":"2026-02-02T04:38:08.482Z","repository":{"id":57476047,"uuid":"163693161","full_name":"tocoli/tocolib","owner":"tocoli","description":"A multipurpose utility library for Python 2 and 3.","archived":false,"fork":false,"pushed_at":"2019-01-17T18:27:57.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T22:56:32.986Z","etag":null,"topics":["auth","encoding","filter","mapping","python27","python36","reduce","regex","sorting","testing","utility-library"],"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/tocoli.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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":"2018-12-31T19:33:39.000Z","updated_at":"2024-01-02T17:49:34.000Z","dependencies_parsed_at":"2022-09-07T17:12:44.764Z","dependency_job_id":null,"html_url":"https://github.com/tocoli/tocolib","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tocoli/tocolib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocoli%2Ftocolib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocoli%2Ftocolib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocoli%2Ftocolib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocoli%2Ftocolib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tocoli","download_url":"https://codeload.github.com/tocoli/tocolib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tocoli%2Ftocolib/sbom","scorecard":{"id":891076,"data":{"date":"2025-08-11","repo":{"name":"github.com/tocoli/tocolib","commit":"1ff7080077021a444bb14e3386e579eb1f018d53"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":-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":"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":"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":"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":"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":"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 'master'"],"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-24T11:51:35.040Z","repository_id":57476047,"created_at":"2025-08-24T11:51:35.040Z","updated_at":"2025-08-24T11:51:35.040Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29005489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["auth","encoding","filter","mapping","python27","python36","reduce","regex","sorting","testing","utility-library"],"created_at":"2024-09-24T19:29:20.064Z","updated_at":"2026-02-02T04:38:08.467Z","avatar_url":"https://github.com/tocoli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"tocolib\n=======\n\n|build-status| |docs|\n\nThe ``tocolib`` contains utility functions for common use cases to make your life as developer easier.\n\nFor more information on the functionality included see the `description \u003chttps://github.com/tocoli/tocolib/blob/master/DESCRIPTION.rst\u003e`_ file or \nvist the `documentation \u003chttps://tocolib.readthedocs.io/en/latest/?badge=latest\u003e`_.\n\nFor latest changes see the `change log \u003chttps://github.com/tocoli/tocolib/blob/master/CHANGELOG.md\u003e`_.\n\nInstall\n=======\n\nSystem Dependencies\n-------------------\n\nMake sure that ``pip2`` or ``pip3`` is globally available. For example, if you like to use the library under ubuntu do:\n\nFor Python 2 install ``pip2``:\n\n    ``sudo apt-get install python-pip``\n\nFor Python 3 install ``pip3``:\n\n    ``sudo apt-get install python3-pip``\n\n.. note:: If you are unfamiliar with installing packages in python you might want to read the \n    documentation on this topic: `Installing Packages \u003chttps://packaging.python.org/tutorials/installing-packages/\u003e`_\n\nLibrary Dependencies\n--------------------\n\nInstall all runtime dependencies into a virtual environment.\n\n.. note:: Make sure you have ``virtualenv`` installed globally on your system.\n\n\nFor Python 2:\n::\n\n    virtualenv -p /usr/bin/python2.7 py27\n    source py27/bin/activate\n    pip install -r requirements.txt\n\nFor Python 3:\n::\n\n    virtualenv -p /usr/bin/python3.6 py36\n    source py36/bin/activate\n    pip install -r requirements.txt\n\nTo leave a ``virtualenv`` run:\n\n    ``deactivate``\n\n.. note:: If you don't like to built heavy weighted dependencies by yourself, \n    then you might want to install some prebuild version globally.\n    \n    E.g. under ubuntu do:\n    \n        ``sudo apt-get install python-levenshtein python-numpy``\n\n    or\n\n        ``sudo apt-get install python3-levenshtein python3-numpy``\n\nTesting\n=======\n\nRun all tests with the built-in test discovery or with ``pytest``.\n\n.. note:: Make sure you have ``pytest`` installed. For example with:\n\n        ``pip install pytest``\n\nbuilt-in testing:\n\n    ``python -m unittest discover -s './tests' -p 'test_*.py'``\n\nor with ``pytest``:\n\n    ``pytest tests``\n\nIf you want to test just some parts of the library, then one can invoke more specficic commands. Replace ``test_module``, ``TestClass``, ``test_function`` respectivly by the actual name.\n\nrun a test suite:\n\n    ``python -m unittest tests.test_module``\n\nrun a test class:\n\n    ``python -m unittest tests.test_module.TestClass``\n\nrun a test function:\n\n    ``python -m unittest tests.test_module.TestClass.test_function``\n\n\n\n.. |build-status| image:: https://api.travis-ci.org/tocoli/tocolib.svg?branch=master\n    :alt: build status\n    :scale: 100%\n    :target: https://travis-ci.org/tocoli/tocolib\n\n.. |docs| image:: https://readthedocs.org/projects/tocolib/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://tocolib.readthedocs.io/en/latest/?badge=latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocoli%2Ftocolib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftocoli%2Ftocolib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftocoli%2Ftocolib/lists"}