{"id":26414121,"url":"https://github.com/hmtanbir/hijricalendar","last_synced_at":"2025-03-17T23:57:56.792Z","repository":{"id":57437324,"uuid":"122335062","full_name":"hmtanbir/hijricalendar","owner":"hmtanbir","description":"Hijri Calendar is a package for Bangla language users with various functionalities including Arabic date in bangla and english format..","archived":false,"fork":false,"pushed_at":"2018-03-01T16:28:29.000Z","size":19,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-09T20:28:30.529Z","etag":null,"topics":["bangla-hijri-date","hijri-calendar","python","python-3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmtanbir.png","metadata":{"files":{"readme":"README.md","changelog":"changes.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-21T12:43:35.000Z","updated_at":"2022-01-23T21:23:19.000Z","dependencies_parsed_at":"2022-09-11T03:31:16.100Z","dependency_job_id":null,"html_url":"https://github.com/hmtanbir/hijricalendar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmtanbir%2Fhijricalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmtanbir%2Fhijricalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmtanbir%2Fhijricalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmtanbir%2Fhijricalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmtanbir","download_url":"https://codeload.github.com/hmtanbir/hijricalendar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244130279,"owners_count":20402753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bangla-hijri-date","hijri-calendar","python","python-3"],"created_at":"2025-03-17T23:57:56.366Z","updated_at":"2025-03-17T23:57:56.780Z","avatar_url":"https://github.com/hmtanbir.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HIJRI CALENDAR\n\n[![Build Status](https://travis-ci.org/hmtanbir/hijricalendar.svg?branch=master)](https://travis-ci.org/hmtanbir/hijricalendar)\n[![Version](https://img.shields.io/pypi/v/hijricalendar.svg?)](http://badge.fury.io/py/hijricalendar)\n[![Python](https://img.shields.io/pypi/pyversions/hijricalendar.svg?)](https://pypi.python.org/pypi/hijricalendar/0.0.1)\n[![Size](https://img.shields.io/github/size/hmtanbir/hijricalendar/hijricalendar/__init__.py.svg?)](https://github.com/hmtanbir/hijricalendar/)\n[![codecov](https://codecov.io/gh/hmtanbir/hijricalendar/branch/master/graph/badge.svg)](https://codecov.io/gh/hmtanbir/hijricalendar)\n\nHijri Calendar is a package for Bangla language users with various functionalities including Arabic date in bangla and english format.\n\nIt can be used to get Arabic date that includes year, month, date, weekday in Bangla language and \nEnglish language.\n\nFurthermore, It can be used in global wide. Day difference between\narabic country and south asia country is considered in this module. \n\nThis software can be used on Linux/Unix, Mac OS and Windows systems.\n\n# Features\n\n\nGet Bangla date that includes:\n\n   - Bangla Hijri Date (১-৩০)\n\n   - Bangla Hijri Month ('মহরম','সফর','রবিউল আউয়াল','রবিউস সানি','জুমাদিউল আউয়াল','জুমাদিউস সানি','রজব','শাবান','রমজান','শাওয়াল','জিলক্বাদ','জিলহাজ্জ্ব')\n\n   - Bangla Hijri Year (১৪৩৯ - )\n   \n   - English Hijri Date (1-30)\n\n   - English Hijri Month ('Muharram', 'Safar', 'Rabi-ul-Awwal', 'Rabi-us-Sani', 'Jamadi-ul-Awwal', 'Jamadi-us-Sani', 'Rajab', 'Shaban', 'Ramadan', 'Shawwal','Jil-Quadah', 'Jil-Hajjah',)\n\n   - English Hijri Year (1439 - )    \n\n\n\n# Installation\n\n\nWe recommend install ``hijricalendar``  through pip install using Python 3 but it supports\npython 2.7\n\nRun this command when you are using virtualenv.\n ```\n $ pip install hijricalendar\n ```\n For global(when you are not using virtualenv)\n\n ```\n $ sudo pip install hijricalendar\n ```\n \n# Example\nOpen python shell:\n\n```\n$ python\n```\nOutput:\n```\nPython 2.7.12 (default, Dec  4 2017, 14:50:18) \n[GCC 5.4.0 20160609] on linux2\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e\n\n```\n\n\nTo get today's date in Bangla Hijri calendar:\n\n```\n$ import hijricalendar\n \n$ bangla_date = get_date()\n\n$ print bangla_date\n```\n\n``Output: {'date': '৪', 'year': '১৪৩৯', 'weekday': 'বুধবার', 'month': '৬'}``\n\n```\n$ date = bangla_date['date']\n\n$ year = bangla_date['year']\n\n$ weekday = bangla_date['weekday']\n\n$ month = bangla_date['month']\n\n$ print date, year, weekday, month\n```\n \n``Output:   ৪ ১৪৩৯ বুধবার ৬``\n\nTo get today's date in English Hijri calendar:\n\n``` \n $ en_date = get_date(en=True)\n $ print en_date\n```\n\n``Output:   {'date': 4, 'year': 1439, 'weekday': 'Wednesday', 'month': 6}``\n\n```\n $ date = en_date['date']\n \n $ year = en_date['year']\n \n $ weekday = en_date['weekday']\n \n $ month = en_date['month']\n \n $ print date, year, weekday, month\n```\n\n``Output:   4 1439 Wednesday 6``\n\nTo get today's date in Bangla Hijri calendar in arabic timezone:\n\n```\n$ import hijricalendar\n \n$ bangla_date = get_date(arabic=True)\n\n$ print bangla_date\n```\n\n``Output: {'date': '৫', 'year': '১৪৩৯', 'weekday': 'বুধবার', 'month': '৬'}``\n\n```\n$ date = bangla_date['date']\n\n$ year = bangla_date['year']\n\n$ weekday = bangla_date['weekday']\n\n$ month = bangla_date['month']\n\n$ print date, year, weekday, month\n```\n \n``Output:  ৫  ১৪৩৯ বুধবার ৬``\n\nTo get today's date in English Hijri calendar in arabic timezone:\n\n``` \n $ en_date = get_date(en=True)\n $ print en_date\n```\n\n``Output:   {'date': 5, 'year': 1439, 'weekday': 'Wednesday', 'month': 6}``\n\n```\n $ date = en_date['date']\n \n $ year = en_date['year']\n \n $ weekday = en_date['weekday']\n \n $ month = en_date['month']\n \n $ print date, year, weekday, month\n```\n\n``Output:   5 1439 Wednesday 6``\n\nTo get specific date in Bangla Hijri calendar:\n\n```\n# format: get_date(date, month, year)\n \n$ bangla_date = get_date(21, 2, 2018)\n\n$ print bangla_date\n```\n\n``Output: {'date': '৪', 'year': '১৪৩৯', 'weekday': 'বুধবার', 'month': '৬'}``\n\n```\n$ date = bangla_date['date']\n\n$ year = bangla_date['year']\n\n$ weekday = bangla_date['weekday']\n\n$ month = bangla_date['month']\n\n$ print date, year, weekday, month\n```\n \n``Output:   ৪ ১৪৩৯ বুধবার ৬``\n\nTo get specific date in English Hijri calendar:\n\n```\n # format: get_date(date, month, year, en=True)\n $ en_date = get_date(21, 2, 2018, en=True)\n $ print en_date\n```\n\n``Output:   {'date': 4, 'year': 1439, 'weekday': 'Wednesday', 'month': 6}``\n\n```\n $ date = en_date['date']\n \n $ year = en_date['year']\n \n $ weekday = en_date['weekday']\n \n $ month = en_date['month']\n \n $ print date, year, weekday, month\n```\n\n``Output:   4 1439 Wednesday 6``\n\n# Contribute\n\n\nCreate Github Pull Request https://github.com/hmtanbir/hijricalendar/pulls\n\n\nIf you have suggestion use GitHub issue system or send a message in linkedin https://www.linkedin.com/in/hmtanbir.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmtanbir%2Fhijricalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmtanbir%2Fhijricalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmtanbir%2Fhijricalendar/lists"}