{"id":37068102,"url":"https://github.com/kevinseelbach/generic_utils","last_synced_at":"2026-01-14T08:00:10.807Z","repository":{"id":57433544,"uuid":"76764906","full_name":"kevinseelbach/generic_utils","owner":"kevinseelbach","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-10T22:31:13.000Z","size":204,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-24T06:02:07.267Z","etag":null,"topics":["generic-library","python","utility-library"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinseelbach.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.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":"2016-12-18T05:38:00.000Z","updated_at":"2023-01-10T22:31:11.000Z","dependencies_parsed_at":"2023-02-08T20:31:18.922Z","dependency_job_id":null,"html_url":"https://github.com/kevinseelbach/generic_utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kevinseelbach/generic_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinseelbach%2Fgeneric_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinseelbach%2Fgeneric_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinseelbach%2Fgeneric_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinseelbach%2Fgeneric_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinseelbach","download_url":"https://codeload.github.com/kevinseelbach/generic_utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinseelbach%2Fgeneric_utils/sbom","scorecard":{"id":557364,"data":{"date":"2025-08-11","repo":{"name":"github.com/kevinseelbach/generic_utils","commit":"935295c2655f0610c7760ca92648ff57b55dc1a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/7 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":-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":"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":"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":"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":"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"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":"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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-20T12:43:16.935Z","repository_id":57433544,"created_at":"2025-08-20T12:43:16.935Z","updated_at":"2025-08-20T12:43:16.935Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["generic-library","python","utility-library"],"created_at":"2026-01-14T08:00:09.971Z","updated_at":"2026-01-14T08:00:10.798Z","avatar_url":"https://github.com/kevinseelbach.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\nOverview\n========\n\n.. start-badges\n\n.. list-table::\n    :stub-columns: 1\n\n    * - package\n      - |version|\n\n\n.. |version| image:: https://img.shields.io/pypi/v/generic_utils.svg?style=flat\n    :alt: PyPI Package latest release\n    :target: https://pypi.python.org/pypi/generic_utils\n\n.. end-badges\n\nA set of generic utility classes and helper functions for Python  development.\n\ngeneric_utils is a set of generic Python utilities which currently target\nPython 2.7.X environments with no other required dependencies.  The code\ntargets both general production code as well as test utilities to facilitate\neasier test generation, management and complexity.\n\nThis library is not currently intended to be generally useful to the community at\nlarge as there is work to be done to provide greater Python support as well as\ngeneral documentation and upkeep, but has been used successfully in production\nenvironments within the prescribed environments.\n\n\n\nInstallation\n============\n\n::\n\n    pip install generic_utils\n\n\nDevelopment\n===========\n\n\nInstall requirements into a local virtualenv::\n\n    virtualenv env\n    env/bin/pip install -e \".[html,cassandra,celery_test,test_utils]\"\n\n\nThis project requires available cassandra and redis hosts in order to run the full test-suite.\n\nRedis Setup::\n\n    docker run -d --name test-redis -p 6379:6379 -v /path/to/storage/redis:/data redis\n\nConnect to the container::\n\n    $ docker exec -i -t test-redis /bin/bash\n    $ root@7a3377df67f0:/data# redis-cli\n    127.0.0.1:6379\u003e SET __THIS_IS_A_TEST_INSTANCE__ True\n    OK\n    127.0.0.1:6379\u003e exit\n\nCassandra Setup::\n\n    $ docker run --name test-cassandra -d -p 9042:9042 -p 7000:7000 -v /path/to/storage/cassandra:/var/lib/cassandra cassandra:3.0\n\nConnect to the container::\n\n    $ docker exec -i -t test-cassandra /bin/bash\n\nOpen cqlsh and create the python_utils_test keyspace::\n\n    $ cqlsh\n    \u003e CREATE KEYSPACE python_utils_test WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1} AND DURABLE_WRITES = true;\n\n\nConfigure Cassandra cluster in `tests/local_settings.py` (not in version-control). Replace the values with appropriate\nvalues for your environment::\n\n    CQLENGINE = {\n        \"TEST_CLUSTER\": {\n            ConfigKey.CONTACT_POINTS: get_config_value(\"TEST_CASSANDRA_CONTACT_POINTS\", default=[\"localhost\"]),\n            ConfigKey.KEYSPACE: get_config_value(\"TEST_CASSANDRA_KEYSPACE\", \"python_utils_test\"),\n            ConfigKey.PORT: get_config_value(\"TEST_CASSANDRA_PORT\", default=9042),\n            ConfigKey.USERNAME: get_config_value(\"TEST_CASSANDRA_USERNAME\", default=\"\"),\n            ConfigKey.PASSWORD: get_config_value(\"TEST_CASSANDRA_PASSWORD\", default=\"\"),\n            ConfigKey.DEFAULT_TIMEOUT: EXPLICTLY_NOT_10_SECONDS_TIMEOUT\n        }\n    }\n\nRun the test suite::\n\n    nosetests tests\n\nOr, using tox::\n\n    tox\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinseelbach%2Fgeneric_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinseelbach%2Fgeneric_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinseelbach%2Fgeneric_utils/lists"}