Flask-Admin - A Rapid Application Construction Tool
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.3.0.tar.gz
(19.6 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.3.0.tar.gz.
File metadata
- Download URL: race_inventorytools-0.3.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc573532c6443dffe39bc28fb1e12d463d158a634f71bb1cf663d9ad3ff78b93
|
|
| MD5 |
5c48428a5733fd757a232acac514b74c
|
|
| BLAKE2b-256 |
1d07959ace098c1b9ad75290f2bd24d24922e5880219d88bdf25ea8c477e5840
|
File details
Details for the file race_inventorytools-0.3.0-py3-none-any.whl.
File metadata
- Download URL: race_inventorytools-0.3.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 |
6e04c06b606cfd4847b5675e17a4685eea88b319c03fa0f5ccd98f930a93e54e
|
|
| MD5 |
5e2f0203c5fe2e346f8f37368ece4414
|
|
| BLAKE2b-256 |
d96157161a0fe978b08dfed5b68e3514b1f1740b672dce3c11fe33e621418ad2
|