papertlab is an AI pair programmer in your browser.
Project description
Papertlab: Your AI Pair Programmer
Papertlab is your AI-powered pair programmer that lets you seamlessly collaborate with Large Language Models (LLMs) to edit code in your local Git repository or any other codebases. Whether you're starting a new project or working with an existing Git repository, Papertlab is here to help. It works best with Claude 3.5 Sonnet and GPT-4o.
Documentation : Papert Documentation.
Features
- Run Papertlab with the files you want to edit: Select specific files to focus on during your coding session.
- Add new features or test cases: Papertlab can help you implement new features or write test cases for your existing code.
- Refactor your code: Easily refactor your codebase with the assistance of Papertlab.
- Update documentation: Automatically update your documentation based on code changes or other inputs.
- Initialize and maintain Git repositories: Papertlab will initialize your Git repository for new projects and manage it efficiently.
- Automatic Git commits: Papertlab automatically commits changes with sensible commit messages.
- Support for multiple programming languages: Works with Python, JavaScript, TypeScript, PHP, HTML, CSS, and more.
- Best with GPT-4o & Claude 3.5 Sonnet: Optimized for these LLMs to provide the best code suggestions and improvements.
- Edit multiple files at once: Handles complex requests by editing multiple files simultaneously.
- Works well in larger codebases: Utilizes a map of your entire Git repository to ensure context-aware suggestions and changes.
Installation
Prerequisites
Papertlab requires Universal Ctags for parsing code and generating tags. Follow the instructions below to install Ctags on your operating system.
Installing Universal Ctags
For macOS and Linux (using Homebrew):
-
Install Homebrew (if not already installed):
- macOS:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Linux: Follow the Linuxbrew installation instructions.
- macOS:
-
Install Universal Ctags:
brew install --HEAD universal-ctags/universal-ctags/universal-ctags
For Windows (using Chocolatey):
-
Install Chocolatey: Open an elevated Command Prompt and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; ` [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; ` iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
-
Install Universal Ctags:
choco install ctags
Verify Ctags Installation
After installation, verify that Ctags is correctly installed by running the following command in your terminal or command prompt:
ctags --version
Setting Up Papertlab
-
Create a Virtual Environment:
Create and activate a virtual environment to keep your dependencies isolated:
macOS/Linux:
python3 -m venv papertlab-env source papertlab-env/bin/activate
Windows:
python -m venv papertlab-env .\papertlab-env\Scripts\activate
-
Install Papertlab:
Install the Papertlab package using pip:
pip install papert-lab
-
Run Papertlab:
Navigate to your local Git repository or the directory you want to work in, then run:
papertlab
-
Access Papertlab in Your Browser:
Open your web browser and go to
http://127.0.0.1:5000/
to access the Papertlab interface.
Contributing
Contributions are welcome! Please refer to the CONTRIBUTION.md file for guidelines on how to contribute to the project.
Questions and Support
If you have any questions or need support, please don't hesitate to reach out:
- Email: azhar@papert.in
- LinkedIn: https://www.linkedin.com/in/mohamed-azharudeen/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for papert_lab-1.1.2b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b1f1a1c8bd961bcac7a9e756ed02d8d0edda36a24ce4cd55c8d1b052ab6746 |
|
MD5 | 36989aaa8bd45d1d830416c03d297de6 |
|
BLAKE2b-256 | 929c7c0ecdc2acee367bd2d38fd94f71d5d1c829c078b94737cfce7cd00d71a2 |