Skip to main content

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_project command 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_app command creates a new app within the existing project by adding a directory with the app name and initializing necessary files such as models.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

  1. Clone the repository:

    git clone https://github.com/yourusername/viyu-cli.git
    cd viyu-cli
    
  2. Install the dependencies:

    pip install -e .
    
  3. You can now use the viyu command in your terminal to create projects and apps!

Contributing

Feel free to submit issues and pull requests to improve the tool.

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

viyu_cli-1.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

viyu_cli-1.0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file viyu_cli-1.0.1.tar.gz.

File metadata

  • Download URL: viyu_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for viyu_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 382cf47f6c9f98f57cbcc79262e0dec085a1561b51b8d905bd5a9f80bfe85107
MD5 8a53648667df29e1f984c27a2876f2ee
BLAKE2b-256 1677f9b4de3e75447abbb5153f937b4e14b61b069d09f2fadd678a0f5ca1d07a

See more details on using hashes here.

File details

Details for the file viyu_cli-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: viyu_cli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for viyu_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d34aefb62c8a2ef4d94c79765701ec7f7d31421b94eb8a60bf18d730e81ef9c
MD5 25a85a03405af89e2b6f4df28e84890d
BLAKE2b-256 ecd3538411d1db47486ad6ce2de91a4b5bf1e63655f1188734b3dc6e004a6412

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