Skip to main content

foundation-python

微服务架构项目的共享库-python版

foundation-python.logger

日志模块,提供日志记录及日志管理功能

logger_instance(name) -> Logger

获取日志实例
name 日志实例名称

foundation-python.queue.queue_manager

队列管理模块

queue.add_job(job_name, job_data, opts)

向队列添加任务
job_name 任务名称
job_data 任务数据
opts 任务配置项,参见BullMQ任务配置项说明

queue.start_worker(process_func)

执行任务消费客户端
process_func 任务处理方法

foundation-python.queue.escalation

向中心服务器发送任务回执

escalation.submit(task_id, status, data=None)

向中心服务器提交任务执行回执 task_id 任务ID
status 任务执行结果,取值:success/fail
data 回执数据,默认为None

foundation-python.util.common

通用工具

common.short_uuid()

获取短UUID

Metadata

Release files for foundation-python 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foundation-python 1.0.6
File Size Uploaded Provenance Actions
foundation_python-1.0.6.tar.gz 3.8 kB Without provenance Details for foundation_python-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for foundation-python 1.0.6
File Interpreter ABI Platform Actions
foundation_python-1.0.6-py3-none-any.whl Python 3 none any Details for foundation_python-1.0.6-py3-none-any.whl

Total release size: 9.6 kB

Release files / foundation_python-1.0.6.tar.gz

Download URL foundation_python-1.0.6.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ff59b7dd1dbca510c0dfc7f1fdc7f6e3e3628a74087a6e4a9c1b9875387e47f9
BLAKE2b-256 checksum
How to use checksums
bc9343ed30f40993c9c212c62653272107cab79eb2df0be94bd11148787a0076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.11.10 Linux/6.8.0-1017-azure

Release files / foundation_python-1.0.6-py3-none-any.whl

Download URL foundation_python-1.0.6-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f44679e38c56f186f8908cbe9746015a30e6c98c7a01bc00b612ef3cecd3018e
BLAKE2b-256 checksum
How to use checksums
0ddfc9f29882aec1fb7dcb2d098f640b2c8f93335333240323dec0c78200fba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.11.10 Linux/6.8.0-1017-azure

Security for foundation-python 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page