Skip to main content

fractal-feature-explorer

License PyPI Python Version CI

This is the repository that contains the Fractal feature explorer dashboard. Find more information about Fractal in general and the other repositories at the Fractal home page.

Run the dashboard locally

Examples:

  1. Via uvx:
uvx --from fractal-feature-explorer explorer
  1. Via pipx:
pipx run --spec fractal-feature-explorer explorer
  1. Via uv:
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
cd fractal-feature-explorer
uv run explorer
  1. Via venv+pip:
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
cd fractal-feature-explorer
python3 -m venv venv
source ./venv/bin/activate
python3 -m pip install -e .
explorer

Run the dashboard on a remote server

The most common option is to create a virtual environment and install via pip, and then run via uvicorn

python3 -m venv venv

source venv/bin/activate

pip install fractal-feature-explorer

export FRACTAL_FEATURE_EXPLORER_CONFIG="config.toml"

uvicorn \
    fractal_feature_explorer.app:app\
    --no-server-header \
    --host 0.0.0.0 \
    --port 8501 \

Configuration-file examples:

Develoment

# Clone this repository
git clone https://github.com/fractal-analytics-platform/fractal-feature-explorer.git
cd fractal-feature-explorer
# Install the project via uv
uv sync
# Run the app
export FRACTAL_FEATURE_EXPLORER_CONFIG=./example-config-files/development-config.toml
uv run uvicorn fractal_feature_explorer.app:app --host 0.0.0.0 --port 8501

Note that this development-config.toml simulates a production deployment and thus it requires Fractal services running locally on a given set of ports (fractal-server on port 8000, fractal-web on port 5173, fractal-data on port 3000).

If you do not need all of this, run via

export FRACTAL_FEATURE_EXPLORER_CONFIG=./example-config-files/local-config.toml
uv run uvicorn fractal_feature_explorer.app:app --host 0.0.0.0 --port 8501

Change log

See CHANGELOG.md for details on changes and updates.

URL query parameters

  • setup_mode: either Plates or Images. This will determine the setup page of the dashboard.
  • zarr_url: the URL of the zarr file to load.
  • token: the fractal token to use for authentication (optional).

example URL: http://localhost:8501/?zarr_url=/Users/locerr/data/20200812-23well&?zarr_url=/Users/locerr/data/20200811-23well

Test data

Main limitations

  • Image preview is not available for 3D images.
  • Single images not supported, only plates.

Contributing

Releasing a new version on PyPI:

  1. Create a new local tag with the format vX.Y.Z, where X.Y.Z is the new version number.

    git tag v0.1.8 -m "v0.1.8"
    
  2. Push the tag to the remote repository.

    git push --tags
    

License and contributors

The Fractal project is developed by the BioVisionCenter at the University of Zurich, who contracts eXact lab s.r.l. for software engineering and development support.

Unless otherwise specified, Fractal components are released under the BSD 3-Clause License, and copyright is with the BioVisionCenter at the University of Zurich.

Download files

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

Source Distribution

fractal_feature_explorer-0.1.19.tar.gz (272.5 kB view details)

Uploaded Source

Built Distribution

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

fractal_feature_explorer-0.1.19-py3-none-any.whl (89.2 kB view details)

Uploaded Python 3

File details

Details for the file fractal_feature_explorer-0.1.19.tar.gz.

File metadata

File hashes

Hashes for fractal_feature_explorer-0.1.19.tar.gz
Algorithm Hash digest
SHA256 15efe5dd47fd48d029f71b42479579d69f1357e9fafc5e587128c87ade4e66cc
MD5 064722cccc65044656ff441a99993fe6
BLAKE2b-256 011afe7d80eaaba1cac9098f175efe7df5199e8a316fe5d6888e2823a1506017

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.19.tar.gz:

Publisher: ci.yml on fractal-analytics-platform/fractal-feature-explorer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fractal_feature_explorer-0.1.19-py3-none-any.whl.

File metadata

File hashes

Hashes for fractal_feature_explorer-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 675b303ad41bf753259c016639350262178a30e82d7695740ff4e17a3505ca4d
MD5 a2c5320128ee42868286849aeeb53397
BLAKE2b-256 e1a72f658c0b50cbe996268a79042e933821a3919140fc45163cd4e93692df88

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.19-py3-none-any.whl:

Publisher: ci.yml on fractal-analytics-platform/fractal-feature-explorer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.19 This release

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page