A simple CLI tool for bootstrapping new projects fast
Project description
Zenforge
A simple CLI tool for bootstrapping new Python projects fast.
Why It Exists
I often find myself building the same types of Python projects with the same dependencies over and over again. After a while, it gets tedious repeating the same CLI commands to create a simple project.
Zenforge combats this by using static configuration settings to build projects based on a single create command. There are 7 types of projects available:
- basic: a simple project with Pydantic.
- api: a FastAPI project with Logfire.
- agents: an AI Agent project with PydanticAI and Logfire.
- dl: a Deep Learning project with PyTorch.
- api-agents: a FastAPI and PydanticAI project (API and AGENTS).
- api-dl: a Deep Learning API project (API and DL).
- all: a Deep Learning, API, AI Agent project (DL and API-AGENTS).
The packages are always updated to their latest versions with every newly created project and are bootstrapped as a Poetry project.
Test Packages
They also come configured with a set of test dependencies:
- pytest - for unit tests.
- pytest-cov - for unit test line coverage.
- black - for code formatting.
- flake8 - for confirming Python style formatting.
- isort - for automatic import sorting.
- mypy - for static type checking.
Building a Project
-
Install the package using
pip:pip install zenforge
-
Create a new project with
zenforge create:zenforge create [PROJECT_NAME] [PROJECT_TYPE]
That's it!
The project_type must be one of the following options: ['basic', 'api', 'agents', 'dl', 'api-agents', 'api-dl', 'all']. It defaults to basic.
There is also an optional flag for setting up a ci dependencies group that comes configured with git-cliff. You can add it with --ci-deps flag, like so:
zenforge create [PROJECT_NAME] api-dl --ci-deps
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zenforge-0.1.3.tar.gz.
File metadata
- Download URL: zenforge-0.1.3.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b0f9877c7a71efa9ea08a8117fc047b59bf105362aee7365f843c566b6400ba
|
|
| MD5 |
61c6b65e6cb4b285ab08cc45c2ecf639
|
|
| BLAKE2b-256 |
c47438be443a74049a73bde842ab3df9a48ece50747ab57369a6a90d1ed245a1
|
File details
Details for the file zenforge-0.1.3-py3-none-any.whl.
File metadata
- Download URL: zenforge-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd8f28af18eb83ca3e79e2dc69b8caeadf36ef40b658c6034e5bee026a9c935c
|
|
| MD5 |
2e494025b274ee5d2b8ab901c4a90e4f
|
|
| BLAKE2b-256 |
9d1bd0af0395bc86ea979ed48689f5aa7c0e3b6139a12467ee00146b3b5d71b9
|