You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Speed up package installation in virtual environments.
Dynamic dependencies will now be installed via uv, which dramatically speeds up installation times.
Add sub-cards for children pipes.
Pipes with children defined now include cards for these pipes under the Parameters menu item. This is especially useful when working managing pipeline hierarchies.
Add "Open in Python" to pipe cards.
Clicking "Open in Python" on a pipe's card will now launch ptpython with the pipe object already created.
# Clicking "Open in Python" executes the following:# $ mrsm python "pipe = mrsm.Pipe('plugin:noaa', 'weather', 'gvl', instance='sql:main')">>>importmeerschaumasmrsm>>>pipe=mrsm.Pipe('plugin:noaa', 'weather', 'gvl', instance='sql:main')
Add the decorators @web_page and @dash_plugin.
You may now quickly add your own pages to the web console by decorating your layout functions with @web_page:
Use ptpython for the python action.
Rather than opening a classic REPL, the python action will now open a ptpython shell.
Add --venv to the python action.
Launching a Python REPL with mrsm python will now default to --venv mrsm. Run mrsm install package to make packages importable.
Allow passing flags to venv ptpython binaries.
You may now pass flags directly to the ptpython binary of a virtual environment (by escaping with []):
mrsm python [--help]
Allow for custom connectors to implement a sync() method.
Like module-level sync() functions for plugin connectors, any custom connector may implement sync() instead of fetch().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v2.2.2
Speed up package installation in virtual environments.
Dynamic dependencies will now be installed via
uv
, which dramatically speeds up installation times.Add sub-cards for children pipes.
Pipes with
children
defined now include cards for these pipes under the Parameters menu item. This is especially useful when working managing pipeline hierarchies.Add "Open in Python" to pipe cards.
Clicking "Open in Python" on a pipe's card will now launch
ptpython
with the pipe object already created.Add the decorators
@web_page
and@dash_plugin
.You may now quickly add your own pages to the web console by decorating your layout functions with
@web_page
:Use
ptpython
for thepython
action.Rather than opening a classic REPL, the
python
action will now open aptpython
shell.Add
--venv
to thepython
action.Launching a Python REPL with
mrsm python
will now default to--venv mrsm
. Runmrsm install package
to make packages importable.Allow passing flags to venv
ptpython
binaries.You may now pass flags directly to the
ptpython
binary of a virtual environment (by escaping with[]
):Allow for custom connectors to implement a
sync()
method.Like module-level
sync()
functions forplugin
connectors, any custom connector may implementsync()
instead offetch()
.Install
uvicorn
andgunicorn
in virtual environments.The packages
uvicorn
andgunicorn
are now installed into the default virtual environment.What's Changed
Full Changelog: v2.2.1...v2.2.2
This discussion was created from the release ⚡️ v2.2.2 Faster dependencies, add `@web_page`, better REPL, and more. (#158).
Beta Was this translation helpful? Give feedback.
All reactions