Skip to main content

Amazigh (Berber) calendar library and CLI

Project description

amazigh-date

Lightweight Python library and CLI that converts Gregorian dates to the Amazigh (Berber) calendar.

Install

python -m pip install amazigh-date

CLI

amazigh-date
amazigh-date --short
amazigh-date --era
amazigh-date --countdown
amazigh-date --json
amazigh-date --export-cal 2976 > Yennayer2976.ics

Library

from amazigh_date import amazigh_date, MONTHS
y, m, d, wd = amazigh_date()
print(f"{d} {MONTHS[m-1]} {y}")

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

amazigh_date-2026.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

amazigh_date-2026.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file amazigh_date-2026.2.tar.gz.

File metadata

  • Download URL: amazigh_date-2026.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for amazigh_date-2026.2.tar.gz
Algorithm Hash digest
SHA256 64b58ae04a59ad49d07160d5189e26076c652624555301c10fa64ace280779fc
MD5 31de4c353ac6fc331e3c81a92f3b8751
BLAKE2b-256 999be98fa4db203042bd124466f9e43a18fa9f5d1ffc8b08ea9e1caac93dc7ad

See more details on using hashes here.

File details

Details for the file amazigh_date-2026.2-py3-none-any.whl.

File metadata

  • Download URL: amazigh_date-2026.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for amazigh_date-2026.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6c3d5d285db458218922ceea33d816c2ad9d103002bfcec1abe61c137efc553
MD5 4cb4a852841d03b14f78d8f09e669319
BLAKE2b-256 49ab71f1ffa3886e21ad672353ff575d8de97666c60cfb833879c1846f104110

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