GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sherckuith/example-server-python-flask: Vapi servidor en python

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
data
data
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
example.env
example.env
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Server-Side Example Python Flask

This repository hosts a Python Flask application that demonstrates server-side operations with Flask. This project is structured to provide a straightforward example of how to manage API integrations and environment configurations.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Python 3.6 or higher
  • Poetry for dependency management

Installation

To install the necessary libraries and setup the project environment, follow these steps:

  1. Clone the repository:
    git clone https://github.com/VapiAI/server-side-example-python-flask.git
  2. Navigate to the project directory:
     cd server-side-example-python-flask
  3. Install dependencies using Poetry:
     poetry install

Configuring Environment Variables

This project requires certain environment variables to be set. Create a .env file in the root directory of your project and add the following keys:

WEATHER_API_KEY=<your_weather_api_key_here>
OPENAI_API_KEY=<your_openai_api_key_here>
VAPI_BASE_URL=https://api.vapi.ai
VAPI_API_KEY=<your_vapi_api_key_here>

Replace <your_weather_api_key_here>, <your_openai_api_key_here>, and <your_vapi_api_key_here> with the actual API keys.

Running the Project

To run the project, use Poetry to handle the environment:

poetry run flask --app ./app/main run 

This command starts the Flask server on http://127.0.0.1:5000/. You can access the server from your web browser at this address.

About

Vapi servidor en python

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.