Skip to main content

A command-line tool to display Nepali dates

Project description

Nepali Date CLI

A simple command-line tool to display Nepali dates with Nepali numerals (देवनागरी अंक).

Installation

You can install this package using pip:

pip install nepali-date-cli

To upgrade to the latest version:

pip install --upgrade nepali-date-cli

Usage

Command Line

After installation, you can use the nepdate command in your terminal:

nepdate

This will display both the current English date and the corresponding Nepali date with Nepali numerals.

Python Code

You can also use it in your Python code:

from nepali_date_cli import get_nepali_date



# Get today's date

nepali_date = get_nepali_date()

print(nepali_date)

Example Output


English Date: Friday 2024-03-21

नेपाली मिति: शुक्रबार २०८०-१२-०८

Features

  • Displays current English date with day name

  • Shows Nepali date in Devanagari numerals (देवनागरी अंक)

  • Includes Nepali day names (e.g., आइतबार, सोमबार, etc.)

  • Simple command-line interface

  • Can be used as a Python module

Requirements

  • Python 3.6 or higher

  • nepali-datetime package (automatically installed)

License

This project is licensed under the MIT License.

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_cli-0.1.6.tar.gz (3.2 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_cli-0.1.6-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file nepali_date_cli-0.1.6.tar.gz.

File metadata

  • Download URL: nepali_date_cli-0.1.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for nepali_date_cli-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1d2f3ba6936a6d0632d9889e4149a736be86f01d7a04cc81bfd69f63e10709d5
MD5 ee550099bc4ac649f46da541c686be1a
BLAKE2b-256 9c8fbcd686486c69add41b4a8f009ad357ae548ff1ed71c8b0ef05da35a0fcf7

See more details on using hashes here.

File details

Details for the file nepali_date_cli-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nepali_date_cli-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a53f8980bbb1ece4961d66a5ce9c8626c099457f091a68341c446a5b958fe74
MD5 fec7fbf2c67ffc6be946d6cc473b8a9c
BLAKE2b-256 739a289aaf0eb5faa617e20eef2fad2055ae49b0c60e7a6af90ccfb57c1263e7

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