Skip to main content

A CLI tool to find horoscope in nepali

Project description

KatiGate

KatiGate is a CLI tool to find today's date, convert English dates to Nepali dates, and display the Nepali calendar. It leverages the nepali_datetime library to provide accurate and easy-to-use date conversion and calendar functionalities.

Features

  • Display today's date in the Nepali calendar.
  • Convert English dates (AD) to Nepali dates (BS).
  • Display the Nepali calendar for a given date.

Installation

You can install katiGate from PyPI using pip:

pip install katigate

Usage

After installation, you can use the katigate command in your terminal to interact with the tool. Below are the available commands:

Show Today's Date

To display today's date in the Nepali calendar, simply run:

katigate today

or katigate 

# Asar 02 2081, Sunday

Convert English Date to Nepali Date

To convert an English date (AD) to a Nepali date (BS), use the cnv command:

katigate cnv --year 2023 --month 6 --day 16

or 

katigate cnv -y 2023 -m 6 -d 16

or 

katigate cnv
Year in AD : 2023
Month in AD : 6
Day in AD : 16

#Asar 01 2080 Friday

You will be prompted to enter the year, month, and day if you don't provide them as options.

Display Nepali Calendar

To display the Nepali calendar for a specific date, use the cal command:

katigate cal --year 2023 --month 6 --day 16

#or 

katigate cal -y 2023 -m 6 -d 16

katigate cal
Year  [2081]:
Month  [3]:
Day  [2]:

# output
             Asar 2081
 Sun  Mon  Tue  Wed  Thu  Fri  Sat
                                 1
   2    3    4    5    6    7    8
   9   10   11   12   13   14   15
  16   17   18   19   20   21   22
  23   24   25   26   27   28   29
  30   31

You will be prompted to enter the year, month, and day if you don't provide them as options.

Acknowledgments

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

katigate-0.4.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file katigate-0.4.tar.gz.

File metadata

  • Download URL: katigate-0.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for katigate-0.4.tar.gz
Algorithm Hash digest
SHA256 46e4fd9f5f22203a6adffeb696551c60ddb7745b4da8a9c5a6ca572bc2a8619a
MD5 c738c092a339abaa909f30dc44f49c09
BLAKE2b-256 f4a259dd85bc02503dc1e7346dd9b6a86aaffe87043a81368d7c407ed9333c54

See more details on using hashes here.

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