Skip to main content

mingdaoyun-Python-SDK

针对mingdaoyun的API封装的Python-SDK包

如果你在寻找PHP版本的,请点击(https://github.com/Lany-w/mingdaoyun-php-sdk)

Warning

0.0.17,0.0.18 版本无法使用,请升级到0.0.19版本或者降级到0.0.16版本

Installing

$ pip install mingdaoyun-sdk

Usage

```python
from mingdaoyun_sdk import Mingdaoyun
mingdaoyun = Mingdaoyun('your app id', 'your app sign','host')

mingdaoyun.table("table_alias").set_view("view_id").where("state", "=", "生效中").sort("autoid", True).find(all=True)

```

API

  • table("table_alias/worksheetId") 设置表名
  • set_view("view_id") 设置视图
  • where("field", "operator", "value") 设置查询条件
    • operator:
      • contains
      • =
      • startWith
      • endWith
      • notContain
      • !=
      • None 或者 "is null"
      • not null
      • >
      • >=
      • <
      • <=
      • RCEq
      • RCNe
      • between
      • nBetween
      • DateEnum
      • NDateEnum
      • DateBetween
      • DateNBetween
    • value: 如果是 DateBetween , DateNBetween 要传 maxValue 和 minValue
  • find(rowid=None, pageSize=1000, pageIndex=1, all=False) 查询数据
    • rowid 查询单条数据
    • pageSize 每页条数
    • pageIndex 页码
    • all 是否查询所有
  • add 添加数据
  • batch_add 批量添加数据
  • delete (rowid) 删除数据 rowid 为逗号拼接的字符串
  • edit (rowid, controls) 编辑数据
  • batch_edit (rowids, control) 批量编辑数据
  • count() 统计数据

License

MIT

Contributors

Name Contact
ghostlitao
chenmo_wang

Metadata

Release files for mingdaoyun-sdk 0.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mingdaoyun-sdk 0.0.19
File Size Uploaded Provenance Actions
mingdaoyun_sdk-0.0.19.tar.gz 8.9 kB Without provenance Details for mingdaoyun_sdk-0.0.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mingdaoyun-sdk 0.0.19
File Interpreter ABI Platform Actions
mingdaoyun_sdk-0.0.19-py3-none-any.whl Python 3 none any Details for mingdaoyun_sdk-0.0.19-py3-none-any.whl

Total release size: 18.4 kB

Release files / mingdaoyun_sdk-0.0.19.tar.gz

Download URL mingdaoyun_sdk-0.0.19.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3f13d1bc726b99786be11479eca83dfc9c397b117a11ecd6ce29a755d36ef381
BLAKE2b-256 checksum
How to use checksums
68ca1514bf629802bf998b9bb9f1033f1dc138d8f4f77e7a0f3f0a38225a7c45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / mingdaoyun_sdk-0.0.19-py3-none-any.whl

Download URL mingdaoyun_sdk-0.0.19-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62d2e9c2b32768faed3d4c627b986ccc38100745b5de254f6c9533188f93b2ee
BLAKE2b-256 checksum
How to use checksums
9567dac5fd9547f33889a5fc4583d04e5d142642970e60db69eb7122e7409c9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for mingdaoyun-sdk 0.0.19

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page