Metadata-Version: 2.5
Name: ticktock_utils
Version: 0.3.0
Summary: A tiny and easy-to-use time tool library
Author-email: lih <you@example.com>
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# ticktock_utils

一个超级简单、轻量级的 Python 时间处理库。支持年月日、时分秒的获取，还自带贴心的**报错机制**！

## 🚀 为什么要有它？

因为 Python 自带的 `datetime` 模块对新手来说太庞大了，我专门做了这个库，让你用**最简单的方式**拿到时间，并且**不用担心输错数字**。

## 📦 安装

```bash
pip install my_time

## Quick Start
import my_time

# 1. 拿到今天的年月日
year, month, day = my_time.get_ymd()
print(f"今天是 {year} 年 {month} 月 {day} 日")

# 2. 拿到当前的时分秒
hour, minute, second = my_time.get_hms()
print(f"现在是 {hour}:{minute}:{second}")

# 3. 拿到一个“完美”的日期字符串
date_str = my_time.format_date("%Y年%m月%d日")
print(date_str)

