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

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.11.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsleyes_widgets-0.11.0-py2.py3-none-any.whl (109.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fsleyes-widgets-0.11.0.tar.gz.

File metadata

  • Download URL: fsleyes-widgets-0.11.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.13

File hashes

Hashes for fsleyes-widgets-0.11.0.tar.gz
Algorithm Hash digest
SHA256 6cbe4cac3021256653dea9c4567aa5a29a0d4480c7c7bf9c5991b6c13ef985b5
MD5 5a95173615a45aa966d241031bb2afc9
BLAKE2b-256 d4db00b73026f0d259c8727a55d1c7d74f8d8f400aeac1fa664d27b704aa7ea4

See more details on using hashes here.

File details

Details for the file fsleyes_widgets-0.11.0-py2.py3-none-any.whl.

File metadata

  • Download URL: fsleyes_widgets-0.11.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 109.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.13

File hashes

Hashes for fsleyes_widgets-0.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c41cc6d1719102f02e07084f68bd98fd49b4ba39c70287e8abbdadb038c18f4
MD5 e3eb3f9f95399960b22febadcba4d8a1
BLAKE2b-256 c769feeebe88076d6d402494c1c8a8393ad1e03db8ea445538b661fb140f032a

See more details on using hashes here.

Supported by

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