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 :
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ccd7226ee9d4ac772749eae1cc8ba99144af7978242544922c61e02aa8b82c |
|
MD5 | 8728c64368d149913c2ecebf707269f8 |
|
BLAKE2b-256 | 00389f8da897fd2cc6ec1e0f932a3f97e3c68ade0219204537eb65e0e066d762 |
Hashes for napari_script_editor-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04da6bfae46a3a1492d5d49a42b66deaf5912288638154b275bc6e03cf3d654a |
|
MD5 | 28672f5c0f3fb984fa30bd159efdd7ca |
|
BLAKE2b-256 | e3660a4d62f64b58ef1088121b11c7fcba3406d3981277eaf33bf9426c494c9a |