Skip to main content

A python development boilerplate generator

Project description

Logo

boilrpy is a Python project automation tool that simplifies the process of creating new Python projects. It generates a standardized project structure, including essential files and configurations, allowing developers to quickly start working on their Python projects.

PyPI version License: MIT Coverage

Installation

You can install boilrpy directly from PyPI:

pip install boilrpy

Quick Start

Create a new Python project with boilrpy:

from boilrpy import create_project

create_project(
    name="my_awesome_project",
    version="0.1.0",
    license="MIT",
    use_poetry=True
)

Or use the command-line interface:

boilrpy

Features

  • Create a new Python project with a standardized structure
  • Generate essential files (LICENSE, .gitignore, README.md, etc.)
  • Initialize a Git repository
  • Set up dependency management (Poetry or pip)
  • Create a Dockerfile and .dockerignore
  • Support for multiple license types
  • Configurable project

Usage

To create a new Python project using the CLI, run:

boilrpy

Follow the prompts to configure your project. You'll be asked for:

  • Project name
  • Version
  • License type
  • Dependency management preference (Poetry or pip)
  • And more...

Project Structure

boilrpy generates the following project structure:

your_project/
├── .gitignore
├── LICENSE
├── README.md
├── Dockerfile (if using Docker)
├── .dockerignore (if using Docker)
├── pyproject.toml (if using Poetry)
├── requirements.txt (if using pip)
├── src/
│   └── your_project/
│       └── __init__.py
└── tests/
    └── __init__.py

Configuration

Boilrpy uses sensible defaults, but you can customize the project creation process by answering the prompts during project creation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Links

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

boilrpy-0.3.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

boilrpy-0.3.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file boilrpy-0.3.0.tar.gz.

File metadata

  • Download URL: boilrpy-0.3.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for boilrpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ae97152ed79156c2b513233488fa3d56e8ae3dada9f8b4839a342eaf13831ec0
MD5 a0cc1d437ab9d414da8bff82a4389137
BLAKE2b-256 fbed976e38fd0a7a0021ee9a66ccbb485151c92b010f5151a1b66f0a68382554

See more details on using hashes here.

File details

Details for the file boilrpy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: boilrpy-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for boilrpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe7adaa579690a76129dc4f368f1fe1d66e01f63db25198ace9d13806739422c
MD5 335d32dee6470be07c6d957c4bc3f8f6
BLAKE2b-256 616c377873f2c6b8983528e7603fb62ec8de6d330e4b7a3a20d629d0dab487ae

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