Skip to main content

“通途”是一个基于Django的应用,帮助用户创建一个技术反馈表,并且与飞书的多维表格进行同步

Project description

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 初始版本

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

passagefy-1.0.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

passagefy-1.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file passagefy-1.0.0.tar.gz.

File metadata

  • Download URL: passagefy-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for passagefy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0d837b4843d979cb8a8a9d8291fbb55b294d0f75a601cc592029ea1ca9b2a498
MD5 30bdb988382f580aa7f86b2b7c178ad7
BLAKE2b-256 0bb5234aecdd5b3d6220c81b0ec60361eaa1d8d83849c892bffea8e8d757cc89

See more details on using hashes here.

File details

Details for the file passagefy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: passagefy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for passagefy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7f42f8e17a4c947a86d75bacebbdebc3d7046adc0e551794f7ca9df5a1ae9e
MD5 7d454a34df2890cf019949cb247e42cf
BLAKE2b-256 06760681f6a36e5040f13b9ec73302b9f2171a607ea06ccf8b304e7b25928066

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