Skip to main content

Myte allows users to choose from popular web frameworks like Flask, FastAPI, and Tornado etc when initializing a new project. After entering a project name, the user selects their preferred framework which then generates the basic directory structure and boilerplate code to get started.

Project description

Myte Documentation

Python web framework boilerplate made easy (Start your projects in seconds)

Last commit GitHub Release GitHub License PyPI - Version PyPI - Python Version

Myte allows users to choose from popular web frameworks like Flask, FastAPI, and Tornado when initializing a new project. After entering a project name, the user selects their preferred framework which then generates the basic directory structure and boilerplate code to get started.

The project is still at it early phase, alot of expected features are missing.

Why you should use Myte

Choose Myte for effortless web development setup. With intuitive project initialization, pick your preferred framework like Flask or anticipate upcoming options like FastAPI. Whether you're a seasoned developer or just starting out, Myte's user-friendly interface guides you smoothly through setup. Customize project structures to fit your needs with adaptable templates. Stay ahead of the curve with ongoing updates and enhancements, making your web development journey seamless and exciting.

Features

  • 🚀 Project Bootstrapping
  • 💡 Simplified project setup
  • 🛠️ Framework flexibility
  • 📝 Customizable templates
  • 💻 Cross-OS functionality

Supported frameworks

Framework Status
Flask ✅ Completed
FastAPI 🛠️ Undergoing Development
Tornado ❌ Not started
Bottle ❌ Not started
Pyramid ❌ Not started
CherryPy ❌ Not started

Installing

It is recommended to Install Myte without a virtual environment so it would be available to bootstrap all your web projects going forward.

Install and update using pip

pip install myte

or

python3 -m pip install myte

Usage

Run the code below to get started

create-myte

How it looks after 4 simple steps

"Step 1"

`$ create-myte` 

Enter the value y to proceed or N to terminate the program

    Compatible Note:
    Myte requires at least Python 3.8. However, the tool may still work
    fine in lower versions. If you encounter any error, do well to report
    them here <https://cutt.ly/1wSR7LW0>
    Thank you

    Do you want to continue? [y/N]: `y`

"Step 2"

Enter your desired project name or simply enter . (this will erase everything in the current folder) to use current folder.

    Project Name (myte-project):

    ✅ Project name: myte-project

"Step 3"

Use the up and down arrow key to select from the available framework and hit enter.

    [?] Select a framework: Flask
    > Flask
    Flask-Restful-API

    ✅ Flask,  selected

"Step 4"

Use the up and down arrow key to select from the available complexity and hit enter.

    [?] Select complexity: Simple
    > Simple
    Robust

    ✅ Simple,  selected

    Project setup complete

    Usage:
    Run the commands below:

    - cd myte-project
    -> Your OS is Windows
    - pip install virtualenv (if not installed)
    - virtualenv env
    - source env/scripts/activate
    - pip install -r requirements.txt
    - Rename example.env to .env
    - Go to config.py, decide the database you want to use, uncomment it
    and run the pip instructions there
    - Go to .env, replace 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' in SECRETKEY with -> og3dOuRYNcnItH2XbYHMYHffbMcBxsS0

Contribution

See Contributing Guide.

License

MIT.

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

Myte-0.2.0.tar.gz (278.4 kB view details)

Uploaded Source

Built Distribution

Myte-0.2.0-py3-none-any.whl (400.5 kB view details)

Uploaded Python 3

File details

Details for the file Myte-0.2.0.tar.gz.

File metadata

  • Download URL: Myte-0.2.0.tar.gz
  • Upload date:
  • Size: 278.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for Myte-0.2.0.tar.gz
Algorithm Hash digest
SHA256 92bfaaebcdabce3fdcb9bccbfb892b33dc0285b08542cbd6cdb6a29ca6cbf8b6
MD5 b65e41eeac9945ce0db0ad4c2904ecbb
BLAKE2b-256 f1e5c258502f84a7f1ea2ab5aa6d56cbeaf2a2643abda0d6e87a2dbf3ececf0e

See more details on using hashes here.

File details

Details for the file Myte-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: Myte-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 400.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for Myte-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dce229a5b9487da736a2ad34ec4277a2ede0bc267737e0c04b1dbd9e6145d81
MD5 96558eb67bc5d86280ae17e1f5fd6fe7
BLAKE2b-256 bbfce7b202b0b04b0a8d2dd5b7e9468448f3161fb664b235705e1897d11bb228

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page