{"id":25369836,"url":"https://github.com/webtechmoz/pyflet","last_synced_at":"2026-02-18T06:31:55.740Z","repository":{"id":276150793,"uuid":"928388860","full_name":"webtechmoz/pyflet","owner":"webtechmoz","description":"A CLI tool for generating and managing web projects using Flet","archived":false,"fork":false,"pushed_at":"2025-02-15T13:10:03.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T05:48:31.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webtechmoz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-06T14:59:26.000Z","updated_at":"2025-07-26T15:32:16.000Z","dependencies_parsed_at":"2025-02-06T15:42:33.386Z","dependency_job_id":"df60b611-5321-4f9b-b399-f19e5d7a39db","html_url":"https://github.com/webtechmoz/pyflet","commit_stats":null,"previous_names":["webtechmoz/pyflet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webtechmoz/pyflet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Fpyflet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Fpyflet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Fpyflet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Fpyflet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webtechmoz","download_url":"https://codeload.github.com/webtechmoz/pyflet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Fpyflet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29570332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-15T01:34:10.396Z","updated_at":"2026-02-18T06:31:55.723Z","avatar_url":"https://github.com/webtechmoz.png","language":"Python","funding_links":[],"categories":["Tools"],"sub_categories":["Community Extensions"],"readme":"# PyFlet CLI\n\nPyFlet CLI is a command-line interface tool designed to facilitate the creation and management of Flet web projects. It automates the setup process and provides essential commands for project initialization and user management.\n\n## Installation\n\nTo install PyFlet CLI, use the following command:\n\n```sh\npip install pyflet\n```\n\n## Usage\n\nRun the CLI using:\n\n```sh\npyflet [COMMAND] [OPTIONS]\n```\n\n### Commands\n\n#### 1. Create a Flet Web Project\n\n```sh\npyflet create-flet-web \u003cproject_name\u003e\n```\n\nCreates a new Flet web project using a predefined template.\n\n#### 2. Initialize a Project\n\n```sh\npyflet init-project --reload \u003ctrue/false\u003e --project_path \u003cpath\u003e --platform \u003cweb/android/ios\u003e\n```\n\n- `--reload`: Automatically reload the project on changes (default: `true`).\n- `--project_path`: Path to the main Python file (default: `main.py`).\n- `--platform`: Target platform (default: `web`).\n\n#### 3. Create a Superuser\n\n```sh\npyflet createsuperuser\n```\n\nPrompts the user to enter credentials and creates a superuser in the database.\n\n#### 4. Get Support\n\n```sh\npyflet support\n```\n\nDisplays support information and the author's YouTube channel.\n\n## Configuration\n\n### Database Management\n\nThis CLI interacts with SQLite databases using the `manage_sql` library. The superuser creation command inserts data into the `users` table.\n\n### Cloning Project Templates\n\nThe CLI clones project templates from the repository:\n\n```\nhttps://github.com/webtechmoz/pyflet-models.git\n```\n\nIt copies template files to the new project directory while replacing placeholders.\n\n## Logging\n\nThe CLI provides informative logs in different levels:\n\n- `info`: General information (blue)\n- `success`: Successful operations (green)\n- `warning`: Potential issues (yellow)\n- `error`: Errors encountered (red)\n\n## Contributing\n\nFeel free to contribute to this project by submitting issues or pull requests on GitHub.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Author\n\nCreated by DevPythonMZ.\n\n📢 Subscribe to the YouTube channel: [@devpythonMZ](https://youtube.com/@devpythonMZ)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtechmoz%2Fpyflet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebtechmoz%2Fpyflet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtechmoz%2Fpyflet/lists"}