Skip to main content

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)
)

默认配置

  1. base_url:http://localhost:3000
  2. token:default-token
  3. enable_requests:False

可通过以下环境变量覆盖默认配置:

  1. MEDEO_CORE_API_BASE_URL:API 基础 URL
  2. MEDEO_CORE_API_AUTH_TOKEN:认证 Token
  3. MEDEO_CORE_API_ENABLE_REQUESTS:是否启用请求("true" 或 "false")

Project details


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.14.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

one2x_sdk-0.0.14-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file one2x_sdk-0.0.14.tar.gz.

File metadata

  • Download URL: one2x_sdk-0.0.14.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for one2x_sdk-0.0.14.tar.gz
Algorithm Hash digest
SHA256 7c3851ea9d3c7195fd2c00325edec02f469ccbf26260dc3946bda982d87c0412
MD5 39c0e87f2252a4e1341663e42f6b1f55
BLAKE2b-256 92a9ec999de1c5187321a072879cf33578433179fac98ef6effc27504a3783a0

See more details on using hashes here.

File details

Details for the file one2x_sdk-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: one2x_sdk-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for one2x_sdk-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 54078de7c0e7fabb18d17b30c2866b654ea6106ef734f7a2d14cfc3456a5fc6a
MD5 dd0a3d8287291a0ef72dc740553ff3f9
BLAKE2b-256 840aca14eaa7b4e3f01ff78ab0fc206a6ebfc2de9fb45b5233d0fc43fe1ede74

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page