Arithmetic expression parser library. Embed customized expression evaluation

into your application or library. Example uses:
* Safely process an expression entered through a web application, for example
  some formula to be plotted. The library allows safe translation of such
  expression without exposing any application's internals
* precompiler that checks for allowed and denied identifiers in an expression
* have a common expression language through your application regardless of the
  backend languages
* compile arithmetic expression to any other expression tree (semantic), for
  example SQLAlchemy expression objects
This commit is contained in:
adam 2017-06-01 12:05:09 +00:00
parent 19e57058d4
commit 40f485b795
5 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1 @@
bin/slicer @PREFIX@/bin/slicer@PYVERSSUFFIX@

View file

@ -0,0 +1,10 @@
Arithmetic expression parser library. Embed customized expression evaluation
into your application or library. Example uses:
* Safely process an expression entered through a web application, for example
some formula to be plotted. The library allows safe translation of such
expression without exposing any application's internals
* precompiler that checks for allowed and denied identifiers in an expression
* have a common expression language through your application regardless of the
backend languages
* compile arithmetic expression to any other expression tree (semantic), for
example SQLAlchemy expression objects

View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2017/06/01 12:05:09 adam Exp $
DISTNAME= expressions-0.2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/expressions/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://databrewery.org/
COMMENT= Extensible arithmetic expression parser and compiler
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-grako>=3.9.3:../../devel/py-grako
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,18 @@
@comment $NetBSD: PLIST,v 1.1 2017/06/01 12:05:09 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/expressions/__init__.py
${PYSITELIB}/expressions/__init__.pyc
${PYSITELIB}/expressions/__init__.pyo
${PYSITELIB}/expressions/compat.py
${PYSITELIB}/expressions/compat.pyc
${PYSITELIB}/expressions/compat.pyo
${PYSITELIB}/expressions/compiler.py
${PYSITELIB}/expressions/compiler.pyc
${PYSITELIB}/expressions/compiler.pyo
${PYSITELIB}/expressions/grammar.py
${PYSITELIB}/expressions/grammar.pyc
${PYSITELIB}/expressions/grammar.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/06/01 12:05:09 adam Exp $
SHA1 (expressions-0.2.3.tar.gz) = be6d5316c631a0b59d806b1bd56f7568fe1cad31
RMD160 (expressions-0.2.3.tar.gz) = 857f87779c7b0b559c174d7920246448c57a824c
SHA512 (expressions-0.2.3.tar.gz) = 987b4bb6606b9e9014d0bc16bf4634aa4e056c5982bd23d9600e296a6042461a510355c913c731f3249a6654299df9e8afadc285272764f7453846dbc5e8a26a
Size (expressions-0.2.3.tar.gz) = 5476 bytes