Skip to content

Support dual environment usage #25

@MarcSkovMadsen

Description

@MarcSkovMadsen

There are a lot of use cases when developers write code and do not up front now where the code will be deployed: normal Python or Pyodide.

For example many open source packages (like Panel) might provide their documentation as notebooks. Those notebooks can be downloaded and used in normal Python, run in Binder or Code Spaces or run in Jupyter lite.

For example the development experience is currently much nicer and familiar for most users in normal Python compared to Pyodide. Thus many users would like to be able to develop and test their applications locally on laptop. And then for deployment go to pyodide.

For example for unit testing (or prerending like Panel does) you would be running in normal python. But with this package you have to be careful to alone import the package since it tries to import js.

Request: Please support dual usage in normal python (by using normal transformers package under the hood) and pyodide by using additional code from this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions