Skip to main content

淘宝开放平台Python 3 SDK

基于淘宝开放平台服务端SDK修改,修复原版本无法在Python 3环境下正常运行的问题,以及包名称top->taobao_open。

安装

pip install py-taobao-open
# 清华源
pip install py-taobao-open -i https://pypi.tuna.tsinghua.edu.cn/simple/

使用说明

import taobao_open

app_key = ''
app_secret = ''

def dg_optimus_material():
    req = taobao_open.api.TraderatesGetRequest()
    req.set_app_info(taobao_open.appinfo(app_key, app_secret))
    req.adzone_id = 'xxx'
    req.material_id = 'xxx'
    try:
        resp = req.getResponse()
        print(resp)
    except Exception as e:
        print(e)

Metadata

Release files for py-taobao-open 1.0.3

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

Source distribution (sdist)

Source distribution for py-taobao-open 1.0.3
File Size Uploaded Provenance Actions
py_taobao_open-1.0.3.tar.gz 15.0 kB Without provenance Details for py_taobao_open-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-taobao-open 1.0.3
File Interpreter ABI Platform Actions
py_taobao_open-1.0.3-py3-none-any.whl Python 3 none any Details for py_taobao_open-1.0.3-py3-none-any.whl

Total release size: 62.7 kB

Release files / py_taobao_open-1.0.3.tar.gz

Download URL py_taobao_open-1.0.3.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0fc2f447fee4db0a2f7fd6c363614ed86a168f0d80681492e19332a4ca25c6bf
BLAKE2b-256 checksum
How to use checksums
4b0e66aacad23d369e342a908bc5d109c0ec499cb1c4de1f4d17301a0dd5cb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Release files / py_taobao_open-1.0.3-py3-none-any.whl

Download URL py_taobao_open-1.0.3-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f28fdfa9417dac5c7b3036d5f76b5c49c0c80cbdb4a8292ad58f215dac083fac
BLAKE2b-256 checksum
How to use checksums
5b7020435d7585609b00a27c35a0dbdf5448eeacbb11fc8ab645223635231d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for py-taobao-open 1.0.3

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