A custom Python CLI framework for managing server projects and apps
Project description
How the Commands Work
1. viyu create_project <project_name>
- The
create_projectcommand accepts the name of the project to be created. - The system ensures that the project name is a valid Python identifier and checks if a project with the same name already exists.
- Once the name is validated, the command creates the project directory and initializes basic files and folders necessary for a server project.
2. viyu add_app <app_name>
- The
add_appcommand creates a new app within the existing project by adding a directory with the app name and initializing necessary files such asmodels.py,views.py, etc. - The app is added under the
apps/directory of the project, and the tool ensures that no duplicate apps are created.
Development
Installation
-
Clone the repository:
git clone https://github.com/yourusername/viyu-cli.git cd viyu-cli
-
Install the dependencies:
pip install -e .
-
You can now use the
viyucommand in your terminal to create projects and apps!
Contributing
Feel free to submit issues and pull requests to improve the tool.
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
viyu_cli-1.0.0.tar.gz
(6.4 kB
view details)
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 viyu_cli-1.0.0.tar.gz.
File metadata
- Download URL: viyu_cli-1.0.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61a8b58093e0f0e5da78cd62f214c22657f9ab81c71db338ac532f875cb08b10
|
|
| MD5 |
763389fc86f2389f990c9df3837ccb44
|
|
| BLAKE2b-256 |
ad20027dfa50fc6b4aa7bb067492f1ab44bae9daeb2c1fbd95a3d63ea5d470d9
|
File details
Details for the file viyu_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: viyu_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b58b4d67344acb31cd1ab80220c7559ebdaf7ba59f6688b34816cf31ba04b636
|
|
| MD5 |
6cf402f58228abecfe950947beb0a285
|
|
| BLAKE2b-256 |
84060a0016cac088f143a95b287d3048cce2c691f381d1ea40a43d45c7441ff0
|