European XFEL toolkit for research and analysis
Project description
EXtra - European XFEL Toolkit for Research and Analysis
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:
- SSH to Maxwell as the
xsoft
user - 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
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
Built Distributions
File details
Details for the file euxfel_extra-2024.1.2.tar.gz
.
File metadata
- Download URL: euxfel_extra-2024.1.2.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10720a726eae9b4d53eaf49b43873e4fbf861c9bdf028bb0c1f436395093191 |
|
MD5 | 9159ebc3e92bfad9edd5484c639e6cdc |
|
BLAKE2b-256 | 33c3a8bbcab69acea8dc7af7f1a63ddbfa8b579c3bb8a7544a38c1e94ee9f46b |
File details
Details for the file euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7205a1ea2818a48d46556963b4a93d837de85c1f3c14876ec587874c3bdb1c48 |
|
MD5 | dcf3584c681e1324337455f9fb403c5e |
|
BLAKE2b-256 | 3dbdd284b22943b993a6057e5eab091c41e476dfca9ec42dd5509c131084b509 |
File details
Details for the file euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: euxfel_EXtra-2024.1.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d25b10e099ffb400efc82c287e70da5e742aed74da4b1302961238da8be7b1 |
|
MD5 | 9faea74236e44b33fe8563efcc78dfb6 |
|
BLAKE2b-256 | cd272cde6cbb3c3f9c1bc0bcfaa55d9b96296288890fd0837476426803bed821 |