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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbd45ad1a6b37316dbbd79c4d9ed97d3526f8db953feaae6f03f322ed52cddc |
|
MD5 | 2c72c74da634893c5d831fb8ac77be9a |
|
BLAKE2b-256 | 2fe0dd26a35fdda100a8420b65a73728cb01ab7fb7012a3841076575bfa11cbe |
Hashes for napari_script_editor-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 362f0e46c38161e2793562aa3cbd9154af7ffa5625931165e1e6d723dbba3d2b |
|
MD5 | 2d8cf9bf067f7619da1e4cd06c57dc05 |
|
BLAKE2b-256 | b091e0ca148fc9a929f5a7760d93cf825409f6aef52de6c7e338ea9a0f5cf822 |