Skip to main content

Jupyterlab code material management tool powered by AI.

Project description

This package has been renamed to jupyter_pieces instead of jupyter-pieces. See: https://github.com/jupyterlab/jupyterlab/issues/15603

Pieces for Developers | JupyterLab Extension

In 2022, our team embarked on a mission to transform the way you code with your personal micro-repo.

With the debut release of our Flagship Desktop App, we laid the foundation, and now our JupyterLab extension is here to revolutionize your coding workflow further by incorporating key capabilities and our users' favorite features directly into their JupyterLab environment.

Pieces For Developers Banner

Elevate your coding & problem-solving in JupyterLab with the Pieces Copilot. Interact with the Copilot from any code workspace right within your JupyterLab interface. Ask questions about code or content within a file, gain insight on keywords or patterns within code materials, ask the Copilot to generate a sample using an SDK you’re researching, and even use it to help you understand PRs.

As you move through your workflow, our JupyterLab extension enables you to effortlessly capture, manage, share, and discover code materials, such as code screenshots, with a simple click.

The Pieces for Developers JupyterLab extension is designed to become your go-to development partner, transforming your workflow with efficiency and organization.

Table of Contents

Recent Updates

v1.6.1 - Improved Pieces Copilot Experience

Oct. 3, 2023

  • Introduction of Quick Actions for easy selection of LLM runtime and file context in Copilot chats.
  • Theme Matching feature to align Copilot's appearance with the environment's theme.
  • Styling updates including new icons for an enhanced user experience.

v1.4.0 - Filter your Material List

Sept. 8, 2023

  • Ability to filter material lists based on tags, titles, language, and more.
  • Access to filtering options via a filter button and a user-friendly interface for setting up filters.
  • Improved search functionality with the search bar now properly accepting user input.

v1.1.1 - Introducing Pieces Copilot

Jul. 21, 2023

  • Launch of qGPT RAG Copilot, a chatbot contextualized by the code within a user's notebook(s), facilitating plain text queries.
  • Incorporation of live data synchronization to ensure real-time update of modifications made in your Pieces repository via other integrations.
  • New Context Menu Enrich Button to allow automatic generation of comments explaining the selected code, aimed at enhancing JupyterLab workflow.

View all updates

Getting Started

Requirements

  • JupyterLab >= 4.0.0
  • You must have PiecesOS installed.

PiecesOS facilitates the local operation of Pieces products on your machine and coordinates connections to Pieces extensions. The extension will not function as intended without PiecesOS active on your machine.

*PiecesOS installation comes with the Pieces for Developers Desktop App where your materials can also be viewed and managed.

Install Instructions

Execute pip install jupyter_pieces in your terminal.

or

Search for jupyter_pieces within the JupyterLab Extensions Manager and install.

Features

Meet Your New Copilot

Your personal copilot, powered by local or cloud-based LLMs (i.e. Llama 2, GPT-3.5, GPT-4, and PaLM 2) for maximum security and privacy, that’s contextualized by your workflow to help solve coding problems, onboard into new projects faster, and connect you with the right people.

Meet Your New Copilot

Save Valuable Code

Templates, commands, useful materials, notes... quickly save aspects of your code for future reference or reuse.

How to save

  • Highlight code, right-click, and select "Save to Pieces."

Save with Right Click

  • Click the Pieces Save button within any code block.

Save with Pieces Button

Find and Reuse Code Materials

Fast, robust search of your code materials right within JupyterLab.

Manage your Materials

Share Code from JupyterLab

Share materials with a simple right-click, complete with relevant context - tags, descriptions, origin, and more!

Share your Materials

Keyboard Shortcuts

To use a Pieces command, simply highlight code in your editor or hover a material in your Pieces List.

Command macOS Windows
Save Selection to Pieces Cmd+Shift+S Ctrl+Shift+S
Share Selection via Pieces Cmd+Shift+K Ctrl+Shift+K
Save Cell to Pieces Cmd+Shift+Enter Ctrl+Shift+Enter
Share Cell via Pieces Cmd+Shift+X Ctrl+Shift+X
Discover Materials Cmd+Shift+A Ctrl+Shift+A
Refresh Materials Cmd+Shift+E Ctrl+Shift+E
Quick Search Cmd+Shift+M Ctrl+Shift+M
Toggle View Cmd+Shift+Y Ctrl+Shift+Y

Explore the Pieces Ecosystem

Maximize productivity with our Flagship Desktop App and other products designed to streamline your coding workflow across different platforms.

Pieces Product Suite

For detailed descriptions and features of each product, visit our docs for JupyterLab.

Need Help?

Encountered a hurdle? We've got you covered. Reach out for support:

Stay Connected

Stay in the loop! Follow us for the latest updates, tips, and insights:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_pieces-1.23.1.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_pieces-1.23.1-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file jupyter_pieces-1.23.1.tar.gz.

File metadata

  • Download URL: jupyter_pieces-1.23.1.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for jupyter_pieces-1.23.1.tar.gz
Algorithm Hash digest
SHA256 c0242cfe83e5e7ae6c48b385baee79fb9d2bb04a709863b20fd3d7605a4876bb
MD5 58ed3954f162ba36f1cdbd802450f9a9
BLAKE2b-256 e95c63cfac615d85891e530efa3d599951d322bf5e35786f44a4220ec9161cf2

See more details on using hashes here.

File details

Details for the file jupyter_pieces-1.23.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_pieces-1.23.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43e9d987ad000a49945edacf83f8034177c019ed4447b998a3b3d4f982f23579
MD5 d902c83f95db8402b0949fd0244cc602
BLAKE2b-256 9f9269cc19ead366695308eab0f8576f56d380e99b4cf2e8e0b981728a371ec6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page