asteval

minimalistic evaluator of python expression using ast module (by newville)

Asteval Alternatives

Similar projects and alternatives to asteval

  • piston

    19 asteval VS piston

    A high performance general purpose code execution engine. (by engineer-man)

  • snekbox

    Easy, safe evaluation of arbitrary Python code

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vermin

    Concurrently detect the minimum Python versions needed to run code

  • klara

    6 asteval VS klara

    Automatic test case generation for python and static analysis library

  • evalidate

    Safe and fast evaluation of untrusted user-supplied python expressions

  • vectorboard

    Open Source Embeddings Optimisation and Eval Framework for RAG/LLM Applications. Documentations at https://docs.vectorboard.ai/introduction

  • TheAlgorithms

    All Algorithms implemented in 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.

    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 better asteval alternative or higher similarity.

asteval reviews and mentions

Posts with mentions or reviews of asteval. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-30.
  • evalidate - Safe evaluation of untrusted user-supplied python expression
    2 projects | /r/Python | 30 May 2023
    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):
  • evalidate: secure eval() for python
    2 projects | dev.to | 27 Oct 2022
    If compare to asteval (which is actually has much more features), evalidate is much faster in my benchmarks (benchmark code in repo): 0.017s vs 1.232s
  • A simple, kind-of "safe" eval ?
    3 projects | /r/learnpython | 15 Aug 2021
    But, literals are not good enough very often, and one may want to do "len(foo)+bar[i]" , so I went searching trying to find a good implementation. I dug and found asteval, but this issue I raised breaks it for me, apart from the fact that I try not to rely on too many modules beyond the standard library + it has a bunch of peculiarities that make it not a real drop-in replacement to eval().
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Apr 2024
    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. Learn more →

Stats

Basic asteval repo stats
3
0
7.0
about 2 months ago

newville/asteval is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of asteval is Python.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com