writer-framework
writer-framework copied to clipboard
install streamsync extensions with pip
A developer can share streamsync extensions as a python package. Components appear in streamsync after a user installs them from pip
.
Packages are scanned when the extension starts with streamsync_xxxxxx
. The goal is to recognize components added in streamsync from a pip install streamsync_xxxxxxxx
.
package demo on pypi: https://pypi.org/project/streamsync_bubblemessage/ package demo/template on github: https://github.com/FabienArcellier/streamsync_bubblemessage
Design
- the python package has to start with
streamsync_
- the mecanism is compatible with multi app pattern
- no conflict resolution if 2 pypi package use the same
streamsync_
package. I think pip will show an error during installation
Discussions
- design a gallery to promote community components
- transfer of template for distribution from my account
FabienArcellier
tostreamsync-cloud
- the logger usage
I have to move the ExtensionManager
into serve
module. We want to avoid interaction from core module with the filesystem