Skip to main content

Runtime monitor generator based on HPL properties

Project description

HPL Runtime Monitor Generator

This package provides a runtime monitor generator for HPL properties.

Installing

Installing a pre-packaged release:

pip install hpl-rv-gen

Installing from source:

git clone https://github.com/git-afsantos/hpl-rv-gen.git
cd hpl-rv-gen
pip install -e .

Usage

When used as a library, you can generate Python code for a runtime monitor class with a few simple steps. For example:

from hpl.parser import property_parser
from hplrv.rendering import TemplateRenderer

p = property_parser()
r = TemplateRenderer()
input_property = 'globally: no (/a or /b)'
hpl_property = p.parse(input_property)
code = r.render_monitor(hpl_property)
print(code)

Bugs, Questions and Support

Please use the issue tracker.

Contributing

See CONTRIBUTING.

Acknowledgment

This work is financed by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-INF/29583/2017 (POCI-01-0145-FEDER-029583).

Project details


Download files

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

Source Distribution

hpl-rv-gen-0.1.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hpl_rv_gen-0.1.1-py2-none-any.whl (19.0 kB view details)

Uploaded Python 2

File details

Details for the file hpl-rv-gen-0.1.1.tar.gz.

File metadata

  • Download URL: hpl-rv-gen-0.1.1.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for hpl-rv-gen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6090297d1cd6616c087e5325fc372850915ee1928e7243e43c098cd7268f8ec6
MD5 ceb79cef0d9427755c609d911af97020
BLAKE2b-256 f579fbe35ff99ba35de5d9c331e88919451a7e5731d2cb4ba94a1c4e8d83e202

See more details on using hashes here.

File details

Details for the file hpl_rv_gen-0.1.1-py2-none-any.whl.

File metadata

  • Download URL: hpl_rv_gen-0.1.1-py2-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for hpl_rv_gen-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 0ee7d6038d04c215f405e00a0abc01f1e8b7e6ee73078e1e093fcc2f61ada8ad
MD5 caeaab7c3b385f8197e3d8b37feadeea
BLAKE2b-256 6aa6b37553dbc2a543ef4b38d889defaedb26336264e536908495a59103592ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page