Skip to main content

xhj nameko dependency

Project description

薪行家代付nameko dependency

install

pip install xhj-nameko-dependency

config

通过yaml文件方式配置nameko环境变量

xhj:
  MCHNT_NUM: ${XHJ_MCHNT_NUM}
  API_BASE_URL: ${XHJ_API_BASE_URL}
  DES_KEY: ${XHJ_DES_KEY}
  PUBLIC_KEY: ${XHJ_PUBLIC_KEY}
  PRIVATE_KEY: ${XHJ_PRIVATE_KEY}

How to use?

from xhj import XHJ

class TestService(Base):
    xhj = XHJ()

    @rpc
    def create_package(self, data):
        return self.xhj.call("remit/createpackage", data)

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

xhj-nameko-dependency-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file xhj-nameko-dependency-0.0.1.tar.gz.

File metadata

  • Download URL: xhj-nameko-dependency-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for xhj-nameko-dependency-0.0.1.tar.gz
Algorithm Hash digest
SHA256 83e9acd8e1cc69a25071373efa7b127ab3e34f8fa77a3655f953c743e221c7fd
MD5 11de851f68147e5cf5e3930aad8ba169
BLAKE2b-256 3c49e779647cd6eaf6618b8f68a202d3a58d26c1c258eb7428d865d8af65c714

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