</>PackageGraphPackageGraph

pure-eval

PyPIv0.2.3

Safely evaluate AST nodes without side effects

Adopt with care

pure-eval is usable, with caveats. Last published 780 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 780 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 12 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding pure-eval to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

12 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Python
No constraint declared

Quick start

A usage example from the pure-eval README.

class Rectangle:
    def __init__(self, width, height):
        self.width = width
        self.height = height

    @property
    def area(self):
        print("Calculating area...")
        return self.width * self.height


rect = Rectangle(3, 5)

Used by

Popular packages that depend on pure-eval.

Relationship graph

Dependencies (left) and dependents (right) of pure-eval.

stack-datapure-eval
pure-eval dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 157 days apart.

Recent versions of pure-eval
VersionPublishedSizeLicense
0.2.3latest2 years ago12 KBMIT
0.2.24 years ago11 KBMIT
0.2.15 years ago11 KBMIT
0.2.05 years ago11 KBMIT
0.1.15 years ago9.2 KBMIT
0.1.06 years ago9.2 KBMIT
0.0.36 years ago7.6 KBMIT
0.0.26 years ago4.1 KBMIT
0.0.16 years ago4.0 KBMIT

Overview

pure-eval is an PyPI package that safely evaluate AST nodes without side effects. It has 1 known dependents in the graph. The latest version is 0.2.3, released under the MIT license.

Who should use it

Teams working in the PyPI ecosystem who need safely evaluate AST nodes without side effects and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.

Pros

  • Clear open-source license (MIT).
  • Zero runtime dependencies — minimal footprint.

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Frequently asked questions

Should I use pure-eval?

pure-eval is usable, with caveats. Last published 780 days ago.

How do I install pure-eval?

Run `pip install pure-eval` to add pure-eval to your PyPI project.

What license is pure-eval released under?

pure-eval is distributed under the MIT license.

How popular is pure-eval?

PyPI does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on pure-eval.

Is pure-eval still maintained?

The most recent release of pure-eval (v0.2.3) was published 2 years ago.