Skip to main content

Nepali AI Tools

A simple, clean, and powerful Python package named "nepali" that acts like a mini Nepali AI assistant for generating smart replies, fun content, and viral outputs. Designed to be beginner-friendly and easy to use.

Installation

For a lightweight version (recommended for mobile/Pydroid3):

pip install nepali-ai-tools

For full version with AI (Google Gemini) support:

pip install "nepali-ai-tools[ai]"

Usage

import nepali_ai_tools as ai

# Reply Generator
print(ai.generate_reply("hi"))
# Output: Namaste! 🙏 (or similar dynamic reply)

print(ai.generate_reply("How are you doing today?", mode="ai", api_key="YOUR_GEMINI_API_KEY"))
# Output: AI-generated reply

# Fun Content Generators
print(ai.generate_personality("Gunpark"))
print(ai.generate_motivation("sad"))
print(ai.generate_meme_idea())
print(ai.generate_caption("travel"))
print(ai.generate_gamer_tag("PlayerOne"))
print(ai.generate_roast())
print(ai.generate_excuse())
print(ai.generate_pickup_line())

Features

1. Reply Generator (generate_reply)

  • generate_reply(message, mode="hybrid", api_key=None)
    • mode="dynamic": Generates 30-35 random Nepali + English replies.
    • mode="ai": Uses Google Gemini API for smart replies. Requires api_key.
    • mode="hybrid" (default): Tries AI generation first; if an error occurs or api_key is not provided, falls back to dynamic replies.
    • Includes basic keyword detection for greetings like "hi", "hello", "how are you".

2. AI Integration (generate_ai_reply)

  • Uses the google-generativeai library.
  • Handles errors safely, returning an error message if AI generation fails.

3. Extra Generators

All these functions use random logic and return simple strings.

  • generate_personality(name): Generates a fun personality description.
  • generate_motivation(mood): Provides motivational messages based on mood.
  • generate_meme_idea(): Comes up with a random meme idea.
  • generate_caption(topic): Generates a caption for a given topic.
  • generate_gamer_tag(name): Creates a unique gamer tag.
  • generate_roast(): Generates a light, non-harmful roast.
  • generate_excuse(): Creates a funny excuse.
  • generate_pickup_line(): Generates a clean pickup line.

Developer Credit

Made with ❤️ by @gunpark_xd

Metadata

Release files for nepali-ai-tools 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nepali-ai-tools 0.1.1
File Size Uploaded
nepali_ai_tools-0.1.1.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nepali-ai-tools 0.1.1
File Interpreter ABI Platform
nepali_ai_tools-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / nepali_ai_tools-0.1.1.tar.gz

Download URL nepali_ai_tools-0.1.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f785228fcbea142373078fddff1d9264a5e285364c5c758f9b2a30d49023f4c5
BLAKE2b-256 checksum
How to use checksums
961b5113108cf9122b05e6a69709210dcfa9c1731a2790a1b1529822f5d37b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release files / nepali_ai_tools-0.1.1-py3-none-any.whl

Download URL nepali_ai_tools-0.1.1-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a9a42c6a2e8e8afea22937ada013a743a98564dcc4296bc98241d887856d492
BLAKE2b-256 checksum
How to use checksums
a1512b051f31e202c7f31e8d7be63a9fa03764d9b551bf032e97d9558f0933fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0rc1

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page