Package manager for libvis modules
This is the npm + pip for libvis: it allows you to download, install and develop custom libvis modules.
Install libvis module
To download a module from libvis official repo https://github.com/libvis:
libvis-mods download gh:/libvis/<module name>
cd <module name>
libvis-mods install
Start your own module
Set up the project
To try out a simple module, you can start with a simple template that uses two files:
⟩ libvis-mods init-file MyModule
/home/dali/side-projects-hobby/pywebviz/mods/libvis_mods/project-templates/source-files {'name': 'MyModule'} .
⟩ cd MyModule/
~/MyModule ⟩ ls
MyModule-front.coffee MyModule_back.py readme.md
Original template repo: https://github.com/libvis/module-template-files
For a more complex project, use the init-dir command:
⟩ libvis-mods init-dir MyModule
/home/dali/side-projects-hobby/pywebviz/mods/libvis_mods/project-templates/source-dirs {'name': 'MyModule'} .
⟩ tree MyModule/
MyModule/
├── Makefile
├── README.md
├── back
│ ├── __init__.py
│ ├── main.py
│ └── utils.py
├── front
│ ├── index.js
│ ├── main.coffee
│ └── style.css
├── js_requirements.txt
├── libvis-mod.conf
└── py_requirements.txt
2 directories, 11 files
Original template repo: https://github.com/libvis/module-template-dirs
Develop with Hot-reload
cd MyModule
libvis-mods develop
This will start the react development server and a hot-reload server for the python module. The front and back will be reloaded on write. Use test variable on the web app to display the test_object from your module.
Commands
⟩ libvis-mods
Usage: libvis-mods [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
develop Run the web server in development mode with hot reload
download Download source for the module into ./`module_name`
init-dir
init-file
install Install a module from directory
list list installed modules
publish
uninstall Uninstall module
where Prints locations of where modules are installed
Requirements
Just yarn or npm to build the webapp.
Feedback
This project is under active development. Any feedback is welcome!
The mods repo is currently here https://github.com/DaniloZZZ/pywebviz.
Metadata
Release files for libvis-mods 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| libvis_mods-0.1.12.tar.gz | 45.7 kB | Without provenance | Details for libvis_mods-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| libvis_mods-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for libvis_mods-0.1.12-py3-none-any.whl |
Total release size: 108.9 kB
Release files / libvis_mods-0.1.12.tar.gz
| Download URL | libvis_mods-0.1.12.tar.gz |
|---|---|
| Size | 45.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bd1ededea0b5bb11aeb18e83c8f609846185117bb39f951d9e02e5a5788bc8b
|
|
BLAKE2b-256 checksum How to use checksums |
40c6aa587bc3744689d3432430783e7f01d57aa6ec160d46e090abb32cd46bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
|
Release files / libvis_mods-0.1.12-py3-none-any.whl
| Download URL | libvis_mods-0.1.12-py3-none-any.whl |
|---|---|
| Size | 63.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e91867bac939957a3fd2d1f1f64aaa6469d3a54085af2b975c0886383f923a7a
|
|
BLAKE2b-256 checksum How to use checksums |
54886cfb650835deeac8c1cbf8dddcd86a48ab8a14dc498537858c0b790e1138
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
|
Security for libvis-mods 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.