The Discord bot monitors all messages in the server. If a message contains profanity, the bot deletes it and sends a warning to the channel. The bot also notifies the host about the deletion via a direct message. Additionally, the bot outputs a helpful error message to a channel if there is a permissions error, guiding the server admin to enable the required permission in the Discord Developer portal.
Not all apps require sophisticated code and many only require some interaction from inputs and run similarly to the interactions that would exist in a shell terminal. This powerful app skeleton can be suitable for these apps. Examples: * app that does some processing and just prints results or sends it to some server or storage. * app that does some data crunching, either from user input or from external sources and then posts something on other platforms. * app that transforms the data in some way and outputs it using some libs.
Use this skeleton if you need to use Pygame to build the app. Example: if the user needs to create games or video games or multimedia programs or graphical programs that make use of display but that are not to be played on the browser (in that case a web server with HTML and javascript is better)
Ask questions about your database via a chat bot. This chatbot connects to a SQLITE database, generates queries for it based on the schema and then runs the queries printing the response all in a nicely styled chat UI. This template is pre-loaded with sample data (car parts) to play around with - here are the sample data columns that you can query: part_number, part_name, price, units_left_in_stock, manufacturer .
This app allows users to interact with a Slack bot, ask a question about the data in a table or request the table schema, and then uses the latest ChatGPT to generate a query that is executed on BigQuery to return the results. The app includes a retry mechanism for query generation in case of an error (up to two retries) and provides the LLM with the table info to generate more accurate queries. The table schema is only printed if it is successfully retrieved. All errors from retries are now passed to the LLM. The generated query is printed before the results, and the results are displayed in a pretty table format. The bot uses the Slack API to send and receive messages and parses the user's message to determine the action to take. The bot always responds in a thread to the original message.
The bot requires certain permissions to function properly. These include the ability to read message history, send messages, and react to messages. The bot will generate stats such as This bot will provide ticker stats, commodity stats, Stock News and other AI Stock Trading Advice Please provide the Discord bot token in the Env Secrets tab under the name 'DISCORD_BOT_TOKEN' and your API Key for the Alpha Advantage
This skeleton is ideal for developers looking to integrate Python, HTML, and JavaScript seamlessly into a single application using Flask such as admin pages, web games, web apps, etc. It facilitates the creation of web-based applications with embedded client-side scripts. This setup is perfect for building full-stack web applications that require interactive elements on the front end while leveraging Python's robust backend capabilities. This skeleton is not a good choice for a backend app.
This app tracks the growth of a Discord server and posts updates to Twitter. This app creates a tweet to your twitter account every time another hundred users join your discord server. Make sure you have twitter access tokens created with Read, Write, and Direct Messages permissions to run this app.
This is a FastAPI-based application that uses Google’s Gmail API to fetch and display emails based on user-defined search queries. It provides a /search_emails endpoint for email searches and a /oauth2callback endpoint for OAuth2 callbacks. The app requires the environment variables CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI for OAuth2 authentication. These credentials pertain to your Google API and must be set correctly for the application to function as expected.
An app that moderates comments on your page feed using Facebook API and webhooks. This app uses the FastAPI to create a webhook endpoint for moderating posts on your page. A facebook access token for the page will be needed to make the API call. The permission scopes you will need for the access token are `pages_read_engagement` and `pages_manage_posts permissions` as an admin of the page you are posting to. The app moderates comments on Facebook ads/posts by removing and flagging hateful speech.
An app that shares a post to your page feed using Facebook API. This app uses the FastAPI to create an endpoint to call the Facebook API for sharing a post on your page. A facebook access token for the page will be needed to make the API call. The permission scopes you will need for the access token are `pages_read_engagement` and `pages_manage_posts permissions` as an admin of the page you are posting to. A link to another facebook can also be provided to share that post with a caption on your page.
A customizable Streamlit dashboard template for evaluating machine learning models with interactive elements and real-time visualizations. This comprehensive dashboard allows you to upload your dataset and evaluate it using various pre-trained machine learning models. You can select from models like Random Forest, SVM, and Logistic Regression. Adjust model parameters using interactive sliders and buttons. The dashboard provides real-time visualizations, including dynamic charts and confusion matrices, to help you interpret the results effectively. Ideal for data scientists and ML enthusiasts looking to quickly assess model performance.
This is a Python Flask API application that handles GitHub webhooks that have been setup for a GitHub repository. The app listens to and receives incoming JSON data from GitHub on it's endpoint `github/webhook/`, and prints it for the user to see. The JSON data can then be stored or further processed as required. The app URL will be used in the webhook setup on GitHub.
This is a FastAPI application that interacts with the Google Calendar API to create events. It requires three environment secrets: CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI. The application has three main endpoints: POST /create_event: This endpoint accepts a dictionary representing an event and attempts to create this event on the primary calendar of the authenticated user. GET /oauth2callback: This endpoint handles the OAuth2 callback from Google. If no code is provided, it redirects the user to the Google authorization page. If a code is provided, it exchanges the code for an access token and stores the token. GET /clear_credentials: This endpoint clears the stored credentials. Please note that the application must be authenticated with Google before events can be created. This is done by accessing the /oauth2callback endpoint and following the Google authorization process.
An app that fetches Facebook leads forms for a page using the Facebook Developers API. This app uses the FastAPI to create an endpoint to call the Facebook API for getting the page lead forms. A facebook access token for the page will be needed to make the API call. The permission scopes you will need for the access token are `ads_management`, `pages_read_engagement`, `pages_show_list`, `pages_manage_ads` and ` leads_retrieval`.
This Python script uses Flask to create a web application that connects to the Gmail API and retrieves the user's unread emails. The script defines two routes: "/" displays the user's unread emails, and "/oauth2callback" is the OAuth 2.0 callback URI. Following api keys need to be set as environment secrets to authenticate with google api: 1. CLIENT_ID 2. CLIENT_SECRET 3. REDIRECT_URI
An app for fetching a logged-in pages's review using the Facebook API. This app uses the FastAPI to create an endpoint to call the Facebook API for getting the page reviews. A facebook access token for the page will be needed to make the API call. The permission scope you will need for the access token is `pages_read_user_content`.
A chat interface where users can chat with an AI using the llm ability package on Lazy. This Flask website is meant to simulate a store with dummy data and an AI assistant that a user can talk to about anything using the chat floating button on the bottom right of the page. The chatbox maintains chat history and generates replies with the context of the chat.
This application provides Fast API endpoints to get videos all videos from a YouTube channel using Youtube API. The end points are "channel/videos" to get videos using channel id and "channel/videos/by-url" to get videos using YouTube channel url. The videos’ details such as ID, title, description, link, and published date are returned in a structured format. The application requires the ‘YOUTUBE_API_KEY’ to be set in the environment variables to authenticate the requests to the YouTube Data API.
An app that retrieves the Facebook user ID using the Facebook API. No specific permissions are required to make this api call. This app uses the FastAPI to create an endpoint to call the Facebook API for getting a logged-in user's id. A facebook access token will be needed to make the API call.
An app for fetching a logged-in user's pages using the Facebook API. The permission scope you will need is `pages_manage_metadata`. This app uses the FastAPI to create an endpoint to call the Facebook API for getting a user's pages that they are an admin of. A facebook access token will be needed to make the API call.
An app for fetching a post's comments using the Facebook API. The permission scopes you will need are `pages_read_engagement`, `pages_manage_metadata` and `pages_read_user_content`. This app uses the FastAPI to create an endpoint to call the Facebook API for getting a post's comments according to the post id and access token we provide the app. Using this app, we can retrieve and analyze comments on Facebook posts using the Facebook API.
An app for fetching a Facebook user's posts using the Facebook API. This app uses the FastAPI to create an endpoint to call the Facebook API for getting user posts according to the user id and access token we provide the app. You can customize this app to get Facebook group posts as well.
This application is a web server built with FastAPI. It provides an endpoint /get_location that fetches location data based on latitude and longitude using the Google Maps API. When a POST request is made to the /get_location endpoint with latitude and longitude as form data, the application returns the location data in JSON format. The application requires a Google Maps API key to function. This key should be provided via the environment variable GOOGLE_MAPS_API_KEY
This application is a FastAPI web server that provides an endpoint to fetch the geographical coordinates (latitude and longitude) of a given address. The endpoint /get_address_coordinates accepts an address as input and uses the Google Maps Geocoding API to fetch the corresponding coordinates. The application requires a Google Maps API key to function. This key should be provided via the environment variable GOOGLE_MAPS_API_KEY
A FastAPI application to find YouTube channel ID. By simply providing a video URL, users can retrieve information about the video's channel, including the channel ID and channel name. The app leverages the YouTube API to fetch this data, requiring users to set a YOUTUBE_API_KEY in the environment variables for it to function correctly.
This app is provides fast api endpoint and is designed to fetch trending videos from YouTube based on keywords provided by the user. It utilizes the YouTube Data API v3 to search for videos that are currently trending in the US region. The app requires a valid YouTube API key, which must be set as an environment variable named `YOUTUBE_API_KEY`. The response includes detailed information about each video, including a direct link to the video on YouTube.
The application is a Discord bot that integrates with Twitter. It allows users to post tweets directly from Discord using the command `!tweet`. The bot uses environment variables for sensitive data such as the Discord bot token and Twitter API credentials, ensuring security best practices. The required tokens are: DISCORD_BOT_TOKEN, TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, and TWITTER_ACCESS_TOKEN_SECRET.
The template which allows to make a classic arcade game Pong, where players control paddles to hit a ball back and forth, aiming to prevent the ball from reaching their side of the screen. No need to learn Unity or Python to create the game. Made by BaranDev[https://github.com/BaranDev]
A Discord bot build in python that allows users to create and use custom text commands. The user can use this bot by using the !addCommand in the following format: "!addCommand ! ". Currently only custom text commands with custom text replies are supported for this bot.
A python app for getting orders in a store using the Shopify API. The python FastAPI is used for making the API call. The app requires a SHOPIFY_ADMIN_API_TOKEN and "orders" scope permissions to authenticate requests. This app can be customized to get all orders by name, by order ID (order number), fulfilled orders only and so on.
This Discord bot allows users to create polls with custom questions, options, and durations. Users can interact with the bot using the "/poll" command to create polls, which are then presented with reaction emojis for voting. The bot tallies votes in real-time and announces the winning option when the poll closes. It is designed to be user-friendly, providing help messages and feedback on command usage.
An app for asking questions about location data based on latitude and longitude coordinates. This app allows to get address from longitude (long) and latitude (lat) using Google Maps API. Google reverse geolocation helps to get address from coordinates using Google Maps API.
This app uses the Stripe API to create payouts for Connect Stripe Accouts and allows users to modify the payout schedule. It includes a Flask web service with an endpoint for this purpose. The backend makes API calls to create a transfer of funds and update the payout schedule using the Stripe API and the submitted form data.
This app uses the Stripe API to get all active customer subscriptions. It includes a Flask web service with an endpoint for this purpose. The backend makes an API call to get all active customer subscriptions using the Stripe API. The app displays the list. This app can be customized to also get Stripe subscriptions by customer id.
A FastAPI application that retrieves all products from a Shopify store and returns them in JSON format. Requires the SHOPIFY_ADMIN_API_TOKEN environment secret. The app includes an endpoint at "/product_metafields" where users can provide a product ID and the Shopify store URL to retrieve the product's metafields. The only environment secret required is SHOPIFY_ADMIN_API_TOKEN, which must be set for the app to authenticate with the Shopify API.
The app includes two main functionalities: 1. A POST endpoint `/bulk_update_inventory` that allows bulk updating of inventory levels for products in a Shopify store. It requires a JSON payload with the store URL, location ID, and a list of inventory updates. 2. A GET endpoint `/fetch_inventory_levels` that retrieves the inventory levels for a specific location in a Shopify store. It requires the store URL and location ID as query parameters. For the app to function correctly, please ensure the following environment variable is set in the Env Secrets tab: - `SHOPIFY_ADMIN_API_TOKEN`: This is the Shopify admin API token used for authenticating requests to the Shopify GraphQL API.
This app uses the Stripe API to set a default payment method for customers. It includes a Flask web service with an endpoint to create the default payment method. The backend makes an API call to set the payment method using the Stripe API. The app displays whether the API call was successful or not after submission.
The app allows users to create price rules and discount codes for their Shopify store using API. Users can provide a base set of data for the price rule, and optionally include additional fields to customize the rule further. The Shopify Admin API token is securely taken from environment variables, ensuring sensitive data is handled properly. Please set the `SHOPIFY_ADMIN_API_TOKEN` in the Env Secrets tab.
This app uses the Stripe API to create payment methods for users. It includes a Flask web service with an endpoint to create a payment method. The backend makes an API call to create the payment method using the Stripe API. The app displays the payment method ID in an alert after submission. The app allows for the use of test tokens to create payment methods using test cards.
This app allows users to update inventory quantity of a product and to get inventory_level_id of a product in a Shopify store using API. Users can set the necessary environment variables, including the SHOPIFY_ADMIN_API_TOKEN to enable the app to access the store. The app has following end points: - An endpoint to adjust the inventory level of a product (`/update_inventory`). - An endpoint to get the inventory level ID of a product (`/get_inventory_level_id`).
This app allows users to upload PDF files and convert them into Google Docs. Users can upload a PDF file through a web interface, and the app will authenticate the user with Google. Once authenticated, the app will convert the PDF file into a Google Doc and save it to the user's Google Drive. The app provides a simple and user-friendly interface for uploading and converting PDF files.
This app allows users to receive SMS messages using the Twilio SMS API and generate custom responses based on the received message. Users can set a Twilio number to receive the SMS messages and customize responses for specific keywords or phrases. Users can use the URL endpoint generated from this app as a Webhook URL on their Twilio number's messaging configuration so that received messages can be forwarded to this app.
This application utilizes Flask for the backend and JavaScript for the frontend to convert a ZIP file containing PDFs into downloadable PDFs with corresponding download links. Users upload a ZIP file through a form, triggering a POST request to the backend. The backend extracts the PDF files from the uploaded ZIP, generates download links for each PDF, and returns the links as a table to the frontend. The frontend then displays the table with the download links for each PDF file. Made by BaranDev[https://github.com/BaranDev]
Python is a high-level programming language that was created by Guido van Rossum and first released in 1991. It is known for its simplicity and readability, making it a popular choice for beginners and experienced programmers alike.Here are some key features and characteristics of Python:
Here are some key features and characteristics of Python:
Overall, Python's simplicity, versatility, and strong community support have contributed to its popularity and widespread adoption in various industries.