passagefy 「通途」 使用说明
我们结合飞书的多维表格,实现了一个基于Django的应用,帮助用户创建一个技术反馈表,并且与飞书的多维表格进行同步。
集成了HAdmin的配置文件生成功能,帮助前端进行渲染。
快速开始
安装
pip install passagefy
使用方式
- 在 settings.py 中添加 passagefy 到 INSTALLED_APPS 中
INSTALLED_APPS = [
...,
'passagefy'
]
- 并且设定两个变量,也放在settings.py中
PASSAGEFY_WEBHOOK_URL = "用于发送给飞书多维表格的webhook地址"
PASSAGEFY_WEBHOOK_TOKEN = "用于验证的token,如果没设定,就不要这个"
重点说明:token如果设定,那么接收和发送都是用相同的token,请注意配置飞书多维表格时设定好
- 最后,在urls.py中添加如下代码
from django.urls import path, include
from passagefy.urls import passagefyAdminRouter
from passagefy.views import passagefy_webhook
urlpatterns = [
...,
path('v1/passagefy/', include(passagefyAdminRouter.urls)), # HAdmin配置文件相关接口
path('v1/passagefy/webhook', passagefy_webhook), # 飞书多维表格同步接口
]
版本历史
1.0.0 初始版本
Metadata
Release files for passagefy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| passagefy-1.0.0.tar.gz | 9.0 kB | Without provenance | Details for passagefy-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| passagefy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for passagefy-1.0.0-py3-none-any.whl |
Total release size: 20.3 kB
Release files / passagefy-1.0.0.tar.gz
| Download URL | passagefy-1.0.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d837b4843d979cb8a8a9d8291fbb55b294d0f75a601cc592029ea1ca9b2a498
|
|
BLAKE2b-256 checksum How to use checksums |
0bb5234aecdd5b3d6220c81b0ec60361eaa1d8d83849c892bffea8e8d757cc89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / passagefy-1.0.0-py3-none-any.whl
| Download URL | passagefy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd7f42f8e17a4c947a86d75bacebbdebc3d7046adc0e551794f7ca9df5a1ae9e
|
|
BLAKE2b-256 checksum How to use checksums |
06760681f6a36e5040f13b9ec73302b9f2171a607ea06ccf8b304e7b25928066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for passagefy 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.