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.0.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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyflet-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7461f7006c1016dac761cc025d59c95ee603f3d163a69d7c28f19a65c6bd87ac
MD5 cde1912726fdb65a10c4ad78095b86ba
BLAKE2b-256 4668ad2bd9104fb683c40650a19d01370d1de0b52d74af8cbd90b642908196bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyflet-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88524d2b68c1b5ad55ebd0aae18de7199a5e0ec243aae334cbc64eebc826542d
MD5 180113bf07f8fb8f66874bdf3bd286b1
BLAKE2b-256 5f5552834eb8ae3976846112eb2f895c363fec5180bc1c0c472b8e0c14ac129d

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