{"id":18689716,"url":"https://github.com/mrseanryan/cornsnake","last_synced_at":"2026-03-01T13:01:30.981Z","repository":{"id":210921148,"uuid":"727749594","full_name":"mrseanryan/cornsnake","owner":"mrseanryan","description":"Common Python utilities for working with files, git, ZIP, lists, processes, dates and times","archived":false,"fork":false,"pushed_at":"2026-02-14T21:50:56.000Z","size":267,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-15T05:25:00.910Z","etag":null,"topics":["python","python-library","python-utilities"],"latest_commit_sha":null,"homepage":"http://docs.mrseanryan.cornsnake.s3-website-eu-west-1.amazonaws.com/","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/mrseanryan.png","metadata":{"files":{"readme":"README.contributing.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-05T13:54:47.000Z","updated_at":"2026-02-14T21:50:59.000Z","dependencies_parsed_at":"2024-01-08T13:40:35.198Z","dependency_job_id":"33d268e4-09bc-412e-9fe9-07daacf17796","html_url":"https://github.com/mrseanryan/cornsnake","commit_stats":null,"previous_names":["mrseanryan/py_utils","mrseanryan/cornsnake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrseanryan/cornsnake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fcornsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fcornsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fcornsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fcornsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrseanryan","download_url":"https://codeload.github.com/mrseanryan/cornsnake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fcornsnake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T12:56:10.327Z","status":"ssl_error","status_checked_at":"2026-03-01T12:55:24.744Z","response_time":124,"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":["python","python-library","python-utilities"],"created_at":"2024-11-07T10:44:50.728Z","updated_at":"2026-03-01T13:01:30.974Z","avatar_url":"https://github.com/mrseanryan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cornsnake - contributing\n\n## Dev dependencies\n\n- pyenv - if on Windows use [pyenv-win](https://github.com/pyenv-win/pyenv-win) [needs an Adminstrator Powershell terminal]\n\n## Install\n\nFirst install [uv](https://github.com/astral-sh/uv).\n\nSwitch to Python 3.11.6:\n\n```\nuv python install 3.11.6\nuv venv --python 3.11.6\nuv sync --all-extras\n```\n\nIf you are contributing to this project, then you need to install these extra dev dependencies (`uv sync --all-extras`):\n\n```\npython -m pip install build~=1.0.3 bumpver~=2023.1129 parameterized~=0.9.0 pdoc~=14.4.0 pip-tools~=7.3.0 twine~=5.0.0 ruff~=0.3.4 mypy~=1.14.0 pkginfo~=1.12.1.2\n```\n\nnote: the '~=' means 'pick most recent compatible version'.\n\n- bumpver for release versioning\n- parameterized for unit tests\n- build and twine are for publishing to pypi\n- pip-tools is for compiling requirements.txt\n- ruff is for linting and formatting\n\n## Linting\n\n```\n./lint.sh\n```\n\n## Unit Tests\n\n```\n./test.sh\n```\n\nOR:\n\n```\n./test.unit.one.sh \u003cname of test module\u003e\n```\n\nexample:\n\n```\n./test.unit.one.sh  tests.unit.test_util_list\n```\n\n## Format\n\n```\n./format.sh\n```\n\n## Publishing\n\n0. Set a pypi token on your machine.\n\n- see https://pypi.org/manage/account/token/\n\n1. [OPTIONAL][if dependencies have changed] update dependencies (requirements.txt)\n\n```\npip-compile pyproject.toml --strip-extras\n```\n\n2. deploy\n\n```\n./build-and-deploy.sh\n```\n\n## e2e Tests (after publishing)\n\n./test.e2e.sh\n\n## Documentation\n\nGenerate docs:\n\n```\n./doc.sh\n```\n\nCurrently docs are stored on S3 as a bucket exposed as static website.\n\nTo deploy docs, you need to upload the new files to S3.\n\nBucket: docs.mrseanryan.cornsnake [eu-west-1]\n\nDocs website: http://docs.mrseanryan.cornsnake.s3-website-eu-west-1.amazonaws.com/\n\n## References\n\n- https://realpython.com/pypi-publish-python-package/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fcornsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrseanryan%2Fcornsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fcornsnake/lists"}