Nepali Tools
A Python package designed to provide a collection of useful, fun, and smart tools with a focus on Nepali users, while also offering general utilities for global use.
Features
This package aims to be simple, clean, and beginner-friendly, offering a variety of tools across different categories:
💰 Finance Tools
- Interest Calculation: Simple interest calculation.
- EMI Calculation: Equated Monthly Installment calculation.
- Currency Formatting: Format numbers into Nepali Rupees.
📅 Date Tools
- AD to BS Conversion: Basic conversion from Anno Domini (AD) to Bikram Sambat (BS) dates (simplified).
- Date Utilities: Basic date-related functionalities.
✍️ Text Tools
- Roman to Nepali: Convert Romanized Nepali text to Devanagari script (basic).
- Text Cleaning: Simple text cleaning functionalities.
😂 Fun Tools
- Jokes: Generate random Nepali jokes.
- Meme Ideas: Generate creative meme ideas.
- Funny Generators: Generate funny excuses.
🎮 Gamer Tools
- Username Generator: Create unique gamer usernames.
- Stylish Text: Convert text to a stylish, gamer-like format.
- Clan Names: Generate cool clan names.
🚀 Viral Tools
- Captions: Generate viral-style captions for social media.
- Hashtags: Generate relevant and trending hashtags.
- Titles: Create catchy, viral titles.
🛠️ Utility Tools
- Password Generator: Generate strong, random passwords.
- OTP Generator: Generate One-Time Passwords.
- Random Generator: Generate random strings.
🧠 Smart Features (Basic Logic)
- Auto Reply Generator: Generate simple auto-replies based on message content.
- Personality Generator: Generate random personality descriptions.
- Motivation Generator: Generate motivational quotes.
Installation
pip install nepali_tools
Usage
Here are some basic examples of how to use the nepali_tools package:
import nepali_tools as nt
# Finance Tools
interest = nt.calculate_simple_interest(10000, 5, 2)
print(f"Simple Interest: {interest}")
emi = nt.calculate_emi(500000, 10, 60)
print(f"EMI: {emi:.2f}")
formatted_currency = nt.format_currency_nepali(1234567.89)
print(f"Formatted Currency: {formatted_currency}")
# Date Tools
bs_date = nt.ad_to_bs_simple(2023, 4, 5)
print(f"AD to BS (approx): {bs_date}")
current_ad = nt.get_current_ad_date()
print(f"Current AD Date: {current_ad}")
# Text Tools
nepali_script = nt.roman_to_nepali_script("namaste nepal")
print(f"Roman to Nepali: {nepali_script}")
cleaned_text = nt.clean_text(" Hello World! ")
print(f"Cleaned Text: {cleaned_text}")
# Fun Tools
joke = nt.get_nepali_joke()
print(f"Nepali Joke: {joke}")
# Gamer Tools
username = nt.generate_gamer_username()
print(f"Gamer Username: {username}")
# Viral Tools
caption = nt.generate_caption("travel")
print(f"Viral Caption: {caption}")
# Utility Tools
password = nt.generate_password()
print(f"Generated Password: {password}")
# Smart Features
reply = nt.generate_auto_reply("Hi, how are you?")
print(f"Auto Reply: {reply}")
Developer Credit
Made by @gunpark_xd (diwas)
License
This project is licensed under the MIT License - see the LICENSE file for details. (To be created)
Metadata
Release files for nepali-tools 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nepali_tools-0.1.0.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nepali_tools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.1 kB
Release files / nepali_tools-0.1.0.tar.gz
| Download URL | nepali_tools-0.1.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
212f03f95283d9f020c19babd9f05d258b6970dca8654b3a3fbe5e5f1789652a
|
|
BLAKE2b-256 checksum How to use checksums |
d43665f840ca6775b36a0b7785bc9439a3b7408ad8befbb502983b2dc3a2b576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0rc1
|
Release files / nepali_tools-0.1.0-py3-none-any.whl
| Download URL | nepali_tools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9d03bd054e73ceeb0c4c8d198955d484cf5f226195d4f567a94ff2fa9d1fbc8
|
|
BLAKE2b-256 checksum How to use checksums |
dd144597361d6250b7a724dcb89af007dca8be7b4d1c50230e801d87d05280d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0rc1
|