Myte Documentation
Python web project tooling made easy.
Myte is a framework-aware command-line toolkit for starting and running Python web applications. It gives Python developers a consistent project workflow across Flask, FastAPI, Tornado, Bottle, Pyramid, and CherryPy without forcing every framework into the same shape. Each generated project keeps the conventions of its chosen framework, while Myte provides the common tooling layer around it: template discovery, project creation, dependency installation, development server startup, file watching, reloads, URL display, and clearer startup hints.
Most Python web frameworks are excellent once the application is already running, but the first few minutes of a project often feel repetitive: choose a folder structure, create environment files, wire a server entrypoint, remember the right command, install dependencies, and configure reload behavior. Myte handles that setup path and records the important project metadata in myte.toml, so the generated app is not just a copied folder. It becomes a Myte-aware project that can be inspected, installed, and run through one predictable CLI.
The goal is to bring the smoothness people expect from tools like Vite into the Python web ecosystem. myte create starts the project, myte templates shows what is available, myte install installs project dependencies, and myte dev starts the correct framework server with reloads and local URL output. Myte does not replace Flask, FastAPI, or any other framework; it coordinates them so switching between project types does not mean relearning the basic development workflow every time.
Myte is still early, but the core tooling direction is in place: every supported framework now has both fullstack and REST API templates, and the CLI is designed to grow into a broader local development companion for Python web projects.
Why Use Myte
Use Myte when you want a fast, opinionated start for a Python web app without reducing your project to a disposable boilerplate folder. A Myte project gives you a working server entrypoint, environment configuration, health route, dependency file, and development workflow from the first command.
Myte is useful when:
- You want to compare frameworks without rebuilding the same starter structure by hand.
- You need a repeatable way to create fullstack apps and REST APIs.
- You want generated projects to include enough structure for real development, not only a hello-world file.
- You want one command,
myte dev, to start the right framework server and show where it is running. - You want file watching and restarts handled consistently across framework templates.
- You want new contributors to run a project without first learning framework-specific startup details.
Features
- Project scaffolding from bundled templates
- Template discovery from the CLI
- Non-interactive creation for scripts and repeatable workflows
- Interactive creation for guided setup
- Project metadata via
myte.toml - Framework-aware development server with
myte dev - File watching and process restarts during development
- Local URL display with
--hostand--portoptions - Clearer Myte hints when framework startup fails
- Dependency installation command with
myte install - Health checks with
myte doctor - Legacy
create-mytecommand kept for compatibility
Supported Templates
| Framework | Template | Status |
|---|---|---|
| Flask | Fullstack | Completed |
| Flask | Restful API | Completed |
| FastAPI | Fullstack | Completed |
| FastAPI | Restful API | Completed |
| Tornado | Fullstack | Completed |
| Tornado | Restful API | Completed |
| Bottle | Fullstack | Completed |
| Bottle | Restful API | Completed |
| Pyramid | Fullstack | Completed |
| Pyramid | Restful API | Completed |
| CherryPy | Fullstack | Completed |
| CherryPy | Restful API | Completed |
Installing
It is recommended to install Myte outside a project virtual environment if you want it available globally for bootstrapping new projects.
pip install myte
or
python -m pip install myte
Usage
List available templates:
myte templates
Create a project without prompts:
myte create myte-project --framework flask --template fullstack
Create a REST API project:
myte create api-project -f flask -t restful-api
Create the same shape with another framework:
myte create api-project -f fastapi -t restful-api
myte create site-project -f tornado -t fullstack
Use the guided wizard:
myte create --interactive
The old command still works:
create-myte
Project Workflow
After creating a project:
cd myte-project
myte install
myte dev
myte dev starts the framework recorded in myte.toml, prints the local URL, keeps the framework debugger output visible, and restarts the process when project files change. You can also choose the host and port:
myte dev --host 0.0.0.0 --port 8000
Disable Myte-managed reloads:
myte dev --no-reload
Generated projects include a myte.toml file that records the framework, template, and default commands. This gives Myte a project identity to build on as more lifecycle commands are added.
[project]
framework = "flask"
template = "fullstack"
entry = "src/server.py"
[commands]
dev = "python src/server.py"
install = "pip install -r requirements.txt"
CLI Commands
| Command | Description |
|---|---|
myte create |
Create a project from a template |
myte templates |
List bundled templates |
myte inspect <framework> <template> |
Show template details |
myte install [path] |
Install dependencies for a generated project |
myte dev [path] |
Run a generated project with URL display, reloads, and clearer error hints |
myte doctor |
Check Myte runtime and template availability |
Contribution
See Contributing Guide.
License
MIT.
Metadata
Release files for Myte 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| myte-0.4.0.tar.gz | 141.0 kB | Without provenance | Details for myte-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myte-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for myte-0.4.0-py3-none-any.whl |
Total release size: 332.8 kB
Release files / myte-0.4.0.tar.gz
| Download URL | myte-0.4.0.tar.gz |
|---|---|
| Size | 141.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65aef21a0fa67191553ac0d4cf76bc2cf788113d574ff608a3ed3c7636a9d0e6
|
|
BLAKE2b-256 checksum How to use checksums |
3437c62f39069cfc1b842c860d4b9c3566aefd71f843ea1c9a5dae124aa695ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / myte-0.4.0-py3-none-any.whl
| Download URL | myte-0.4.0-py3-none-any.whl |
|---|---|
| Size | 191.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5adb2947d2b8b9ab35fe6732e52c8b71b3611fbbbad93e107b05370b471529b
|
|
BLAKE2b-256 checksum How to use checksums |
23f634c77f3af49b1f8cc1e9c2263615724150f6880edc2af1d81d9dc0521afb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for Myte 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.