Skip to main content

xhm base python sdk

Project description

XHM SDK 使用说明

封装sdk时请多考虑去解决一类问题、而不是一个问题

使用教程

安装单个模块:

pip install xhm_all[xhm_log]

安装所有:

pip install xhm_all

二、poetry

安装:

poetry add xhm_all@0.1.7 --verbose

在代码中使用BOCHU SDK

from xhm_log import log

def test_case():
    log.error('cc')

开发包上传

# pip install setuptools==58.0.4
 python setup.py sdist upload -r nexus

poetry 开发包

poetry config repositories.nexus http://nexus.fscut.com/repository/fs-pypi/
poetry config http-basic.nexus 用户名 密码

poetry build
poetry publish --repository nexus

# 官方
poetry config pypi-token.pypi pypi-AgEIcHlwaS5vcmcCJGYyM2E5ZjkxLWZhYTYtNGE2Mi1iOGZlLTczOGU2YjVhNzNkNAACKlszLCIwNzE3NWUwYy05YTA5LTQ3ZmMtOTYxNS0xZjExZjQyMmVhMDEiXQAABiCb__bveg49S186PbTgid0-FqFAz5GOxr0sB5dY23NuKg

更新并安装

poetry add xhm_all==0.5.6

升级记录

版本 日期 更新记录 开发人员
0.0.1 2024-12-08 拆分基础SDK和业务SDK 邹慧刚

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

xhm_base-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

xhm_base-0.0.2-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xhm_base-0.0.2.tar.gz.

File metadata

  • Download URL: xhm_base-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/24.2.0

File hashes

Hashes for xhm_base-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3635175cae03e083436699b0aa83b282a3372c1f93757642ef7f3a723e12df7f
MD5 602a54c206faf44731276e47b4210914
BLAKE2b-256 020fe93e425b1bde43c871132f64fe6b62384dce15f777ed95b96a65646df18a

See more details on using hashes here.

File details

Details for the file xhm_base-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: xhm_base-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.13 Darwin/24.2.0

File hashes

Hashes for xhm_base-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 516331db9ee3c3b286a525ddc904e235595cd50331c53d8e0d7fb9b4491a0887
MD5 10d31bb42ed86c388753e1a8bdb8a8aa
BLAKE2b-256 9fa5920ba9c31911821ddcd5f393960495ce5f345a3471cc57abf52a1744edc7

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