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-AgEIcHlwaS5vcmcCJDQxYTQwZTQyLTgxZWEtNGIwYS05MjFlLWQ0MmJhNmU4MDVmMAACKlszLCIwNzE3NWUwYy05YTA5LTQ3ZmMtOTYxNS0xZjExZjQyMmVhMDEiXQAABiBD0wWVmvQ9Oe0LZ8kAECcXHavYgJ_uyu26juXNps-VBg

更新并安装

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.5.tar.gz (8.0 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.5-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: xhm_base-0.0.5.tar.gz
  • Upload date:
  • Size: 8.0 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.5.tar.gz
Algorithm Hash digest
SHA256 63882a82811f5c648c20620461e123b0183f808cf4b284eaf77128051fcb9145
MD5 28458930686116c6d4340fe57610b849
BLAKE2b-256 76a30af96a637aa8d54c924ccbd93529c5d0245cf28ea653385c34aef2f953d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xhm_base-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2f558cc3209b084e674f14b6e64a46f8f20b7b184613ab8737ae1abae781602a
MD5 d6ba1c95f565aba4cb1def02f5efbaf1
BLAKE2b-256 40e6c2867ba0d3bff88fa42c95a2bbea8dabbafa59f31d8dc070650544971145

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