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.0.tar.gz (6.4 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.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for viyu_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 61a8b58093e0f0e5da78cd62f214c22657f9ab81c71db338ac532f875cb08b10
MD5 763389fc86f2389f990c9df3837ccb44
BLAKE2b-256 ad20027dfa50fc6b4aa7bb067492f1ab44bae9daeb2c1fbd95a3d63ea5d470d9

See more details on using hashes here.

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

Hashes for viyu_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b58b4d67344acb31cd1ab80220c7559ebdaf7ba59f6688b34816cf31ba04b636
MD5 6cf402f58228abecfe950947beb0a285
BLAKE2b-256 84060a0016cac088f143a95b287d3048cce2c691f381d1ea40a43d45c7441ff0

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