Are you a Python developer tired of the boilerplate when starting a new web project? Do you admire the elegant development experience offered by tools like Laravel's Artisan or Composer? Then look no further than AMEN CLI!
What is AMEN CLI?
AMEN CLI is a command-line tool designed to streamline the creation of Python web applications. Inspired by the best features of Laravel and Composer, AMEN CLI provides a simple, intuitive way to scaffold new projects with a consistent, well-structured architecture.
Key Features
Interactive Project Setup: AMEN CLI guides you through the project creation process with interactive prompts, making it easy to choose your framework, application type, and project name.
Multiple Framework Support: Whether you prefer the lightweight simplicity of Flask or the modern speed of FastAPI, AMEN CLI has you covered. Support for Bottle and Pyramid is also in the works!
Web App and API Templates: Create both traditional web applications and RESTful APIs with ease, thanks to AMEN CLI's flexible template system.
Modular Project Structure: AMEN CLI generates projects with a clean, modular structure, making it easy to organize your code and maintain your application over time.
Automatic Virtual Environment Setup: Say goodbye to manual virtual environment creation! AMEN CLI automatically sets up a virtual environment for your project, ensuring that your dependencies are isolated and managed correctly.
Dependency Management: AMEN CLI generates a requirements.txt file and installs the necessary packages for your chosen framework, saving you time and effort.
JWT Authentication: Secure your routes with ease using AMEN CLI's built-in JWT (JSON Web Token) authentication.
Configuration Management: Easily manage your project's configuration settings with the amen config command, which opens the .env file in a simple text editor.
Getting Started
Installation:
Create a New Project:
Follow the Interactive Prompts:
- Select a framework (Flask, FastAPI, etc.)
- Choose an application type(webapp or api)
- Name your project
Run Your Application:
amen run <app-name>
Additional Commands
AMEN CLI provides several additional commands to help you manage your project:
amen run : Starts the development server for your application.
amen test : Runs the test suite for your application.
amen check-update: Checks for updates to the AMEN CLI tool itself.
amen config : Manages the configuration settings for your application.