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 - roy-pstr/python-pilot: A python terminal with a coding copilot

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
pypilot
pypilot
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

PyPilot

A python terminal with a coding copilot inside.
This is a regular python terminal, only that your comments are used as requests queries for the copilot.
Don't forget to set the API KEY (supports only OPENAI for now).

Demo

Features

  • Code generation inside the python terminal.
  • Your comments are used to communicate with the copilot.
  • The copilot is aware of the terminal history and locals.
  • Both code and chat responses are supported.
  • Supports system commands from within the terminal (e.g. !pip install <package_name>).
  • Supports all OpenAI models.

Installation

$ pip install python-pilot

Usage

$ pypilot --api-key sk-....

or

$ export OPENAI_API_KEY=sk-... 
$ pypilot

TODO

  • Add a way to use history only with headers of functions...
  • Docker containers
  • Add a selector step that decide what context the next llm prompt should have:
    • history: code executed (w/wo expressions), errors, llm requests
    • locals: vars, functions, modules (full terminal history, locals only) and if the output should be code or chat
  • Add support in llm config file

About

A python terminal with a coding copilot

Topics

agentcopilotllmopenaipythonpython-terminal

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

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.