Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.19a9.tar.gz (272.7 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.19a9-py3-none-any.whl (89.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fractal_feature_explorer-0.1.19a9.tar.gz
Algorithm Hash digest
SHA256 683ed8205821f1ec66fa57c74ad862dbb2cb3ff0d9a64db15d2205cdce06164f
MD5 9a5f413b6e4f44fe358c48f4788f7d54
BLAKE2b-256 ff0152d01fa848b20700e1e7bd9eedd6e83e30f540fe4031a3ff34367a02d1ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.19a9.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.19a9-py3-none-any.whl.

File metadata

File hashes

Hashes for fractal_feature_explorer-0.1.19a9-py3-none-any.whl
Algorithm Hash digest
SHA256 b61c1301f2f256960df1760aa6fab4e162c001759bf2352ebfddf4ca1c634a14
MD5 fb4a8f9f4877933b74578b94d88c5e23
BLAKE2b-256 3aa5cc4a0a047c44f153d75c1ca6569a582cbd757c6379e34d36504967d7bd6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_feature_explorer-0.1.19a9-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

0.1.19

2 files

This release

0.1.19a9 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