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. Requiresapi_key.mode="hybrid"(default): Tries AI generation first; if an error occurs orapi_keyis 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-generativeailibrary. - 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nepali_ai_tools-0.1.1.tar.gz | 6.4 kB | Without provenance | Details for nepali_ai_tools-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nepali_ai_tools-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for nepali_ai_tools-0.1.1-py3-none-any.whl |
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
|
Security for nepali-ai-tools 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.