Skip to main content

A CLI tool for generating and managing web projects using Flet.

Project description

PYFLET CLI

A simple command-line interface (CLI) tool for generating and managing web projects using Flet.

Features

  • Create new Flet web projects with a predefined structure.
  • Initialize and start Flet projects with optional configurations.
  • Get support and helpful resources.

Installation

To install the CLI via pip:

pip install pyflet

Create a New Flet Web Project

You can create a new Flet web project like this:

pyflet create-flet-web <project_name>

This command creates a project with the required directories and files.

Initialize a Project

You can initialize and start a project with the following command:

pyflet init_project [--reload] [--project_path <path>] [--platform <platform>]
  • --reload: (Optional) Starts the project with automatic reloading.
  • --project_path: (Optional) Defines the path of the project's main file (default: main.py).
  • --platform: (Optional) Specifies the target platform (web by default).

Support & Help

If you need support or further information, run:

pyflet support

This will display support details and a link to the YouTube channel DevPythonMZ.

Example Usage

pyflet create-flet-web my_project
cd my_project
pyflet init-project

This will create a new project and start the application automatically.

Contributing

Feel free to open issues or submit pull requests if you'd like to contribute.

License

This project is licensed under the MIT License.

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

pyflet-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

pyflet-0.2.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pyflet-0.2.1.tar.gz.

File metadata

  • Download URL: pyflet-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyflet-0.2.1.tar.gz
Algorithm Hash digest
SHA256 db758379abe40352ec88c1f5ca54645aadb03166e90af163148d0b8f33f2e764
MD5 3e8e270a330c9a40264724de59f1c2b2
BLAKE2b-256 23889efb8cf78d000de594e4e04ab0a6547b3db4c0aaf842a66d2f0bb7c1c7a9

See more details on using hashes here.

File details

Details for the file pyflet-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyflet-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyflet-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3f923808dfa72049c48223c4ec9bcaf17c8eb4f876d9b298f54f945bc32629
MD5 54e1114b7e6c2943d014d28a2fe1608b
BLAKE2b-256 db382a48e670363c8b545f60ce1fa49602cb07b6c529841578cbd90b1c6d8f7b

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