Skip to main content

# pydnspod

#关于

pydnspod是一个DNSPod国内版API的Python SDK.

#特性

  • 支持自定义User-Agent

  • 支持D令牌

  • 发送请求前检查是否遗漏参数,避免无效请求

  • 使用命名参数,可以单独指定特定api的返回结果的format、lang

#使用方法

from pydnspod import pydnspod

if __name__ == “__main__”:

login_email = ‘’ login_password = ‘’ api = pydnspod.Api(login_email, login_password) print api.version()

user_manager=pydnspod.User(login_email, login_password) print user_manager.detail()

domain_manager = pydnspod.Domain(login_email, login_password) print domain_manager.create(domain=”domain.name”) print domain_manager.info(domain=”domain.name”)

Metadata

Release files for pydnspod 0.0.2

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

Source distribution (sdist)

Source distribution for pydnspod 0.0.2
File Size Uploaded Provenance Actions
pydnspod-0.0.2.tar.gz 3.6 kB Without provenance Details for pydnspod-0.0.2.tar.gz

Release files / pydnspod-0.0.2.tar.gz

Download URL pydnspod-0.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
62a829b70bfb7021d5f0f1f06e8dff4b37c0de5d7be190282a4d4538cd152e01
BLAKE2b-256 checksum
How to use checksums
b868c587ae51f493c8afd87335375b13bd6da227fd48f513e793151a98ba7aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pydnspod 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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