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 app allows users to upload a PDF file and extract text from both images and text content within the PDF. The extracted text is then uploaded to cloud storage, and a link to the file is returned. The app has been updated to prioritize text extraction from images and prevent duplication of content. The HTML response has also been enhanced with CSS to create a visually appealing page. Users can now download the result file using the link provided after the PDF file is processed.
This app is a Stripe API integration that allows users to check their customers subscription status. Users can access the app through a web interface where they can enter their customer email address. The app will then make an API call to Stripe to retrieve the subscription status and display it on the same page. The app requires the user to set the 'STRIPE_API_KEY' in the Env Secrets tab for authentication with the Stripe API.
The Phone Number Lookup with Twilio API app allows users to input a phone number using a command line prompt. The app validates phone numbers in international format and uses the Twilio API to fetch information such as carrier and country. If a phone number is not found, the app outputs that the number does not exist. The app has been updated to use the latest Twilio API endpoints and handle any errors that may occur.
This app allows users to schedule a status change on Slack by sending a direct message to the bot with their desired status, an optional emoji, and the start/end times. The app handles scheduling conflicts by prioritizing the most recent request and notifies the user accordingly. It also changes the user's Slack status at the scheduled times. If the user enters scheduling information in an incorrect format, the app sends a message explaining the correct format. The app uses the user's timezone from Slack for scheduling. Ensure the system clock is synchronized with the actual time to avoid scheduling issues. The app requires a user token to change the user's status.
This app integrates with Stripe API to create and manage invoices. It provides a seamless experience for users to generate invoices and make payments. The backend handles the creation of Stripe customers and invoices, while the frontend includes a JavaScript function to post data to the backend and redirect users to the payment page. A valid Stripe API key is essential for the app's operation.
The Python server will receive data from a Salesforce webhook and print the data for verification purposes. It will also display the Salesforce webhook URL to confirm where it is listening for incoming requests. Follow the given instructions to setup a Webhook trigger on a SalesForce object.
This app is a chat bot that can be integrated with Discord. It allows users to interact with the bot by sending messages and receiving responses. The bot is designed to handle rate limiting, ensuring that it responds to a limited number of messages per minute. If a user exceeds the rate limit, their messages are added to a backlog and processed later. The bot also supports private messaging and can respond to direct messages from users. The app is built using Python and utilizes the Discord API for communication.
The Shopify Get All Products Downloader is a FastAPI application that connects to a Shopify store using the provided store URL and Shopify API credentials. It retrieves all products from the Shopify store and returns them in JSON format. The app also includes frontend JavaScript code that calls the backend API and downloads the products (all or from a specific collection) which can be used for your storefront. You need to provide SHOPIFY_API_KEY and SHOPIFY_ADMIN_API_TOKEN.
This app integrates a custom Stripe subscription API. It includes a backend service set up using FastAPI and is compatible with any price point established through the Stripe API. The backend service creates a Stripe subscription and allows all CORS. It also logs sent requests and subscription statuses. The price ID, customer ID, and payment method are fetched during the request from the user. After adding the Stripe API key, the backend service can be activated by clicking the test button. The required environment secrets for this app are STRIPE_SECRET_KEY.
This app integrates a custom Stripe checkout page in a Python application. It includes both a backend and a frontend. The backend service is set up using FastAPI and is compatible with any price point established through the Stripe API. The backend service creates a Stripe checkout session and retrieves the status of a checkout session. It also allows all CORS and logs sent requests and checkout session statuses. The price ID is fetched during the request from the user. After adding the Stripe API key and directing the backend service to the price ID, the backend service can be activated by clicking the test button. The frontend code can be integrated into a Python application to create a custom payment page. This method can be used to set up various types of payment pages, including one-time payments and subscriptions. The required environment secrets for this app are STRIPE_SECRET_KEY and YOUR_DOMAIN.
This app uses Selenium to navigate directly to the specified YouTube channel URL, goes to the "Videos" tab, scrolls down until a specified number of videos are found, retrieves the list of these videos on the channel, and prints the collected video data in the console. The app also handles errors during the extraction of videos and prints the progress of the number of videos data that is being collected throughout the app lifecycle. The app requires the user to provide the URL of the YouTube channel and the maximum number of videos to collect data from in the console.
This application utilizes Flask for the backend to fetch GitHub repositories of a specified user or organization. The frontend is built with HTML, CSS, and JavaScript to provide a simple user interface for inputting the GitHub username or organization. Upon submission, the backend fetches the repositories using the GitHub API and renders the results dynamically on the frontend. Users can also reset the table to clear the displayed repositories. Additionally, error handling is implemented to handle cases where no repositories are found or there is an issue with the GitHub API token. 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.