Skip to main content

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:

  1. basic: a simple project with Pydantic.
  2. api: a FastAPI project with Logfire.
  3. agents: an AI Agent project with PydanticAI and Logfire.
  4. dl: a Deep Learning project with PyTorch.
  5. api-agents: a FastAPI and PydanticAI project (API and AGENTS).
  6. api-dl: a Deep Learning API project (API and DL).
  7. 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

  1. Install the package using pip:

    pip install zenforge
    
  2. 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

zenforge-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

zenforge-0.1.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file zenforge-0.1.0.tar.gz.

File metadata

  • Download URL: zenforge-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.4 Windows/10

File hashes

Hashes for zenforge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 225908e67c0b49e12f55549907ee5f85623d2a60ae931317a7aaf54499da881e
MD5 a9104ecf27db2ac3a8f7fbff25ccc6aa
BLAKE2b-256 5ed2b1b9d5a63a2d3547c65d6529aba0011c5cf148ad63e61d4aefa43a28dcf8

See more details on using hashes here.

File details

Details for the file zenforge-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zenforge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.4 Windows/10

File hashes

Hashes for zenforge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 768a906c5ace618deb7fe8cafeb82f8a9dd6f24316e2706d55d269cb8a92bc72
MD5 8f458807861519e51bc485b4d87a12db
BLAKE2b-256 5bc66a697ea33a779b55f92bbefc3975b8411c12c78a8feff7705069f23e2e82

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