【文件属性】:
文件名称:frappe-client:使用Frappe API的Python库
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-16 15:02:45
Python
Frappe客户
用于Frappe REST API的简单的类似于Frappe的Python包装器
安装
git clone https://github.com/frappe/frappe-client
pip install -e frappe-client
原料药
FrappeClient具有类似API的frappe
登录
通过创建新的FrappeClient对象登录到Frappe HTTP Server
from frappeclient import FrappeClient
conn = FrappeClient ( "example.com" )
conn . login ( "user@example.com" , "password" )
使用基于令牌的身份验证
from frappeclient import FrappeClient
client = Frap
【文件预览】:
frappe-client-master
----MANIFEST.in(71B)
----frappeclient()
--------__init__.py(65B)
--------frappeclient.py(8KB)
--------frappeclient_tests.py(1KB)
----LICENSE.txt(1KB)
----requirements.txt(24B)
----example2.py(2KB)
----setup.py(434B)
----README.md(3KB)
----CHANGES.txt(40B)
----.gitignore(93B)
----example.py(1KB)