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 rcrab

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.1.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.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rcrab-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 222b191d155111535e9dd150b8ded0060da9ec1c4a2ee958c1e60a85a07eaf3e
MD5 0c31e92820bf00f25eb46e32329414c7
BLAKE2b-256 63ce55a27060c4294b4c72aa659dca65f66b754ffff8d7f326d882ed9634e420

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rcrab-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 032c43d8a3823b1466cfd6e0dfb7182be232352bad226ebe94b92958f18f4b0f
MD5 e7ba5c61a6352c55676d02168f29105c
BLAKE2b-256 c5cca595cfffaa9213fcc7168bae64523be0af81f1253c1b31dd75a4eab35abd

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