pure-eval
PyPIv0.2.3Safely 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
Frequently installed together
Release history
No releases in the last two years, typically about 157 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.2.3latest | 2 years ago | 12 KB | MIT |
| 0.2.2 | 4 years ago | 11 KB | MIT |
| 0.2.1 | 5 years ago | 11 KB | MIT |
| 0.2.0 | 5 years ago | 11 KB | MIT |
| 0.1.1 | 5 years ago | 9.2 KB | MIT |
| 0.1.0 | 6 years ago | 9.2 KB | MIT |
| 0.0.3 | 6 years ago | 7.6 KB | MIT |
| 0.0.2 | 6 years ago | 4.1 KB | MIT |
| 0.0.1 | 6 years ago | 4.0 KB | MIT |
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.