mydatepackage


Namemydatepackage JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryA simple date utility package
upload_time2024-05-11 07:56:35
maintainerNone
docs_urlNone
authorYour Name
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lorry_date

`lorry_date` 是一个简单的 Python 日期处理工具包,提供了获取当前日期和给定日期加上指定天数的功能。

## 安装

使用 pip 安装:

```bash
pip install lorry_date
```

## 使用方法
#### 获取当前日期
```
from mydatepackage.dateutils import get_current_date
print(get_current_date())
```

#### 给定日期加上指定天数
```
from mydatepackage.dateutils import add_days_to_date

print(add_days_to_date("2023-01-01", 10))
```

## 开发
要贡献此包,请克隆仓库并提交您的更改。

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mydatepackage",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/bf/04/8a6b5d6b1b84d64bf442f448c5b04e69828123551ab8c17453e3d7ec2b85/mydatepackage-0.1.0.tar.gz",
    "platform": null,
    "description": "# lorry_date\r\n\r\n`lorry_date` \u662f\u4e00\u4e2a\u7b80\u5355\u7684 Python \u65e5\u671f\u5904\u7406\u5de5\u5177\u5305\uff0c\u63d0\u4f9b\u4e86\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u548c\u7ed9\u5b9a\u65e5\u671f\u52a0\u4e0a\u6307\u5b9a\u5929\u6570\u7684\u529f\u80fd\u3002\r\n\r\n## \u5b89\u88c5\r\n\r\n\u4f7f\u7528 pip \u5b89\u88c5:\r\n\r\n```bash\r\npip install lorry_date\r\n```\r\n\r\n## \u4f7f\u7528\u65b9\u6cd5\r\n#### \u83b7\u53d6\u5f53\u524d\u65e5\u671f\r\n```\r\nfrom mydatepackage.dateutils import get_current_date\r\nprint(get_current_date())\r\n```\r\n\r\n#### \u7ed9\u5b9a\u65e5\u671f\u52a0\u4e0a\u6307\u5b9a\u5929\u6570\r\n```\r\nfrom mydatepackage.dateutils import add_days_to_date\r\n\r\nprint(add_days_to_date(\"2023-01-01\", 10))\r\n```\r\n\r\n## \u5f00\u53d1\r\n\u8981\u8d21\u732e\u6b64\u5305\uff0c\u8bf7\u514b\u9686\u4ed3\u5e93\u5e76\u63d0\u4ea4\u60a8\u7684\u66f4\u6539\u3002\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple date utility package",
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8de4e171902fb8f99d6d168ed17fc72097c3494b0e42fb0913ad2519141b05e",
                "md5": "6141d37adce42229ca04c60a9513fd08",
                "sha256": "1f91efc4edaf2044f46850b099d3fd45e2ad4aaf998202eb10d89fb448342134"
            },
            "downloads": -1,
            "filename": "mydatepackage-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6141d37adce42229ca04c60a9513fd08",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3465,
            "upload_time": "2024-05-11T07:56:33",
            "upload_time_iso_8601": "2024-05-11T07:56:33.685934Z",
            "url": "https://files.pythonhosted.org/packages/a8/de/4e171902fb8f99d6d168ed17fc72097c3494b0e42fb0913ad2519141b05e/mydatepackage-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf048a6b5d6b1b84d64bf442f448c5b04e69828123551ab8c17453e3d7ec2b85",
                "md5": "90bdf38b8a9ce9aa952aaafc6cfb473a",
                "sha256": "f28e27188f36bc30fd9e332c5f27389dfbe9ae0121a85d6d7443d170a6432b76"
            },
            "downloads": -1,
            "filename": "mydatepackage-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "90bdf38b8a9ce9aa952aaafc6cfb473a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2831,
            "upload_time": "2024-05-11T07:56:35",
            "upload_time_iso_8601": "2024-05-11T07:56:35.566652Z",
            "url": "https://files.pythonhosted.org/packages/bf/04/8a6b5d6b1b84d64bf442f448c5b04e69828123551ab8c17453e3d7ec2b85/mydatepackage-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-11 07:56:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mydatepackage"
}
        
Elapsed time: 0.22703s