Skip to main content

xxj nameko dependency

Project description

薪行家代付nameko dependency

install

pip install xxj-nameko-dependency

config

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

XXJ:
  MCHNT_NUM: ${XXJ_MCHNT_NUM}
  API_BASE_URL: ${XXJ_API_BASE_URL}
  DES_KEY: ${XXJ_DES_KEY}
  PUBLIC_KEY: ${XXJ_PUBLIC_KEY}
  PRIVATE_KEY: ${XXJ_PRIVATE_KEY}

How to use?

from xxj import XXJ

class TestService(Base):
    xxj = XXJ()

    @rpc
    def create_package(self, data):
        return self.xxj.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

xxj-nameko-dependency-0.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file xxj-nameko-dependency-0.4.tar.gz.

File metadata

  • Download URL: xxj-nameko-dependency-0.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for xxj-nameko-dependency-0.4.tar.gz
Algorithm Hash digest
SHA256 6fcc89fddefd3e8d92f05fba426cfe3ecd9f79fdeaea63a6ec7ce094a2314d8e
MD5 f31ef0bc003d900484e75c623cfd09b2
BLAKE2b-256 4d664eb7be715660cbe0941ea273d49eea39e72d080ae656670921ef33cb5540

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