Skip to main content

用于 Python 的 ArkID Client

该 SDK 为 ArkID APIs 提供了便捷的 Pythonic 接口 。

基本用法

安装

  • pip install arkid-client

基本使用

  • 您可以从 arkid_client 导入 ArkID 客户端。例如:

from arkid_client.auth import ConfidentialAppAuthClient
from arkid_client.client import ArkIDClient

# 设置 ArkID 服务根地址
url = 'https://arkid.longguikeji.com/'

# 初始化 ArkID 认证客户端
caac = ConfidentialAppAuthClient(base_url=url)

# 初始化 ArkID 服务客户端
ac = ArkIDClient(
    authorizer=caac.get_authorizer('admin', 'admin'),
    base_url=url
)

# 查询用户列表
users = ac.query_user()

链接

完整文档:

源代码:

https://github.com/longguikeji/arkid-core.git

API文档:

https://arkid.docs.apiary.io/

Metadata

Release files for arkid-client 0.1.0

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

Source distribution (sdist)

Source distribution for arkid-client 0.1.0
File Size Uploaded Provenance Actions
arkid-client-0.1.0.tar.gz 29.7 kB Without provenance Details for arkid-client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arkid-client 0.1.0
File Interpreter ABI Platform Actions
arkid_client-0.1.0-py3-none-any.whl Python 3 none any Details for arkid_client-0.1.0-py3-none-any.whl

Total release size: 71.1 kB

Release files / arkid-client-0.1.0.tar.gz

Download URL arkid-client-0.1.0.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
036cde6d30a25aa3410bb1f57d94c8cbea55810ae3ddfe2d20ccd1d24d191516
BLAKE2b-256 checksum
How to use checksums
c80b261e19c5138cc872c9e13cb17ae89c182b1ae7944243c8a7a50e49cdb6e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

Release files / arkid_client-0.1.0-py3-none-any.whl

Download URL arkid_client-0.1.0-py3-none-any.whl
Size 41.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b94491d11881fe4c67b1c603c3aeac8f5b46f06dd043af7764386cfbaf30a48
BLAKE2b-256 checksum
How to use checksums
57fa3be44af2cbd2bcd239495fed13947d8a74c05e060251328298f599613a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

Security for arkid-client 0.1.0

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.1.0 This release

2 release files 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