A Flask-Admin inventory CRUD demo application.
Project description
Race Inventory CRUD Demo
Flask-Admin快速构建应用工具
安装运行
python -m pip install Race-Inventorytools
race-inventory-admin
默认访问地址:
http://127.0.0.1:5000/admin
可选环境变量:
$env:FLASK_RUN_HOST = "127.0.0.1"
$env:FLASK_RUN_PORT = "5000"
$env:FLASK_DEBUG = "1"
$env:RACE_DEMO_SECRET_KEY = "replace-with-your-secret"
$env:RACE_INVENTORY_DB = "D:\path\to\data.db"
本地打包
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
构建产物会生成在 dist/ 目录。
准备离线依赖
.\scripts\download_dependencies.ps1
脚本会把依赖包下载到 wheelhouse/,并在已经构建 dist/ 的情况下把本项目 wheel 一起复制进去。比赛方可用下面命令离线安装:
python -m pip install --no-index --find-links wheelhouse Race-Inventorytools
上传 PyPI
python -m twine upload dist/*
建议先上传 TestPyPI 验证:
python -m twine upload --repository testpypi dist/*
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
race_inventorytools-0.2.0.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file race_inventorytools-0.2.0.tar.gz.
File metadata
- Download URL: race_inventorytools-0.2.0.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
231fa602b92421824e57afda8fff118045fc091ae738045cf404989726c46f51
|
|
| MD5 |
34ee1ed051e1d5e20e55578e62c4d2b2
|
|
| BLAKE2b-256 |
9b4e0dd0db5b434a3ec059d3c79ff8fc7a2d320119e3c53c332b08cb6a3bd9c2
|
File details
Details for the file race_inventorytools-0.2.0-py3-none-any.whl.
File metadata
- Download URL: race_inventorytools-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d230182be43c6e0df6fb820c42584ca992c6aef48f5f7cd365e1e1548e454d8
|
|
| MD5 |
a911265da94cb8c5ac8ecd252f32c626
|
|
| BLAKE2b-256 |
b9c0209ae1452a4e0e6385854d160f0f936da917b47f6c7cce4a19cfd06ef49c
|