PyHDX
PyHDX is python project which can be used to derive Gibbs free energy from HDX-MS data.
Installation
Installation of PyHDX with uv:
Create a uv virtual environment, specifying python version 3.11:
$ uv venv -p "3.11"
Then activate environment as instructed by uv, e.g.:
Windows:
$ .venv/Script/activate
Linux/Mac:
$ source .venv/bin/activate
To install PyHDX:
$ uv pip install pyhdx
With web interface extra:
$ uv pip install pyhdx[web]
(Not recommended - outdated version) Conda install (includes web interface extra):
$ conda install pyhdx
Run PyHDX
Most up-to-date code examples are in the directory pyhdx/templates
To run the web server:
$ pyhdx serve
To add datasets to directly load into PyHDX, configure the database_dir parameter in the config file (default: ~/.hdxms_datasets/datasets), and place hdxms-datasets v0.1.5 (legacy) compatible datasets there.
Please refer to the docs for more details on how to run PyHDX.
Web Application
The PyHDX web application is currently hosted at: http://pyhdx.jhsmit.org
A test file can be downloaded from here and here (right click, save as).
A beta version might be available at: http://pyhdx-beta.jhsmit.org
Publication
Our Analytical Chemistry Publication describing PyHDX can be found here
The latest version (v2) of our biorxiv paper: https://doi.org/10.1101/2020.09.30.320887
Python code for analysis and generation the figures in the paper are here: https://github.com/Jhsmit/PyHDX-paper
Other
HDX MS datasets repository and format: https://github.com/Jhsmit/HDX-MS-datasets
HDXMS datasets python bindings: https://github.com/Jhsmit/hdxms-datasets
Development
Building PyHDX from source:
$ hatch build
Create a new release and distribute to PyPI:
- Create new release on GitHub
- GitHub workflow builds and publishes to PyPI
Panel web interface development
Working on a controller only:
panel serve pyhdx\web\controller_only.py --dev
Working on the main app:
panel serve pyhdx\web\apps\_main.py --dev
Make sure to also run a dask cluster if needed:
python pyhdx\local_cluster.py
Other
Installing a specific commit of the HDX-MS-datasets package:
uv pip install "git+https://github.com/jhsmit/hdxms-datasets@5fa2458e6115329ae921a319e3e87b6cb21814ff"
Metadata
Release files for pyhdx 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyhdx-0.4.5.tar.gz | 24.8 MB | Without provenance | Details for pyhdx-0.4.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhdx-0.4.5-py3-none-any.whl | Python 3 | none | any | Details for pyhdx-0.4.5-py3-none-any.whl |
Total release size: 26.1 MB
Release files / pyhdx-0.4.5.tar.gz
| Download URL | pyhdx-0.4.5.tar.gz |
|---|---|
| Size | 24.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
248b1c80bcc2fff26208c3c1c89f91763d4745cfe81d560444c2b7676cc6e020
|
|
BLAKE2b-256 checksum How to use checksums |
94121be855f5a2ff969ab4ecbc7dda99c784eaf4507ea72b4320d5b744e0e9d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pyhdx-0.4.5-py3-none-any.whl
| Download URL | pyhdx-0.4.5-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d9e0f23a9d4ff5f75226f079d5e5f59f2752a8ab845289df96d40dd2ed28de1
|
|
BLAKE2b-256 checksum How to use checksums |
caa9f05d6301071b96ef6126563c8b071b8ab181f3f082791dd29816c62aeea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for pyhdx 0.4.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.