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
- Get a python environment, e.g. via mini-conda. If you never used python/conda environments before, please follow the instructions here first.
- Install napari using conda (seriously, don't use pip here, at least on Windows).
conda install -c conda-forge napari
Afterwards, install napari-script-editor
using pip:
pip install napari-script-editor
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
- 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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53e95d3302f6fcbc053a9f19d4f1a29c78e635e55a1dc154601b73bfac66373 |
|
MD5 | 8a5c1bbd16b9972c3fef6191865d19c1 |
|
BLAKE2b-256 | 4b3cc5877fa23c82ffd80c9eda46ed9e8b660de67283475ac4cc11c70c339c5f |
Hashes for napari_script_editor-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b5452b6a6ad76d7523d4404d06c9ff981236921917f55f3a5222a647e83c8a4 |
|
MD5 | 400640afee867500bd58e9537bf57295 |
|
BLAKE2b-256 | 4ec87af733af8ca60b5c61c8cfb10f9ba6e413fe548ecffa9a8034e2ce09a228 |