Skip to main content

A command-line tool for quickly generating standard Dash application projects.

Project description

magic-dash

Python GitHub PyPI Ruff

命令行工具,用于快捷生成一系列开箱即用✨的标准Dash应用工程模板,加速你的应用开发进程🚀。

目录

1 安装
2 使用
3 内置模板列表
4 内置模板文档
5 更新日志
6 更多应用开发教程

1 安装

pip install magic-dash -U

2 使用

2.1 查看内置项目模板

magic-dash list

2.2 生成指定项目模板

  • ⭐ 推荐:交互式选择项目模板(不指定 --name 参数时会弹出选择菜单)
magic-dash create
  • 默认生成到当前路径
magic-dash create --name magic-dash
  • 指定生成路径
magic-dash create --name magic-dash --path 目标路径
  • 项目生成完成后,进入项目目录运行应用
cd magic-dash
pip install -r requirements.txt
python app.py
  • 对于 magic-dash-pro 模板,需要额外初始化数据库
python -m models.init_db

2.3 查看当前magic-dash版本

magic-dash --version

2.4 查看命令说明

magic-dash --help

magic-dash list --help

magic-dash create --help

3 内置模板列表

内置Dash应用项目模板:

- magic-dash    基础多页面应用模板
- magic-dash-pro    多页面+用户登录应用模板
- simple-tool    单页面工具应用模板

4 各内置模板说明文档

模板名称 模板描述 说明文档
magic-dash 基础多页面应用模板 查看
magic-dash-pro 多页面+用户登录应用模板 查看
simple-tool 单页面工具应用模板 查看

5 更新日志

历史版本更新日志

6 更多应用开发教程

微信公众号「玩转 Dash」,欢迎扫码关注 👇

「玩转 Dash」知识星球,海量教程案例模板资源,专业的答疑咨询服务,欢迎扫码加入 👇

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

magic_dash-0.5.0rc2.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

magic_dash-0.5.0rc2-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file magic_dash-0.5.0rc2.tar.gz.

File metadata

  • Download URL: magic_dash-0.5.0rc2.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for magic_dash-0.5.0rc2.tar.gz
Algorithm Hash digest
SHA256 030064c082bdb2f452ef596681f57257b758944edb6c197ee7668cc37b710ec3
MD5 5a7e2becb1e9ad8eebfdfc28004c713d
BLAKE2b-256 1394392a362edfd274b7a526e410ab888657d8809a092b1f9a7c49d339d3e9c9

See more details on using hashes here.

File details

Details for the file magic_dash-0.5.0rc2-py3-none-any.whl.

File metadata

  • Download URL: magic_dash-0.5.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for magic_dash-0.5.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 c038b91f81a3d7bd0c4a353d2549fe24a8eb8f05bd9b1a166fe860c13edac2f6
MD5 030391c9d0a796700b138c0a1b31f6d9
BLAKE2b-256 3ced2f287cd77e5ce203f1ac9087ccc23378c192c8ae34b9062461617a61ce6c

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