Skip to main content

flexible EXposure Parameter OptimiSation Engine

Project description

PyPI - Version PyPI - Python Version PyPI - Downloads Website

Flexpose: A flexible EXposure Parameter OptimiSation Engine

This is the repository containing the Flexpose source code.

Disclaimer

This code is intended to be used only for research pourposes.


Installation

We provide different methods for the installation


Docker

This is the easiest way of running flexpose

You can clone this repository and build with an image with or without spekpy

with spekpy:

docker build --target flexpose-spek -t flexpose:spek .

without spekpy:

docker build --target flexpose-nospek -t flexpose:nospek .

Python (PIP)

We recommend using a virtual environment to install/run this package.

python -m pip install flexpose

For developers, if you want to install and modify it:

Clone the repository:

git clone https://gitlab.kuleuven.be/medphysqa/deploy/flexpose/flexpose.git
cd flexpose
python -m pip install -e .

Python (UV)

For now it works until Python 3.12 (because of numpy < 2.4 due to Spekpy)

First:

uv python pin 3.12

Then:

uv sync

With Spekpy:

uv sync --extra spek

Or with all extra dependencies (for development):

uv sync --all-extras

Usage


Contributing

Contributions are always welcome! Please, open a PR listing the modifications and run the tests to see if everything is working.


LLM use statement

This code was written by the authors. AI was sometimes used to check for bugs or help writing the docstrings.

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

flexpose-1.0.1.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

flexpose-1.0.1-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

Details for the file flexpose-1.0.1.tar.gz.

File metadata

  • Download URL: flexpose-1.0.1.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flexpose-1.0.1.tar.gz
Algorithm Hash digest
SHA256 85579086046bd014e9bcd263d66617d6b6c596f781183ff4ecec7e2df8983154
MD5 4d68ddd1bd2ee9d462f1aa5e07564fbf
BLAKE2b-256 64cae18b9dab3a237fb6df953299f8cb04d44d20f5c1926169c376ffea8cf253

See more details on using hashes here.

File details

Details for the file flexpose-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: flexpose-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flexpose-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3138c25b9871d195eae09fe5cf71a74ab745af2f4d91ebd214e7cfff7b2060c5
MD5 0de2553f463140f6064472272d66cc68
BLAKE2b-256 a9fd7577a497125935f491ac9738e211f12d7b06429c9bc1eab2c49084c5b10f

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