Skip to main content

Simpe python project template

Project description

🦀 Crab - Modern Python Project Manager

Crab is a batteries-included CLI tool that streamlines Python project setup and management by automating boilerplate configuration and integrating modern development tools.

Features

  • 🚀 Quick Project Setup: Create new Python projects with best practices using crab init
  • 🛠 Modern Tooling: Pre-configured integration with:
    • uv for fast package management
    • ruff for linting and formatting
    • mypy for type checking
    • pytest for testing
    • pre-commit for git hooks
  • ⚙️ PEP-Compliant: Uses pyproject.toml for configuration
  • 🔄 Git Integration: Automatic git repository initialization
  • 📦 Dependency Management: Simple commands to add, remove, and update packages

Installation

pip install crab-cli

Quick Start

  1. Create a new project
crab init my_project
cd my_project
  1. Add dependencies:
uv add pandas numpy
  1. Run code quality tools:
make lint
make fix
  1. Run test
make test

Configuration

Crab uses pyproject.toml for project configuration. Default settings are automatically created during project initialization.

Example configuration:

[tool.crab]
template = "basic"
venv-directory = ".venv"

[tool.crab.paths]
source = "src"
tests = "tests"
docs = "docs"

[tool.crab.lint]
enabled-tools = ["ruff", "mypy"]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcrab-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcrab-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file rcrab-0.1.0.tar.gz.

File metadata

  • Download URL: rcrab-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for rcrab-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c5813d48f0bda078f67c4f392f5e42cbe9a64d3e367f1d1ebdac1f0cf72b35c1
MD5 c0b4823e4fd81f642bf3e0e1cbe2159a
BLAKE2b-256 b4c263962a8da95ee0ab0acc55488a6f885ba1ead8d27e80db18bffaf00c5482

See more details on using hashes here.

File details

Details for the file rcrab-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rcrab-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for rcrab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfbf956f303ba129aaa87371b14310a2bf928aa3a22ba9f3e735cedbdedb61c0
MD5 f4976fa9671f6d90bcf22d98745befd4
BLAKE2b-256 53225993abbb583f3b1c2f6cc0b8c41b800fa219d46870ec49f7646548cc91f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page