hepdata-converter-ws
Simple Flask Web Services wrapper in Python 3 for hepdata-converter.
It allows running the hepdata-converter as a web service on top of the Flask micro web framework.
API
This web service provides one method which accepts GET JSON requests.
The accepted format is as follows:
Request
[GET] /convert (application/json)
{
input: Base64 encoded tar.gz file containing hepdata-converter-ws-data entry (directory / file)
id: str used for caching purposes (same input files have to have same ID), not implemented?
options: dictionary with options accepted by hepdata_converter.convert function. The most important are:
input_format: (input format identifier e.g. yaml, oldhepdata, etc.)
output_format: (output format identifier e.g. yaml, root, yoda, yoda1, yoda.h5, csv, etc.)
other options are dependent on the input / output format and are documented in their respective parsers / readers
in https://github.com/HEPData/hepdata-converter
}
Response
The response has MIME type application/x-gzip and is a tar.gz file
containing the hepdata-converter-ws-data directory with the
requested file/files.
API Usage
It is recommended to use the hepdata-converter-ws-client library to interact with this web service, as it provides easier calling and more transparent usage.
Metadata
Release files for hepdata-converter-ws 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hepdata_converter_ws-0.3.2.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hepdata_converter_ws-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / hepdata_converter_ws-0.3.2.tar.gz
| Download URL | hepdata_converter_ws-0.3.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1380d7065a3c9dd9933c04ea4fe1d2b3ff4520365a1ce0aba37fb93065ae65a0
|
|
BLAKE2b-256 checksum How to use checksums |
b7c8e0a5269c0fc1e4dfdc27019d3c74fb67f0ef8e3f79454996dc4dbd4b8ce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 14, 2025.
Transparency logRelease files / hepdata_converter_ws-0.3.2-py3-none-any.whl
| Download URL | hepdata_converter_ws-0.3.2-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c985f1a4462a6ef4334ca1679461f04313b2644596611ce8fae4aa9bc65576ab
|
|
BLAKE2b-256 checksum How to use checksums |
eb9036f1ad17e6356c3bf44b4445eadde82b9cde73e0f295e97a5d80644a308d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 14, 2025.
Transparency log