Skip to content

Future work on the Python integration #2937

@josevalim

Description

@josevalim

Continuation of #2936:

  • Rich-render Python objects, also support Jupyter representations (Dispatch Python output rendering to kino #2954)

  • Add autocompletion and other editor features, currently we only offer syntax highlighting

  • Refactor and unify functionality in relation to multiple language support - Livebook was originally designed with the assumption that external languages would be added via the distribution protocol. However, Pythonx showed us a different approach to integrate other runtimes, which we should now streamline.

  • Change Learn section with one guide for Erlang and another for Python - the Python notebook can include examples of several libraries which we integrate and render by default

  • Add support for distribution and FLAME - the goal is to be able to transfer Pythonx objects transparently across nodes. By integrating with FLAME, we can have better control over the objects lifecycle too

Under consideration:

  • Importing and exporting of .ipynb files
  • Export .py files (if a notebook only has Python cells)
  • Explore integration with Triton and Nx
  • Support Apache Arrow via ADBC and integrate with Pandas and Polars

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions