Skip to main content

Convert Nepali to English Dates: Easily switch between Nepali and English dates with this Python package.

Project description

Nepali Date Utils

PyPI version CI status Downloads

Overview

This lightweight package allows easy conversion between Nepali (BS) and English (AD) dates. Simplify date transformations in your applications with this straightforward utility.

Installation

You can install the package via pip:

pip install nepali_date_utils

To convert English date (AD) to Nepali date (BS):

from nepali_date_utils import converter
converter.ad_to_bs("2024/02/03")

To convert Nepali date (BS) to English date (AD):

from nepali_date_utils import converter
converter.bs_to_ad("2080/02/03")

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

nepali_date_utils-0.3.1.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

nepali_date_utils-0.3.1-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page