aditor


Nameaditor JSON
Version 0.2.6 PyPI version JSON
download
home_pagehttps://github.com/yourusername/aditor
Summary一个示例Python包
upload_time2025-09-20 08:30:14
maintainerNone
docs_urlNone
authoraditor
requires_python>=3.7
licenseMIT
keywords python package example
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Aditor

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

## 功能特性

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

## 安装

### 从PyPI安装(推荐)

```bash
pip install aditor
```

### 从源码安装

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

## 快速开始

```python
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
```

## 命令行使用

```bash
aditor --help
```

## 开发

### 设置开发环境

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

### 运行测试

```bash
pytest
```

### 代码格式化

```bash
black aditor/
```

### 类型检查

```bash
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](LICENSE) 文件了解详情。

## 作者

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

项目链接: [https://github.com/yourusername/aditor](https://github.com/yourusername/aditor)

## 更新日志

### 0.1.0 (2024-01-01)

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/aditor",
    "name": "aditor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "aditor <your.email@example.com>",
    "keywords": "python, package, example",
    "author": "aditor",
    "author_email": "aditor <your.email@example.com>",
    "download_url": null,
    "platform": null,
    "description": "# Aditor\r\n\r\n\u4e00\u4e2a\u793a\u4f8bPython\u5305\uff0c\u7528\u4e8e\u6f14\u793a\u5982\u4f55\u521b\u5efa\u548c\u53d1\u5e03Python\u5305\u5230PyPI\u3002\r\n\r\n## \u529f\u80fd\u7279\u6027\r\n\r\n- \ud83c\udf89 \u7b80\u5355\u7684\u95ee\u5019\u529f\u80fd\r\n- \ud83e\uddee \u57fa\u7840\u6570\u5b66\u8ba1\u7b97\r\n- \ud83d\udce6 \u6613\u4e8e\u5b89\u88c5\u548c\u4f7f\u7528\r\n- \ud83d\udc0d \u652f\u6301Python 3.7+\r\n\r\n## \u5b89\u88c5\r\n\r\n### \u4ecePyPI\u5b89\u88c5\uff08\u63a8\u8350\uff09\r\n\r\n```bash\r\npip install aditor\r\n```\r\n\r\n### \u4ece\u6e90\u7801\u5b89\u88c5\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/aditor.git\r\ncd aditor\r\npip install -e .\r\n```\r\n\r\n## \u5feb\u901f\u5f00\u59cb\r\n\r\n```python\r\nfrom aditor import hello_world, calculate_sum\r\n\r\n# \u95ee\u5019\u529f\u80fd\r\nprint(hello_world(\"Python\"))  # \u8f93\u51fa: \u4f60\u597d, Python!\r\n\r\n# \u6570\u5b66\u8ba1\u7b97\r\nresult = calculate_sum(1.5, 2.5)\r\nprint(f\"1.5 + 2.5 = {result}\")  # \u8f93\u51fa: 1.5 + 2.5 = 4.0\r\n```\r\n\r\n## \u547d\u4ee4\u884c\u4f7f\u7528\r\n\r\n```bash\r\naditor --help\r\n```\r\n\r\n## \u5f00\u53d1\r\n\r\n### \u8bbe\u7f6e\u5f00\u53d1\u73af\u5883\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/aditor.git\r\ncd aditor\r\npip install -e \".[dev]\"\r\n```\r\n\r\n### \u8fd0\u884c\u6d4b\u8bd5\r\n\r\n```bash\r\npytest\r\n```\r\n\r\n### \u4ee3\u7801\u683c\u5f0f\u5316\r\n\r\n```bash\r\nblack aditor/\r\n```\r\n\r\n### \u7c7b\u578b\u68c0\u67e5\r\n\r\n```bash\r\nmypy aditor/\r\n```\r\n\r\n## \u8d21\u732e\r\n\r\n\u6b22\u8fce\u8d21\u732e\u4ee3\u7801\uff01\u8bf7\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a\r\n\r\n1. Fork \u8fd9\u4e2a\u4ed3\u5e93\r\n2. \u521b\u5efa\u60a8\u7684\u7279\u6027\u5206\u652f (`git checkout -b feature/AmazingFeature`)\r\n3. \u63d0\u4ea4\u60a8\u7684\u66f4\u6539 (`git commit -m 'Add some AmazingFeature'`)\r\n4. \u63a8\u9001\u5230\u5206\u652f (`git push origin feature/AmazingFeature`)\r\n5. \u6253\u5f00\u4e00\u4e2a Pull Request\r\n\r\n## \u8bb8\u53ef\u8bc1\r\n\r\n\u672c\u9879\u76ee\u4f7f\u7528 MIT \u8bb8\u53ef\u8bc1 - \u67e5\u770b [LICENSE](LICENSE) \u6587\u4ef6\u4e86\u89e3\u8be6\u60c5\u3002\r\n\r\n## \u4f5c\u8005\r\n\r\n\u60a8\u7684\u540d\u5b57 - your.email@example.com\r\n\r\n\u9879\u76ee\u94fe\u63a5: [https://github.com/yourusername/aditor](https://github.com/yourusername/aditor)\r\n\r\n## \u66f4\u65b0\u65e5\u5fd7\r\n\r\n### 0.1.0 (2024-01-01)\r\n\r\n- \u521d\u59cb\u7248\u672c\u53d1\u5e03\r\n- \u6dfb\u52a0\u57fa\u7840\u95ee\u5019\u529f\u80fd\r\n- \u6dfb\u52a0\u6570\u5b66\u8ba1\u7b97\u529f\u80fd\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u4e00\u4e2a\u793a\u4f8bPython\u5305",
    "version": "0.2.6",
    "project_urls": {
        "Homepage": "https://github.com/yourusername/aditor",
        "Issues": "https://github.com/yourusername/aditor/issues",
        "Repository": "https://github.com/yourusername/aditor"
    },
    "split_keywords": [
        "python",
        " package",
        " example"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5e8caa3b3cf9ad9c528cea679537cd4418fb610bcbee46805a6674d7d03bf5b1",
                "md5": "161c5ebb6b3419722c0ac793b091537f",
                "sha256": "0915b7f769e4dc5c47f0cae216fc8dbd454357d1e555df6167fcd7dcc3968ae0"
            },
            "downloads": -1,
            "filename": "aditor-0.2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "161c5ebb6b3419722c0ac793b091537f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 10283,
            "upload_time": "2025-09-20T08:30:14",
            "upload_time_iso_8601": "2025-09-20T08:30:14.660985Z",
            "url": "https://files.pythonhosted.org/packages/5e/8c/aa3b3cf9ad9c528cea679537cd4418fb610bcbee46805a6674d7d03bf5b1/aditor-0.2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-20 08:30:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "aditor",
    "github_not_found": true,
    "lcname": "aditor"
}
        
Elapsed time: 3.41833s