Skip to content
/ libro Public

libro:A Notebook Product Solution with Flexible Customization and Easy Integration.

License

Notifications You must be signed in to change notification settings

difizen/libro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libro

Language version: English | 中文

Code: CI License: MIT download-image

⚡ libro:A Notebook Product Solution with Flexible Customization and Easy Integration.⚡

  • Provides comprehensive Notebook functionality with a rich set of auxiliary tools, allowing for quick adoption based on existing setups.
  • Supports kernel-level extensibility, enabling customization and further development at all layers.
  • Defines workflows for large models, with built-in capabilities for model interaction and AI-powered assistance.

💡 Homepage:https://libro.difizen.net/

If you like this project, feel free to give us a star! 🌟🌟🌟

image


Table of Contents


Quick Start

You need to install libro-server to fully explore the capabilities of libro.

use pip:

pip install libro

For more details, please refer to quick start

Quick Integration

libro is fully modular, giving you the flexibility to choose from its native capability modules or add custom ones for extended development. To learn more about the modular development approach, check out mana.

You can assemble different modules based on your needs to build your own notebook product. For example, you might integrate only the editor-related modules into an IDE or other development environments, or bring in more modules to create a lab-style solution.

You need to install at least jupyter-server to run libro, which will give you access to the features of Jupyter Notebook. If you want to leverage the additional capabilities defined by libro, you'll need to install libro-server.

For more details, please refer to quick integration

Component-Based Consumption

import { ManaComponents } from '@difizen/mana-app';
import { LibroJupyterModule } from "@difizen/libro-jupyter";

<ManaComponents.Application
  modules={[LibroJupyterModule]}
  renderChildren
>
  <LibroComponent options={{ id: 'identify' }} />
</ManaComponents.Application>
  • Application: The mana context container, which is recommended to be placed at the outer layer of the application, allowing multiple libro instances to share the context.
  • LibroComponent:The libro view component, which allows you to embed the libro view anywhere.

New Features

Prompt Cell

  • Enhances the ability to interact directly with large models, supporting text conversations, multimodal expressions, and more.

  • Improves interaction capabilities for common output types, such as providing options to copy or run code when outputting it.

    image

Sql Cell

  • Supports interaction capabilities for executing SQL commands.

  • Connect to SQL databases to write SQL code directly in the notebook.

    image

Technical Architecture

image

Future Plans

  • SQL Cell Integration
  • AI Capability Integration
  • Support for Prompt Notebook
  • Execution of libro in the Browser

More

Reporting Issues

😊 We recommend submitting your questions through github issue, and we typically respond within two days.

Contributing

🤝 Please refer to CONTRIBUTING.md

Contributors

💪 Thanks to all contributors

List of Contributors

Contact Us

💬 Chat with us on Discord

🤗 Join our DingTalk Q&A group