Skip to main content

European XFEL toolkit for research and analysis

Project description

EXtra - European XFEL Toolkit for Research and Analysis

codecov

This repository holds various bits of code to make data analysis simpler.

Development

During development in a custom environment it's often helpful to install the package in editable mode:

$ pip install -e '.[tests,docs]'

Tests are stored under tests/ and use pytest:

$ python -m pytest .

The documentation is written using mkdocs with mkdocstrings-python. To automatically rebuild the docs while editing, run:

$ mkdocs serve

Deployment

The package is automatically deployed from master every night into the current exfel-python environment using the install-extra.sh script (see the cron job with crontab -e as xsoft on max-exfl-display001.desy.de). The package is installed with pip install --no-deps to avoid causing conflicts with conda, so if any dependencies need to be installed or updated that must be done with conda. The install-extra.sh script will check for new dependencies first and return an error if dependencies need to be installed.

If you want to update it manually, you must follow these steps:

  1. SSH to Maxwell as the xsoft user
  2. Run ./install-extra.sh

Note: make sure to update the copy in xsoft's home directory if the script is updated:

rsync -a --progress docs/install-extra.sh xsoft@max-exfl-display.desy.de:/home/xsoft

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

euxfel_extra-2024.1.2.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distributions

euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (1.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

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