evalidate - Safe evaluation of untrusted user-supplied python expression

This page summarizes the projects mentioned and recommended in the original post on /r/Python

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • evalidate

    Safe and fast evaluation of untrusted user-supplied python expressions

  • Here comes evalidate. Evalidate parses expression into AST-tree, and validates every node of tree. For example, you can forbid every function call (example with smartphone will still work, but os.system() will not) or you can whitelist specific safe functions like int(). It's simple to use:

  • asteval

    minimalistic evaluator of python expression using ast module

  • There is asteval project. It makes more poweful (ans slower) virtual python interpreter which you can use to run many commands in shared context. My benchmark (100 000 runs of simple python expressions):

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • evalidate: secure eval() for python

    2 projects | dev.to | 27 Oct 2022
  • Im Coder

    2 projects | news.ycombinator.com | 24 Feb 2024
  • AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting

    15 projects | news.ycombinator.com | 10 Dec 2023
  • Refactor: Python Refactoring tool at the AST level

    1 project | news.ycombinator.com | 17 Sep 2023
  • @initminal/run - Safe & fast code eval in the browser with modern ESM features, dynamic module injection and more...

    1 project | /r/javascript | 16 Apr 2023