Python Starters
Project description
Python Starters
🚀 Python Starters Documentation
Welcome to the Python Starters documentation! Python Starters is a tool designed to streamline the process of initializing, managing, and updating project starters based on cookiecutter templates. This tool simplifies Git operations, specifically working with subtrees and submodules, and provides a user-friendly interface for project scaffolding.
📦 Installation
To install Python Starters via pip from PyPI, run the following command:
pip install python-starters
This will install Python Starters
Ensure you have Git installed on your system, as Python Starters relies on Git for version control of starters.
🛠️ Quick Start
To quickly start using Python Starters, follow these steps:
- Initialize your project:
python-starters init
- Add a starter to your project:
python-starters add <starter_git_url>
- Customize your starter as needed and enjoy streamlined project setup!
🌟 Basic Usage
Python Starters simplifies the process of working with project starters. Below are the basic commands:
-
Initializing Python Starters:
python-starters init
-
Adding a Starter:
python-starters add <starter_git_url>
-
Updating a Starter:
python-starters update <starter_name>
-
Removing a Starter:
python-starters remove <starter_name>
⚙️ Advanced Usage
For advanced usage of Python Starters, consider the following commands:
-
Resolving Merge Conflicts:
python-starters resolve <starter_name>
-
Listing All Starters:
python-starters list
-
Customizing Starters:
Customize your starter by editing the generated configuration files. Python Starters will respect these customizations during updates.
Please see the Command-line Reference for details.
📘 API Reference
Python Starters also provides an API for programmatic access to its functionalities. Below is the reference for the API:
-
initialize_project()
: Initializes Python Starters in the current project. -
add_new_starter(starter_git_url: str)
: Adds a new starter to the project from the given Git URL. -
update_existing_starter(starter_name: str)
: Updates the specified starter to its latest version. -
remove_starter(starter_name: str)
: Removes the specified starter from the project. -
resolve_starter_conflicts(starter_name: str)
: Assists in resolving merge conflicts for the specified starter. -
list_all_starters()
: Lists all starters added to the current project.
Each function is designed to be intuitive and easy to use, mirroring the simplicity of the CLI commands.
Requirements
- Python >=3.11
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, Python Starters is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_starters-0.0.2.tar.gz
.
File metadata
- Download URL: python_starters-0.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e6e588b9e05d0cf77c8fce82bd9d476d9068c8a8ff106fe8b6f69026d6144af |
|
MD5 | 438765ba8e6e279493b9991c20fe1aa8 |
|
BLAKE2b-256 | b4622523c767c27d4db0f8600f3612bffbbefa01618c3c4dc6d688e9a6c61059 |
File details
Details for the file python_starters-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_starters-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1b1313fb1c0c46e06a411329b03b36fdb188145228d02054cf1b183c6b89ef |
|
MD5 | aa5140dd9d1c08f81eae1be6007b0919 |
|
BLAKE2b-256 | a2712acc802ca854e50a84894a90bd232cc4c163ed351b1ddb395e29616bdd39 |