Flask webservices enabling usage of hepdata-converter as a separate server over the network
Project description
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.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hepdata_converter_ws-0.3.2.tar.gz.
File metadata
- Download URL: hepdata_converter_ws-0.3.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1380d7065a3c9dd9933c04ea4fe1d2b3ff4520365a1ce0aba37fb93065ae65a0
|
|
| MD5 |
eae360a14e5555d098ffc2d90ab35e86
|
|
| BLAKE2b-256 |
b7c8e0a5269c0fc1e4dfdc27019d3c74fb67f0ef8e3f79454996dc4dbd4b8ce7
|
Provenance
The following attestation bundles were made for hepdata_converter_ws-0.3.2.tar.gz:
Publisher:
ci.yml on HEPData/hepdata-converter-ws
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hepdata_converter_ws-0.3.2.tar.gz -
Subject digest:
1380d7065a3c9dd9933c04ea4fe1d2b3ff4520365a1ce0aba37fb93065ae65a0 - Sigstore transparency entry: 273542977
- Sigstore integration time:
-
Permalink:
HEPData/hepdata-converter-ws@16dd1ae80839d048c499bd9768a0e83e896f26d3 -
Branch / Tag:
refs/tags/0.3.2 - Owner: https://github.com/HEPData
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@16dd1ae80839d048c499bd9768a0e83e896f26d3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hepdata_converter_ws-0.3.2-py3-none-any.whl.
File metadata
- Download URL: hepdata_converter_ws-0.3.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c985f1a4462a6ef4334ca1679461f04313b2644596611ce8fae4aa9bc65576ab
|
|
| MD5 |
a081074be46909b008ceb7eeb87ad59a
|
|
| BLAKE2b-256 |
eb9036f1ad17e6356c3bf44b4445eadde82b9cde73e0f295e97a5d80644a308d
|
Provenance
The following attestation bundles were made for hepdata_converter_ws-0.3.2-py3-none-any.whl:
Publisher:
ci.yml on HEPData/hepdata-converter-ws
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hepdata_converter_ws-0.3.2-py3-none-any.whl -
Subject digest:
c985f1a4462a6ef4334ca1679461f04313b2644596611ce8fae4aa9bc65576ab - Sigstore transparency entry: 273542979
- Sigstore integration time:
-
Permalink:
HEPData/hepdata-converter-ws@16dd1ae80839d048c499bd9768a0e83e896f26d3 -
Branch / Tag:
refs/tags/0.3.2 - Owner: https://github.com/HEPData
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@16dd1ae80839d048c499bd9768a0e83e896f26d3 -
Trigger Event:
release
-
Statement type: