Skip to main content

Vorto plugin utility toolkit: QingLong client, MaPay client, QR code generator, payment config reader.

Project description

vorto-utils

Vorto 插件公共工具包,提供青龙面板操作、码支付、二维码生成、支付配置读取等通用功能。

安装

pip install vorto-utils

快速使用

from vorto_utils import generate_qrcode_url, get_pay_config, QingLongClient, MaPayClient

# 生成二维码
url = generate_qrcode_url("https://example.com")

# 读取支付配置
config = get_pay_config()

# 青龙面板操作
ql = QingLongClient("S_NKF", "http://host:5700丨client_id丨client_secret")
ql.update_env("13800138000", "phone#token#unifyId", "备注信息")

# 码支付
client = MaPayClient(gateway="https://pay.example.com", pid="1001", key="your_key")
result = client.create_order(8.88, "alipay", "order_123", "商品名称")

模块说明

模块 功能
qrcode 二维码图片URL生成
pay_config 从 middleware 读取支付方式配置
qinglong 青龙面板环境变量 CRUD
mapay 码支付下单、查单、验单

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

vorto_utils-0.1.5.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

vorto_utils-0.1.5-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file vorto_utils-0.1.5.tar.gz.

File metadata

  • Download URL: vorto_utils-0.1.5.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for vorto_utils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5fce082bb121b18f57e775abc8bfe82309ade8d714a437e7c6db09b1766e2775
MD5 a30ba046fe05f7871c1c1a23ecfc214d
BLAKE2b-256 ed2c841214bb58744ba6a956db7cef7e42b5a0bcb90b72b3b586b27213ab359b

See more details on using hashes here.

File details

Details for the file vorto_utils-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: vorto_utils-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for vorto_utils-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2b4b17f665834f1c72d91d8ef710bcd9366e59922e641b8f19b1ac628419b71b
MD5 580dde39ac1b9b987a5d32c0656c3fde
BLAKE2b-256 99dd297b13bf1aae80fc6a5038d41a70fdf9c5ab1cb67c4bbb71772740e333ed

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