Skip to main content

Evok (ev)

CI Python Version License: MIT

Pure-Python high-performance package manager and zero-venv virtualization runtime.

Evok demonstrates that a clean-slate Python implementation leveraging modern OS primitives and stdlib capabilities can reach ~80% of uv's speed while delivering native capabilities that compiled binaries cannot provide: first-class in-process APIs, zero-venv sys.meta_path virtualization, dynamic AST dependency inference, and single-file zero-binary .pyz bootstrapping.


Key Highlights

  • Zero-Copy Reflink Cache: Unpacks wheels once into a global cache and installs in milliseconds using macOS APFS clonefile, Linux FICLONE, and hardlink (os.link) fallbacks.
  • Bit-Packed PEP 440 Arithmetic: Encodes release segments and lifecycle stages into single 64-bit scalar integers for microsecond comparisons.
  • Async Metadata & Range Tail-Reads: Fetches package metadata from remote ZIP central directories using HTTP Range requests without downloading full wheels.
  • Zero-Venv Virtualization: Run code with in-process sys.meta_path hooks that load dependencies directly from the cache without creating a .venv directory on disk.
  • AST Dependency Scanner: Scans project source code to automatically detect third-party imports, flag missing packages, and prune unused/dead dependencies.
  • Pure-Python Wheel & Sdist Builder: Standards-compliant PEP 427 wheel generator, PEP 625 sdist packager, and single-file .pyz executable bundler.

Quickstart

Installation

Evok runs on Python 3.12+ with zero external runtime dependencies:

# Using uv
uv pip install evok

# Or via pip
pip install evok

Command-Line Usage (ev)

# Initialize a new project
ev init my-app

# Inspect AST imports and compare with pyproject.toml
ev scan

# Automatically prune unused dependencies
ev prune

# Build standard wheel, sdist, and standalone zipapp
ev build --zipapp

# Run a script with in-process zero-venv dependency virtualization
ev run script.py

# Check platform reflink support and runtime info
ev info

Programmatic Python API

Evok is built as a first-class Python library:

from evok import Environment, InMemoryProvider, Resolver

# 1. Dependency Resolution
provider = InMemoryProvider(
    {
        "httpx": {"0.27.0": ["httpcore>=1.0.0"]},
        "httpcore": {"1.0.5": []},
    }
)
resolver = Resolver(provider=provider)
graph = resolver.resolve(["httpx>=0.24.0"])
print(graph.get("httpx").version)  # 0.27.0

# 2. Ephemeral Zero-Venv Execution
with Environment.ephemeral(graph) as env:
    mod = env.import_module("httpx")

Documentation


License

MIT License.

Metadata

Release files for evok 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evok 0.1.0
File Size Uploaded Provenance Actions
evok-0.1.0.tar.gz 20.7 kB With provenance Details for evok-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for evok 0.1.0
File Interpreter ABI Platform Actions
evok-0.1.0-py3-none-any.whl Python 3 none any Details for evok-0.1.0-py3-none-any.whl

Total release size: 45.7 kB

Release files / evok-0.1.0.tar.gz

Download URL evok-0.1.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
77a2ab2ee59ae6403feb48dc58a3d702794e44d0cdc0713c3ac0ee2fbda304a3
BLAKE2b-256 checksum
How to use checksums
a2c3c09c949002a03d60ccc6b13b1804be3da30d5e87f0f8cb79f3fba06162ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / evok-0.1.0-py3-none-any.whl

Download URL evok-0.1.0-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a077820084ad0f32a8d9229b4194559f905ddf8f1c3103b2c05a6fa5147e815
BLAKE2b-256 checksum
How to use checksums
112ddd1936765a933ae8fe724d3fbaef7bf52bf71aff78ca7ad4c64591305347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for evok 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for evok-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page