A python script editor for napari
Project description
napari-script-editor
A python script editor for napari based on PyQode.
This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.
Usage
Start the script editor from the menu Tools > Scripts > Script Editor
. Use the auto-completion while typing,
check out the napari tutorials and the
example scripts.
Use the Run
button to execute a script.
If you save the script to the folder ".napari-scripts" in your home directory, you will find the script in the
Tools > Scripts
menu in napari. You can then also start it from there.
Note: If you have scripts, that might be useful to others, please send them as pull-request to the examples in repository or share them in any other way that suits you.
Installation
You can install napari-script-editor
via pip:
pip install napari-script-editor
To install latest development version :
conda install git
pip install git+https://github.com/haesleinhuepf/napari-script-editor.git
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "napari-script-editor" is free and open source software
Known issues
napari-script-editor
depends on the auto-completion libraryjedi<=0.17.2
in an slightly outdated version of jedi. Thus, it is recommended to not use it in environments, where you also use jupyter-notebooks that may require a more recent version ofjedi
.- Sometimes, the script editor thinks, the file has been changed on disk and asks to reload it.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari-script-editor-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d1b3dd94a1b9e1d4a72e18b2d533029d2e06aba525bc0d7fe5ad99bc272fecf |
|
MD5 | a2ab568f62a25a28f5b2cd49f19adf0e |
|
BLAKE2b-256 | d28ca24445ada9ce79ad17e9f15e40f813fb538f83f5fe8bb9958e1fa1d3c5d1 |
Hashes for napari_script_editor-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b908fb0d403b5ed45108dea7c97f91ef2eeeb136b5027d4b9899b60937f3430 |
|
MD5 | 668b0d8f28de3cc95e7887f8e212ad07 |
|
BLAKE2b-256 | 6f889429943abe2bb5ddd508a03058cc79cb6355539b1d225fb323126c1530af |