Skip to main content

Flask webservices enabling usage of hepdata-converter as a separate server over the network

Project description

Travis Status Coveralls Status License GitHub Releases PyPI Version GitHub Issues


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.


This web service provides one method which accepts GET JSON requests. The accepted format is as follows:


[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, csv, etc.)
         other options are dependent on the input / output format and are documented in their respective parsers / readers


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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hepdata-converter-ws, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size hepdata_converter_ws-0.2.0-py3-none-any.whl (11.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hepdata-converter-ws-0.2.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page