Skip to main content

A simple date utility package

Project description

lorry_date

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

安装

使用 pip 安装:

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))

开发

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mydatepackage-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mydatepackage-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mydatepackage-0.1.0.tar.gz.

File metadata

  • Download URL: mydatepackage-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for mydatepackage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f28e27188f36bc30fd9e332c5f27389dfbe9ae0121a85d6d7443d170a6432b76
MD5 90bdf38b8a9ce9aa952aaafc6cfb473a
BLAKE2b-256 bf048a6b5d6b1b84d64bf442f448c5b04e69828123551ab8c17453e3d7ec2b85

See more details on using hashes here.

File details

Details for the file mydatepackage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mydatepackage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for mydatepackage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f91efc4edaf2044f46850b099d3fd45e2ad4aaf998202eb10d89fb448342134
MD5 6141d37adce42229ca04c60a9513fd08
BLAKE2b-256 a8de4e171902fb8f99d6d168ed17fc72097c3494b0e42fb0913ad2519141b05e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page