Skip to main content

PragyanAPI 🚀

Chatgpt AI 🤖

from PragyanAPI import api

# Execute Chatgpt AI with the input text

response = api.chatgpt("Write simple basic html website")

print(response)

# Execute Chatgpt AI with the input text with modes features

# available modes are "girlfriend","anime","animev2","flirt","santa","elonmusk"

response = api.chatgpt("hi babe","girlfriend")

print(response)

Chatbot AI 🤖

from PragyanAPI import api

# Execute Chatbot AI with the input text

print(api.chatbot("hii"))

Blackbox AI 🤖

from PragyanAPI import api

# Execute blackbox AI with the input text

print(api.blackbox("write flask app code"))

Password Generator 💡

from PragyanAPI import api

# Generate a default length password
print(api.password())

# Generate a password of specific length (e.g., 10)
print(api.password(10))

Gemini AI 🤖

from PragyanAPI import api

# Execute Gemini AI with the input text

print(api.gemini("write flask app code"))

Datagpt AI 🤖

from PragyanAPI import api

# Execute datagpt AI with the input text
response = api.datagpt("what is data science")
print(response)

BhagwatGita

from PragyanAPI import api
verse_data = api.bhagwatgita(1, 5)
print(verse_data)

IMDB Search

from PragyanAPI import api


movie_data = api.imdb("The Godfather")

print(movie_data)

Morse Decode

from PragyanAPI import api

decoded_result =api.morse_decode(".... . .-.. .-.. --- / .-- --- .-. .-.. -..")

print(decoded_result)

Morse Encode

from PragyanAPI import api
encoded_result =api.morse_encode("enter text here")
print(encoded_result)

Hastag Generator

from PragyanAPI import api
keyword = "python"
hashtags = api.hashtag(keyword)
print(hashtags)

Unsplash Image Search

from PragyanAPI import api
response = api.unsplash("boy image")
print(response)

LeetCode Information

from PragyanAPI import api

user_data = api.leetcode("PragyanCoder")
print(user_data)

Pypi Info

from PragyanAPI import api
user_data = api.pypi("PragyanAPI")
print(user_data)

Github Profile Information

from PragyanAPI import api
search_results = api.github("PragyanCoder")
print(search_results)

Github Repo Search

from PragyanAPI import api
search_results = api.repo("AnnayanXMusic")
print(search_results)

Random Meme

from PragyanAPI import api
search_results = api.meme()
print(search_results)

Please note that you need to install PragyanAPI using pip by running pip install --upgrade PragyanAPI in your terminal before executing these codes.

Note:

The above examples are for Python

Copyright (c) 2024-25

Author : Noob-Pragyan 👨‍💻

Functions in the api module are as follows:

  1. chatgpt(args) - Executes chatgpt AI functionality
  2. gemini(args) - Executes Gemini AI functionality
  3. blackbox(args) - Executes blackbox AI functionality 🔮
  4. hastag(args) - Generates hashtags based on input
  5. imdb(args) - Fetches information from IMDB
  6. morse_encode(args) - Encodes text into Morse code
  7. morse_decode(args) - Decodes Morse code into text
  8. leetcode(args) - Extract leetcode information by username
  9. password(args) - Generates a random password
  10. pypi(args) - Search PyPI for packages
  11. datagpt(args) - Generates data using Datasets from datagpt ai
  12. unsplash(args) - search hd image from unsplash website
  13. github(args) - Extract github information by username
  14. repo(args) - Extract github repo by name
  15. Meme - Generate memes

🔗 Have fun coding with PragyanAPI

─「 sᴜᴩᴩᴏʀᴛ 」─

Release files for PragyanAPI 0.6.5.6

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

Source distribution (sdist)

Source distribution for PragyanAPI 0.6.5.6
File Size Uploaded
pragyanapi-0.6.5.6.tar.gz 1.2 MB Details

Release files / pragyanapi-0.6.5.6.tar.gz

Download URL pragyanapi-0.6.5.6.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f8669c954ffe0f8baa78f4288bd44ff9f20976f2dc2671ae47f9c10c8fd578cc
BLAKE2b-256 checksum
How to use checksums
7a72a09222657eef06c439dd4941d8a0aee8f438a1a7893a8791372d88741f19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.6.5.6 This release

1 release file

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