bragradon / ipython-copilot-completer Goto Github PK
View Code? Open in Web Editor NEWUse GitHub Copilot to complete lines in iPython
License: MIT License
Use GitHub Copilot to complete lines in iPython
License: MIT License
The MITM approach to get the token is not great.
It be better to have the extension open the browser so the user can get a proper token which can then be saved in the ipython profile
File ~/Documents/ipython-copilot-completer/copilot_completer/modes/key_binding.py:4 1 from __future__ import annotations 3 from IPython import get_ipython ----> 4 from IPython.terminal.shortcuts import cursor_in_leading_ws 5 from prompt_toolkit.enums import DEFAULT_BUFFER 6 from prompt_toolkit.filters import ( 7 HasFocus, 8 HasSelection, 9 emacs_insert_mode, 10 vi_insert_mode, 11 ) ImportError: cannot import name 'cursor_in_leading_ws' from 'IPython.terminal.shortcuts' (/home/mk/miniconda3/envs/py39/lib/python3.9/site-packages/IPython/terminal/shortcuts/__init__.py)
Todo list:
(and/or get help to do the above)
The README tells us to wget the current release file's wheel file (.whl extension) from github and use that to download from wheel. But it doesn't exist in the current release for 0.0.9 while it does for previous releases.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.