saad-t
حزمة Python خفيفة باسم saad_t تعيد تصدير واجهة وحدة datetime القياسية تحت اسم جديد، من دون اعتماديات خارجية.
التثبيت
python -m pip install saad-t
الاستخدام
from saad_t import datetime, date, time, timedelta, timezone, tzinfo
now = datetime.now()
today = date.today()
tomorrow = today + timedelta(days=1)
print(now)
print(today)
print(tomorrow)
print(datetime.now(timezone.utc))
يمكن أيضًا استخدام الثوابت والسمات العامة التي توفرها وحدة datetime القياسية، مثل MINYEAR وMAXYEAR وUTC عندما تكون متاحة في إصدار Python المثبت.
هذه الحزمة واجهة تسمية فقط فوق وحدة Python القياسية؛ لا تعيد تنفيذ حسابات التاريخ والوقت.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file saad_t-0.1.0-py3-none-any.whl.
File metadata
- Download URL: saad_t-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ef170e1f778d44311cc3457bc0836f9ba4784887e85a261aefccdd03ecc784
|
|
| MD5 |
c17b9f15037b86c0907730634d878393
|
|
| BLAKE2b-256 |
22d3926288699644e5bc24be3529039a586c1340cd23495fce54a0621f2b18c3
|