Skip to main content

A collection of wxPython widgets used by FSLeyes

Project description

https://img.shields.io/pypi/v/fsleyes-widgets.svg https://anaconda.org/conda-forge/fsleyes-widgets/badges/version.svg https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets/badges/master/coverage.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fsleyes_widgets-0.14.8.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

fsleyes_widgets-0.14.8-py3-none-any.whl (944.7 kB view details)

Uploaded Python 3

File details

Details for the file fsleyes_widgets-0.14.8.tar.gz.

File metadata

  • Download URL: fsleyes_widgets-0.14.8.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for fsleyes_widgets-0.14.8.tar.gz
Algorithm Hash digest
SHA256 5e0fa264b1ec43799646b5c1a5e1340d123cfa4d2e416d8f78a208299ae50ab1
MD5 c56c0b561aa1179445a448abd2762b6a
BLAKE2b-256 24134e3d2b995fa4536df115be4ce734d51bd6e1a8e2ffaaab634e01e9f0f69c

See more details on using hashes here.

File details

Details for the file fsleyes_widgets-0.14.8-py3-none-any.whl.

File metadata

File hashes

Hashes for fsleyes_widgets-0.14.8-py3-none-any.whl
Algorithm Hash digest
SHA256 79603c2252dbab54e87d60303dcf9dddb19e03bf09c111f08e1f21be95ebc0ba
MD5 c2b0a375f2d154fd835a5fa38e775fe3
BLAKE2b-256 fe6a8c0a471cd9a8bd1a344fe7fd1a75802d8cb542c9b2b0508e3c3ab84f4387

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page