Skip to main content

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

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

saad_t-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

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

Hashes for saad_t-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09ef170e1f778d44311cc3457bc0836f9ba4784887e85a261aefccdd03ecc784
MD5 c17b9f15037b86c0907730634d878393
BLAKE2b-256 22d3926288699644e5bc24be3529039a586c1340cd23495fce54a0621f2b18c3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page