A python script editor for napari
Project description
napari-script-editor
A python script editor for napari based on haesleinhuepf's fork of 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.
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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df2d1cda6b9a20185a71a6ae0c24cbfe8f7d5d779e5213d3b4d9c07a1130876f |
|
MD5 | 229b187492cf37f6999e3f7f4ccfb0fd |
|
BLAKE2b-256 | 3ce815403ed1210cd575cdfe01e06a382a5d9b75df1acbb6a0cce3acc4279d95 |
Hashes for napari_script_editor-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d00a6d817e6ac94e05d324e376f55de7a68e3c008c9a9af1aaf3eb9854615e4d |
|
MD5 | 343cf378ae4dc9d35f3d0e9812d83d37 |
|
BLAKE2b-256 | 14f3333b219345d1ffc31cc5b218e09c2e5946213b60288c00aad197866a0fdd |