{"id":21557237,"url":"https://github.com/kernel-loophole/openai","last_synced_at":"2025-10-05T09:39:02.852Z","repository":{"id":115786109,"uuid":"470259084","full_name":"kernel-loophole/openAI","owner":"kernel-loophole","description":"openai with Python","archived":false,"fork":false,"pushed_at":"2022-04-13T13:07:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T10:46:47.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kernel-loophole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T17:12:15.000Z","updated_at":"2022-03-15T17:13:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cfc8469-18f8-4b99-a7be-564f7a82b8c6","html_url":"https://github.com/kernel-loophole/openAI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernel-loophole%2FopenAI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernel-loophole%2FopenAI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernel-loophole%2FopenAI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernel-loophole%2FopenAI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kernel-loophole","download_url":"https://codeload.github.com/kernel-loophole/openAI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244148494,"owners_count":20406196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T08:11:43.585Z","updated_at":"2025-10-05T09:39:02.749Z","avatar_url":"https://github.com/kernel-loophole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI API Quickstart - Python example app\n\nThis is an example pet name generator app used in the OpenAI API [quickstart tutorial](https://beta.openai.com/docs/quickstart). It uses the [Flask](https://flask.palletsprojects.com/en/2.0.x/) web framework. Check out the tutorial or follow the instructions below to get set up.\n\n## Demo of OpenAI With flask \n\n\n\n![demo](https://user-images.githubusercontent.com/76658396/163186916-6d94610c-3bcf-4434-b954-e8c72968b3e5.gif)\n\n\n\n\n\n## Setup\n\n1. If you don’t have Python installed, [install it from here](https://www.python.org/downloads/)\n\n2. Clone this repository\n\n3. Navigate into the project directory\n\n   ```bash\n   $ cd openai-quickstart-python\n   ```\n\n4. Create a new virtual environment\n\n   ```bash\n   $ python -m venv venv\n   $ . venv/bin/activate\n   ```\n\n5. Install the requirements\n\n   ```bash\n   $ pip install -r requirements.txt\n   ```\n\n6. Make a copy of the example environment variables file\n\n   ```bash\n   $ cp .env.example .env\n   ```\n\n7. Add your [API key](https://beta.openai.com/account/api-keys) to the newly created `.env` file\n\n8. Run the app\n\n   ```bash\n   $ flask run\n   ```\n\nYou should now be able to access the app at [http://localhost:5000](http://localhost:5000)! For the full context behind this example app, check out the [tutorial](https://beta.openai.com/docs/quickstart).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernel-loophole%2Fopenai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernel-loophole%2Fopenai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernel-loophole%2Fopenai/lists"}