Skip to main content

Aditor

一个示例Python包,用于演示如何创建和发布Python包到PyPI。

功能特性

  • 🎉 简单的问候功能
  • 🧮 基础数学计算
  • 📦 易于安装和使用
  • 🐍 支持Python 3.7+

安装

从PyPI安装(推荐)

pip install aditor

从源码安装

git clone https://github.com/yourusername/aditor.git
cd aditor
pip install -e .

快速开始

from aditor import hello_world, calculate_sum

# 问候功能
print(hello_world("Python"))  # 输出: 你好, Python!

# 数学计算
result = calculate_sum(1.5, 2.5)
print(f"1.5 + 2.5 = {result}")  # 输出: 1.5 + 2.5 = 4.0

命令行使用

aditor --help

开发

设置开发环境

git clone https://github.com/yourusername/aditor.git
cd aditor
pip install -e ".[dev]"

运行测试

pytest

代码格式化

black aditor/

类型检查

mypy aditor/

贡献

欢迎贡献代码!请遵循以下步骤:

  1. Fork 这个仓库
  2. 创建您的特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交您的更改 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 打开一个 Pull Request

许可证

本项目使用 MIT 许可证 - 查看 LICENSE 文件了解详情。

作者

您的名字 - your.email@example.com

项目链接: https://github.com/yourusername/aditor

更新日志

0.1.0 (2024-01-01)

  • 初始版本发布
  • 添加基础问候功能
  • 添加数学计算功能

Metadata

Release files for aditor 0.2.6

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 aditor 0.2.6
File Interpreter ABI Platform Actions
aditor-0.2.6-py3-none-any.whl Python 3 none any Details for aditor-0.2.6-py3-none-any.whl

Release files / aditor-0.2.6-py3-none-any.whl

Download URL aditor-0.2.6-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0915b7f769e4dc5c47f0cae216fc8dbd454357d1e555df6167fcd7dcc3968ae0
BLAKE2b-256 checksum
How to use checksums
5e8caa3b3cf9ad9c528cea679537cd4418fb610bcbee46805a6674d7d03bf5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.10

Security for aditor 0.2.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