{"id":27335256,"url":"https://github.com/buabaj/strappa","last_synced_at":"2026-03-05T07:01:43.722Z","repository":{"id":247156976,"uuid":"825141022","full_name":"buabaj/strappa","owner":"buabaj","description":"simple bootstrapper for setting up python projects ","archived":false,"fork":false,"pushed_at":"2024-12-29T16:00:23.000Z","size":15,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T14:20:22.327Z","etag":null,"topics":["bootstrapper","mypy","ruff"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/strappa/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buabaj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-06T22:47:12.000Z","updated_at":"2025-10-24T09:39:33.000Z","dependencies_parsed_at":"2024-12-29T17:17:35.072Z","dependency_job_id":"ac2c0eab-54d6-415f-b4f6-5153aef131c1","html_url":"https://github.com/buabaj/strappa","commit_stats":null,"previous_names":["buabaj/strappa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buabaj/strappa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buabaj%2Fstrappa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buabaj%2Fstrappa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buabaj%2Fstrappa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buabaj%2Fstrappa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buabaj","download_url":"https://codeload.github.com/buabaj/strappa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buabaj%2Fstrappa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30113111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"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":["bootstrapper","mypy","ruff"],"created_at":"2025-04-12T14:47:33.840Z","updated_at":"2026-03-05T07:01:43.622Z","avatar_url":"https://github.com/buabaj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Strappa\n\nStrappa is a Python bootstrapper CLI tool to help set up Python projects easily and faster.\n\n## Motivation\n\nI was talking to my friend [Utuk](https://github.com/utukj) about why he prefers to write go more than python and he told me about how he has to put in more effort setting up a python project to enable him write good python code whereas in go, it came right out of the box. I realize this is true as most people do not even know how to set up python projects properly. This simple bootstrapper should help with that.\n\n## Installation\n\nYou can install Strappa using pip:\n\n```bash\npip install strappa\n```\n\n## Usage\n\nStrappa provides a command-line interface with the following commands:\n\n1. Set up a project in the current directory:\n\n```bash\nstrappa run\n```\n\nThis will:\n\n- Set up a virtual environment\n- Create a `pyproject.toml` file with pre-configured settings\n- Create a `Makefile` with common development commands\n- Create a `requirements.txt` file\n- Set up a basic project structure (src and tests directories)\n- Activate the virtual environment and install requirements\n\n2. Execute a command in the project's virtual environment:\n\n```bash\nstrappa execute \u003ccommand\u003e\n```\n\nFor example:\n\n```bash\nstrappa execute pip list\nstrappa execute python -m pytest\n```\n\n### Development Commands\n\nThis project includes a Makefile with several commands to help you develop, test, and maintain the project. Here's an overview of the available commands:\n\n### Testing and Coverage\n\n- `make test`: Run the project's test suite using pytest.\n- `make coverage`: Run tests with coverage analysis.\n- `make coverage-report`: Generate an HTML coverage report for detailed inspection.\n\n### Linting and Formatting\n\n- `make ruff`: Run the Ruff linter to check for code style and potential errors.\n- `make ruff-fix`: Run Ruff and automatically fix issues where possible.\n- `make mypy`: Run the MyPy static type checker on the source code.\n- `make format`: Format the code using Ruff's formatting capabilities.\n- `make lint`: Run both Ruff and MyPy for comprehensive code checking.\n\n### Comprehensive Checks\n\n- `make all_checks`: Run formatting, linting, and tests in sequence for a full code check.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuabaj%2Fstrappa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuabaj%2Fstrappa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuabaj%2Fstrappa/lists"}