Skip to main content

包构建与安装

前置要求

  • Python 3.10 或更高版本
  • build 和 twine (用于发布)

构建包

# 安装构建工具
pip install build twine

# 构建分发包
python -m build

构建完成后,在 dist/ 目录下会生成:

  • zltquant-0.1.0.tar.gz - 源代码分发包
  • zltquant-0.1.0-py3-none-any.whl - wheel 包

本地安装

# 开发模式安装(可编辑)
pip install -e .

# 或从构建的 wheel 文件安装
pip install dist/zltquant-0.1.0-py3-none-any.whl

发布到 PyPI

# 上传到 PyPI (需要配置 pypi token)
python -m twine upload dist/*

# 或上传到 TestPyPI 测试
python -m twine upload --repository testpypi dist/*

注意事项

  • 包仅包含 zltquant/ 目录,不包含其他子模块如 zltlib、zltFactor 等

Metadata

Release files for zltquant 0.1.11

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

Built distribution (wheel)

Table of built distributions (wheels) for zltquant 0.1.11
File Interpreter ABI Platform Actions
zltquant-0.1.11-py3-none-any.whl Python 3 none any Details for zltquant-0.1.11-py3-none-any.whl

Release files / zltquant-0.1.11-py3-none-any.whl

Download URL zltquant-0.1.11-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b5c7e7c9e551ec0064badc3d51a34b0b3d220190809bf5f1ab32680146354bef
BLAKE2b-256 checksum
How to use checksums
7bb984721e970bd558804d29317fc1d16b9c2b53c93eb4afb95f93b8e6c796e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Security for zltquant 0.1.11

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.

Release history Release notifications | RSS feed

This release

0.1.11 This release

1 release file No provenance

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