Skip to main content

Client and common components of the Fractal analytics platform

Project description

Fractal Client

PyPI version CI Status License

Fractal is a framework to process high-content imaging data at scale and prepare it for interactive visualization.

Fractal_Overview

Fractal provides distributed workflows that convert TBs of image data into OME-Zarr files. The platform then processes the 3D image data by applying tasks like illumination correction, maximum intensity projection, 3D segmentation using cellpose and measurements using napari workflows. The pyramidal OME-Zarr files enable interactive visualization in the napari viewer.

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

Documentation

Documentation is not yet available.

For installation instructions, see below.

Installation

Simply

pip install fractal-client

Subsequently, you may invoke it as fractal. Note that you must provide the following environment variables:

  • FRACTAL_SERVER: fully qualified URL to the Fractal server installation
  • FRACTAL_USER, FRACTAL_PASSWORD: email and password used to log-in to the Fractal server

By default, fractal caches some information in ~/.cache/fractal. This destination can be customized by setting FRACTAL_CACHE_PATH.

For ease of use, you may define an environment file .fractal.env in the folder from which fractal is invoked.

Development

Installation

Fractal is developed and maintained using poetry.

After cloning the repo, use

poetry install --with dev

to set up the development environment and all the dependencies and dev-dependencies. You may run the test suite with

poetry run pytest

Releasing

Before release checklist:

  • The main branch is checked out
  • You reviewed dependencies and dev dependencies and the lock file is up to date with pyproject.toml.
  • The current HEAD of the main branch passes all the tests
  • Use
poetry run bumpver update --dry --[patch|minor] --tag-commit --commit

to test updating the version bump

  • If the previous step looks good, use
poetry run bumpver update --[patch|minor] --tag-commit --commit

to actually bump the version and commit the changes locally.

  • Test the build with
poetry build
  • If the previous step was successful, push the version bump and tags:
git push && git push --tags
  • Finally, publish the updated package to pypi with
poetry publish --dry-run

removing the --dry-run when you made sure that everything looks good.

Contributors and license

Unless otherwise stated in each individual module, all Fractal components are released according to a BSD 3-Clause License, and Copyright is with Friedrich Miescher Institute for Biomedical Research and University of Zurich.

Fractal was conceived in the Liberali Lab at the Friedrich Miescher Institute for Biomedical Research and in the Pelkmans Lab at the University of Zurich (both in Switzerland). The project lead is with @gusqgm & @jluethi. The core development is done under contract by @mfranzon, @tcompa & @jacopo-exact from eXact lab S.r.l..

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

fractal_client-1.0.0a10.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

fractal_client-1.0.0a10-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file fractal_client-1.0.0a10.tar.gz.

File metadata

  • Download URL: fractal_client-1.0.0a10.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for fractal_client-1.0.0a10.tar.gz
Algorithm Hash digest
SHA256 ceb9bc2261ec58d9d79c515f314dba2e0711cd39f6ad13b7b0a932be2fd06cb1
MD5 582753752476dc3c9d8d47a469417784
BLAKE2b-256 215fee70aea0b80c291321bbf66c486a5e2de67725bd77d1d56c925b3fae6b94

See more details on using hashes here.

File details

Details for the file fractal_client-1.0.0a10-py3-none-any.whl.

File metadata

  • Download URL: fractal_client-1.0.0a10-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for fractal_client-1.0.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5c849b52ea131be37d7afee87d6230177be8bc5c1b655c971703e80aec5d67
MD5 eb525dd8dd5da0a0db615080845d0724
BLAKE2b-256 9b145ee83842212c734a62c0d4691778e8b8c43aab66b1991a2bd5255ab20047

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