Skip to main content

58WConfig配置平台工具

Project description

Wconfig

五八同城配置平台WConfig Python SDK。

安装

pip install wconfig

使用

from wconfig import BaseConfig, WConfig

class MyConfig(BaseConfig):
    a: str
    b: int

config = WConfig(
    cluster_key="xx",
    cluster_name="xx",
    group_name="xx",
    namespace="xx",
    config_schema=MyConfig,
).get_main_config()

print(config.a)
print(config.b)

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

wconfig-0.1.2.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

wconfig-0.1.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file wconfig-0.1.2.tar.gz.

File metadata

  • Download URL: wconfig-0.1.2.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for wconfig-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd768bce58c7113fee87e7d5c7d0cdff69be0e7340dcbef190e18c24b5cc26b1
MD5 da6eed8267d1d037b87cf7a6b30c874a
BLAKE2b-256 e47ee38202ba17460b415286c8621dc15c771300de0de09aa8eb1b0a6d01ada0

See more details on using hashes here.

File details

Details for the file wconfig-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: wconfig-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for wconfig-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f7d8326e5b734511660f717d5a37247abdbae2e29a1a8f1dc5741ba072247e
MD5 dd3a327afb48da9d5efcea060d38e300
BLAKE2b-256 a4e06486a83d85ac9a658604ab9a538f2b3986ec3b90fdfbd0c107dc934a5e8d

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