Skip to main content

یک ویجت انتخاب تاریخ شمسی برای Tkinter

Project description

📅 Persian Calendar Picker

یک ویجت انتخاب تاریخ شمسی برای رابط گرافیکی Tkinter در پایتون.


📌 معرفی

Persian Calendar Picker یک ویجت ساده، زیبا و کاربردی برای نمایش و انتخاب تاریخ شمسی است. این ابزار برای برنامه‌نویسانی طراحی شده که در پروژه‌های خود از Tkinter استفاده می‌کنند و نیاز به تقویم شمسی دارند.


✨ ویژگی‌ها

  • ✅ نمایش تقویم شمسی با طراحی کاربرپسند
  • 🔄 امکان تغییر ماه‌ها و انتخاب روز دلخواه
  • 📍 هایلایت خودکار تاریخ روز جاری
  • 🧩 قابل استفاده در پروژه‌های Tkinter
  • 🌐 کاملاً منبع‌باز و قابل سفارشی‌سازی

📥 نصب

برای نصب این پکیج کافی‌ست در ترمینال دستور زیر را اجرا کنید:

pip install persian_calendar_picker

🛠 نحوه استفاده

مثال ساده برای استفاده در پروژه‌های Tkinter:

import tkinter as tk
from persian_calendar_picker.calendar import PersianCalendar

def on_date_selected(date):
    print(f"تاریخ انتخاب شده: {date}")

root = tk.Tk()
root.title("انتخابگر تاریخ شمسی")

calendar = PersianCalendar(root, callback=on_date_selected)
calendar.pack(padx=20, pady=20)

root.mainloop()

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

persian_calendar_picker_v2-0.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

persian_calendar_picker_v2-0.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file persian_calendar_picker_v2-0.2.tar.gz.

File metadata

File hashes

Hashes for persian_calendar_picker_v2-0.2.tar.gz
Algorithm Hash digest
SHA256 a43e90041be8ffe6ba2eb69731952af84839a5f85457681c91ad889cb05f4a7b
MD5 8e318652e21861b2445690ed85f85f19
BLAKE2b-256 e61beed9e91110822ac8d31f407ec68186f2139d454857adde7f02ab183f7cad

See more details on using hashes here.

File details

Details for the file persian_calendar_picker_v2-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for persian_calendar_picker_v2-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81e13f7a36a50c1c9cd6f84b4f1bea717c605dfd1b9b0d23df428b553896c566
MD5 1f90783999f4d876223e5f918f932516
BLAKE2b-256 3cf940507761fd3ad08b24aa4d35ab664dcb259086999494c1dce2e6bfde32ec

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