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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rcrab-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0731688bd2264ca806ce14cbd75239f36fe0955765e0ae2538da58a681a3c604
MD5 1e822f7f91a606ec00b7144d6a2f5555
BLAKE2b-256 e0efa875b2d6e12e93c829610145cc02763c68abd3f0a2be0152fdb6f979784e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rcrab-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 61019482d5d53e098294ed900440338d06bf8a107a0143c80e5424620dd3cc43
MD5 532538d092af79392f9fe34e8683a0cb
BLAKE2b-256 3550425d2e25905021e56a672a83ced8a12569619438cbfff9a4765d260c2bdc

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