EXtra-proposal
A small Python library to work with European XFEL proposals: list runs, read metadata from MyMDC, open data with EXtra-data, access DAMNIT results, and make simple run timelines.
Install
EXtra-proposal is available in our Python environment on the Maxwell cluster:
module load exfel exfel-python
You can also install it from from PyPI to use in other environments with Python 3.9+:
pip install extra-proposal
# Optional extras, installs: extra-data, damnit, pandas
pip install "extra-proposal[extra]"
Quick start
from extra_proposal import Proposal
# Create a proposal object
prop = Proposal(1234)
print(prop.title()) # Proposal Title from MyMDC
print(prop.runs()) # List runs found in /raw on disk
# Per-run helpers
print(prop[1].sample_name())
print(prop.run_type(1))
print(prop.run_techniques(1))
# Open data (requires EXtra-data)
run = prop[1].data()
# Open DAMNIT results (required damnit)
damnit = prop[1].damnit()
# Plot a simple timeline
prop[1].plot_timeline()
Environment and auth
By default MyMDC data is accessed using Zwop credentials stored under the
proposal at usr/mymdc-credentials.yml (created automatically when available).
It is possible to use your MyMdc
Oauth credentials instead, in
case ZWOP isn't available or the metadata endpoint isn't accessible through
Zwop:
Proposal(8034, user_id="...", user_secret="...", user_email="...")
Metadata
Release files for EXtra-proposal 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extra_proposal-0.1.4.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extra_proposal-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / extra_proposal-0.1.4.tar.gz
| Download URL | extra_proposal-0.1.4.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
432d06b57422801dd79606c0caa92b6dd60a177cc0da9f255afe226be7aae272
|
|
BLAKE2b-256 checksum How to use checksums |
e5de1ac822b3bd51063171f291b19d1d9b66bc758882d948378f29ec76d3d243
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logRelease files / extra_proposal-0.1.4-py3-none-any.whl
| Download URL | extra_proposal-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
829c6010713f38222d59fb18d4c07afe0e1c53b8bfbb5acaecc4a63e985f0ca1
|
|
BLAKE2b-256 checksum How to use checksums |
5a4157d263c26bc7ec8e8fade3275dd1e0e8969f31ca4ec9bec6e6677571d7a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency log