python api hub | PragyanAPI
Project description
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:
- chatgpt(args) - Executes chatgpt AI functionality
- gemini(args) - Executes Gemini AI functionality
- blackbox(args) - Executes blackbox AI functionality 🔮
- hastag(args) - Generates hashtags based on input
- imdb(args) - Fetches information from IMDB
- morse_encode(args) - Encodes text into Morse code
- morse_decode(args) - Decodes Morse code into text
- leetcode(args) - Extract leetcode information by username
- password(args) - Generates a random password
- pypi(args) - Search PyPI for packages
- datagpt(args) - Generates data using Datasets from datagpt ai
- unsplash(args) - search hd image from unsplash website
- github(args) - Extract github information by username
- repo(args) - Extract github repo by name
- Meme - Generate memes
🔗 Have fun coding with PragyanAPI
─「 sᴜᴩᴩᴏʀᴛ 」─
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pragyanapi-0.6.5.6.tar.gz
(1.2 MB
view details)
File details
Details for the file pragyanapi-0.6.5.6.tar.gz
.
File metadata
- Download URL: pragyanapi-0.6.5.6.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8669c954ffe0f8baa78f4288bd44ff9f20976f2dc2671ae47f9c10c8fd578cc |
|
MD5 | 46dbb022dd9fad13bac35495e7b647b4 |
|
BLAKE2b-256 | 7a72a09222657eef06c439dd4941d8a0aee8f438a1a7893a8791372d88741f19 |