A collection of wxPython widgets used by FSLeyes
Project description
The fsleyes-widgets package contains a collection of GUI widgets and utilities, based on wxPython. These widgets are used by fsleyes-props and FSLeyes,
Installation
You can install fsleyes-widgets via pip. If you are using Linux, you need to install wxPython first, as binaries are not available on PyPI. Change the URL for your specific platform:
pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-16.04/ wxpython
Then install fsleyes-widgets like so:
pip install fsleyes-widgets
fsleyes-widgets is also available on conda-forge:
conda install -c conda-forge fsleyes-widgets
Dependencies
All of the dependencies of fsleyes-widgets are listed in the requirements.txt file.
Requirements for running tests and building the documentation are listed in the requirements-dev.txt file.
Documentation
API documentation for fsleyes-widgets can be found at https://open.win.ox.ac.uk/pages/fsl/fsleyes/widgets/.
fsleyes-widgets is documented using sphinx. You can build the API documentation by running:
pip install -r requirements-dev.txt python setup.py doc
The HTML documentation will be generated and saved in the doc/html/ directory.
Tests
Run the test suite via:
pip install -r requirements-dev.txt python setup.py test
Many of the tests assume that a display is accessible - if you are running on a headless machine, you may need to run the tests using xvfb-run.
Contributing
If you would like to contribute to fsleyes-widgets, take a look at the fslpy contributing guide.
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 fsleyes_widgets-0.14.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49b5bb7867a177bea5521dfe32cdbf45a159b25affd06f7ba0e8071fa71500a1 |
|
MD5 | 73fd1b64858b411de6945070d77c0e7a |
|
BLAKE2b-256 | f60f7d7646befcabf114d423c7f9114075ed3b7bed7e22944170b9370fa0ad0e |