Skip to main content

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:

Release files for jupyter-pieces 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyter-pieces 2.0.0
File Size Uploaded
jupyter_pieces-2.0.0.tar.gz 5.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-pieces 2.0.0
File Interpreter ABI Platform
jupyter_pieces-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 MB

Release files / jupyter_pieces-2.0.0.tar.gz

Download URL jupyter_pieces-2.0.0.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
8516f5661f4e28d730926d6ea43d499034131bc349fb9776e9326d37a51a3961
BLAKE2b-256 checksum
How to use checksums
7965d803c6353725b38f5e700f173d734f7df539737d55cd82742662aa198d0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / jupyter_pieces-2.0.0-py3-none-any.whl

Download URL jupyter_pieces-2.0.0-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5de256eee45191d54e8ea0fab0fb11e1180a0a5c8be83d25c585323be631ec53
BLAKE2b-256 checksum
How to use checksums
d2565302b3a45e2cfd721607be7bacb82f864d4a5d6ca575b6547d957e84da3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.26.1

2 release files

1.26.0

2 release files

1.25.1

2 release files

1.25.0

2 release files

1.23.1

2 release files

1.23.0

2 release files

1.22.0

2 release files

1.21.0

2 release files

1.19.1

2 release files

1.19.0

2 release files

1.18.0

2 release files

1.17.0

2 release files

1.16.1

2 release files

1.16.0

2 release files

1.15.1

2 release files

1.15.0

2 release files

1.14.0

2 release files

1.12.0

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.9.0

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page