A lightweight and efficient SDK for interacting with the One2X platform.
Project description
One2x-sdk
SDK for One2x Developer
快速开始
初始化客户端
from one2x_sdk import CoreApiClient
client = CoreApiClient(
base_url="https://api.example.com", # API 基础 URL(可选)
token="your-token", # 认证 Token(可选)
enable_requests=True # 是否启用请求(可选,默认 False)
)
默认配置
- base_url:http://localhost:3000
- token:default-token
- enable_requests:False
可通过以下环境变量覆盖默认配置:
- MEDEO_CORE_API_BASE_URL:API 基础 URL
- MEDEO_CORE_API_AUTH_TOKEN:认证 Token
- MEDEO_CORE_API_ENABLE_REQUESTS:是否启用请求("true" 或 "false")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
one2x_sdk-0.0.28.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file one2x_sdk-0.0.28.tar.gz.
File metadata
- Download URL: one2x_sdk-0.0.28.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc2a5e003c096f41f448a1227f460bafe024d242f24109d7a530725fea937902
|
|
| MD5 |
a9f23f03f483bfbd3ca1e71cb7381714
|
|
| BLAKE2b-256 |
f333c55d9ec27d85b16648c63d356ce151d7c0ff474afee871565b96cc8ed97f
|
File details
Details for the file one2x_sdk-0.0.28-py3-none-any.whl.
File metadata
- Download URL: one2x_sdk-0.0.28-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3b9c84704a467ef0eb6b1b8833c727a285505b4c9814fae6ad3f703e0049ae8
|
|
| MD5 |
2950d283b3b3b22ae82f3596cdd524bb
|
|
| BLAKE2b-256 |
a7751696a9d6f989cfe070f8f86c56d0d917c638a107f2b2f6e655d131d9b415
|