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
Uh oh!
There was an error while loading. Please reload this page.
-
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
childrendefined 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
ptpythonwith the pipe object already created.Add the decorators
@web_pageand@dash_plugin.You may now quickly add your own pages to the web console by decorating your layout functions with
@web_page:Use
ptpythonfor thepythonaction.Rather than opening a classic REPL, the
pythonaction will now open aptpythonshell.Add
--venvto thepythonaction.Launching a Python REPL with
mrsm pythonwill now default to--venv mrsm. Runmrsm install packageto make packages importable.Allow passing flags to venv
ptpythonbinaries.You may now pass flags directly to the
ptpythonbinary of a virtual environment (by escaping with[]):Allow for custom connectors to implement a
sync()method.Like module-level
sync()functions forpluginconnectors, any custom connector may implementsync()instead offetch().Install
uvicornandgunicornin virtual environments.The packages
uvicornandgunicornare 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