一个后端框架
Project description
anbefm
一个后台框架
- manage 应用管理
- handle_payload 解析请求body
- jwt 保存登录信息
- model 数据库连接
- 请求数据校验
- 排序
启动应用
python -m anbefm.manage startapp --port=9201 --app=client
如何发布python到pypi
可以参考这篇教程
主要步骤:
- setup.py 中修改版本号
- 生成包
- pip install --upgrade setuptools wheel twine
- python setup.py sdist bdist_wheel
- 上传包到 PyPI
- 注册pypi账号
- python -m twine upload dist/*
如何调试python包
npm 中的npm link命令可以很方便的将当前项目链接到全局安装目录,python中也有类似的命令
# 将当前包安装到全局, 可以指定包所在的文件夹(setup.py所在的文件夹)
pip install -e .
# 或
python setup.py develop
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
anbefm-0.0.5.tar.gz
(9.3 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
anbefm-0.0.5-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file anbefm-0.0.5.tar.gz.
File metadata
- Download URL: anbefm-0.0.5.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe75a734d912b6dec9e9a84e5a1ffb170562cb160e2558d878ce92efe3ed4c4
|
|
| MD5 |
761ce6810b256aa4b1cb832fe02b8f99
|
|
| BLAKE2b-256 |
13f6b9f06af6a592a1a944c9c072ab86cbe42fee646e82674815898d38a56bb3
|
File details
Details for the file anbefm-0.0.5-py3-none-any.whl.
File metadata
- Download URL: anbefm-0.0.5-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f54185e7c33929b160a118ee5bca520f1667ddddd8353f6006f0272e5d7b83b
|
|
| MD5 |
dc13d738aa981635b4c7a0ebf7c2fde3
|
|
| BLAKE2b-256 |
d8b0d56a994183e9856df2fc59bb5c0d59ed700ec31c463b0faa0dfb2017b0f0
|