Skip to main content

A Nepali Date Library for Python (Bikram Sambat ↔ AD conversion and manipulation)

Project description

NepaliDate Library (Python)

MIT License Docs GitHub

Overview

The NepaliDate Python library provides a proper way to work with Nepali (Bikram Sambat) dates.
It allows you to create, manipulate, format, and convert between Nepali Bikram Sambat dates (1976/01/01 - 2100/12/31) and Gregorian dates (1919-03-13 - 2044-04-12). It also supports fiscal years, quarters, and extensive date operations.

This library is a Python port of the original TypeScript/JavaScript NepaliDate library.


📚 Documentation

For detailed guides, API references, and examples, please visit the official Wiki:

👉 nepalidate.sandip-ghimire.com.np


Installation

pip install nepali-date-library

Quick Start

from nepali_date_library import NepaliDate;

now = NepaliDate()
print(now.format("YYYY-MM-DD"))

For more advanced usage, please refer to the Wiki.

License

MIT

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_library-1.0.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

nepali_date_library-1.0.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file nepali_date_library-1.0.0.tar.gz.

File metadata

  • Download URL: nepali_date_library-1.0.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nepali_date_library-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e28e8cbd59aa26dd2a63716623babb0ac8eb06bad2dde9e4cbd9250c759c5f49
MD5 77e82c80cc24c48e10df75de7f1120ec
BLAKE2b-256 fd4425658f11278718a09f6194ddb0684912c0deee3a8b8b37a203645b34b413

See more details on using hashes here.

File details

Details for the file nepali_date_library-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nepali_date_library-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09bf9913114e868857c769ce1bfc2181d35ca14f5e28fde2c6321b3cd08f8865
MD5 f21b69a656901927c8388bd4656cc6dd
BLAKE2b-256 6404e32c4bd3f818877a91f5f3d1e09bb6b56d656dc90259c3b009bf296f88b3

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