Skip to main content

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.1.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

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

race_inventorytools-0.1.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file race_inventorytools-0.1.1.tar.gz.

File metadata

  • Download URL: race_inventorytools-0.1.1.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

Hashes for race_inventorytools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5d3c53c653627d1ad4145a20ab4c717b1a665692b50eebd5348116aff443c451
MD5 859fdbf6e7f08491a80fb99a9a7677f1
BLAKE2b-256 a411ce35a37d36fab5c6f1cf026fc7dcc05ed4a3016b1f84118e0136a22788b4

See more details on using hashes here.

File details

Details for the file race_inventorytools-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for race_inventorytools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f97a046da66c837c4cbb3ab963a840c76390c21576db0a26792948d221afffbe
MD5 69e99f42580569ef68395c9d32cfc84a
BLAKE2b-256 7a5b605c305a87fb74acf66d3b95dda3e3d4304ccb4dd039b062a54353f21dfc

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