PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Safe Evaluation Python Packages

Python packages with the GitHub topic safe-evaluation. Sorted by relevance, with stars and monthly downloads.
pyparsing
plusminus

+/- plusminus is a module that builds on the pyparsing infixNotation helper method to build easy-to-code and easy-to-use parsers for parsing and evaluating infix arithmetic expressions. plusminus's ArithmeticParser class includes separate parse and evaluate methods, handling operator precedence, override with parentheses, presence or absence of whitespace, built-in functions, and pre-defined and user-defined variables, functions, and operators.

4K 10 4
joaofreires
boolia

boolia is a tiny, safe boolean-expression engine for Python. It parses human-readable rules with dotted identifiers, comparisons, custom functions, and logical operators, then evaluates them against plain dict data.

333 0 0
infinitode
codesafe

An open-source Python library for code encryption, decryption, and safe evaluation using Python's built-in AST module, complete with allowed functions, variables, built-in imports, timeouts, and blocked access to attributes.

319 2 1
timedata-org
expressy

Expressy lets you compile expressions into a function that can be executed within a context.

104 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery