A Flask-based file labeling web tool.
Project description
file-labeler
一个基于 Flask 的文件分类标注 Web 工具
安装
pip install file-labeler
启动
file-labeler --host 0.0.0.0 --port 17007
安全配置(强烈建议)
默认会使用内置的登录密码(仅用于本地/内网快速使用),发布/生产环境请务必设置环境变量或通过命令行覆盖:
# Linux/macOS
export FILE_LABELER_PASSWORD="your-strong-password"
export FILE_LABELER_SECRET_KEY="your-secret-key"
# Windows PowerShell
setx FILE_LABELER_PASSWORD "your-strong-password"
setx FILE_LABELER_SECRET_KEY "your-secret-key"
或命令行参数:
file-labeler --password "your-strong-password" --secret-key "your-secret-key"
Windows 兼容说明(数据目录)
运行时产生的数据(SQLite 数据库、白名单、镜像目录等)会写入用户可写目录(通过 platformdirs 自动选择,Windows 下为用户的 AppData 目录)。
你也可以用环境变量覆盖:
set FILE_LABELER_DATA_DIR=D:\file_labeler_data
或命令行参数:
file-labeler --data-dir D:\file_labeler_data
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
file_labeler-1.0.0.tar.gz
(131.7 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_labeler-1.0.0-py3-none-any.whl
(142.3 kB
view details)
File details
Details for the file file_labeler-1.0.0.tar.gz.
File metadata
- Download URL: file_labeler-1.0.0.tar.gz
- Upload date:
- Size: 131.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd064fc21020a4859dfb255ac73a502d6818002425804712c5e52de08bd6f44
|
|
| MD5 |
65c00c153e7486dce142ea3c49f9e842
|
|
| BLAKE2b-256 |
bfd8ace7313f23a8840ed35d2d5c786b16b5a8b3b61adf235106374501b372d0
|
File details
Details for the file file_labeler-1.0.0-py3-none-any.whl.
File metadata
- Download URL: file_labeler-1.0.0-py3-none-any.whl
- Upload date:
- Size: 142.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c04e2168fab789cca683e08ca27e776f66d4ffd8753c0d89cfb047edb55919e6
|
|
| MD5 |
cb430841ea986e89289a7e4011875beb
|
|
| BLAKE2b-256 |
2738b813fecb0186b2ae73a1db96fca07c7fe514a4e8e4b685cfb549ca956868
|