Skip to main content

Depyore

Bring old code back to life. Depyore reads a checkout, finds clues about its original runtime, and asks uv or npm to rebuild its dependencies. It writes a separate environment and a JSON report. Free under MIT. No AI key.

Try a recovery

Install Python 3.11+ and uv. For Node projects, also install Node.js and npm.

pip install depyore
depyore scan .
depyore restore . --date 2021-12-31 --verify check.py

From a checkout of this repository, try either included example:

depyore restore examples/python --date 2021-12-31 --verify check.py
depyore restore examples/node --date 2021-12-31 --verify check.cjs
Stage What you get
Scan Latest Git commit date affecting the directory, runtime hints from .python-version, pyproject.toml, .nvmrc or package.json, and undeclared import candidates. Use --date for a known working date.
Restore uv resolves wheels uploaded by the end of that UTC date. npm uses the existing lockfile when present, otherwise resolves by date. Every run gets its own .depyore directory.
Verify A test script you select runs against the recovered dependencies. The report records whether it ran and passed. Run only trusted projects and tests. These environments share your account permissions.
Investigate Run a passing Python baseline, then replace one direct or transitive pin per trial and rerun the same test. A failure identifies a candidate regression for that test.
Audit Add --audit to query OSV for the recovered package names and versions. The advisory IDs are stored in report.json. An empty response only covers known advisories.
depyore investigate examples/python --date 2021-12-31 --verify check.py --try-pin colorama==0.4.6

The report compares the versions visible to the scanning Python interpreter or installed in the source project's node_modules with recovered versions. Missing import candidates require review before adding them to a manifest. Python module names can differ from package names. Python projects need PEP 508 dependencies in requirements.txt or project.dependencies. Editable installs, requirements-file options, source-only Python releases, npm workspaces and native install scripts are outside this release. A failed check exits nonzero and retains its run directory for inspection. Repeated runs leave earlier results available.

Python recovery requests the declared interpreter from uv, or uses the current interpreter if no hint exists. Node recovery reads numeric major, minor or patch hints from .nvmrc or engines.node. If the installed runtime differs, it requests a dated Node binary from npm and runs the verification script with it. Complex engine ranges use the installed Node and npm engine validation. A Git date is a clue, and later maintenance commits can make an explicit date more accurate.

Node CLI

With uv installed, npx depyore scan . launches the same version of the Python engine via uvx. The npm package is a lightweight launcher.

GitHub Action

steps:
  - uses: actions/checkout@v4
    with:
      fetch-depth: 0
  - uses: Unique50101/depyore@v0.1.0
    with:
      path: .

The action scans the checkout without running project code. Run the restore and investigate commands on trusted projects in your own environment.

Metadata

Release files for depyore 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 depyore 0.1.0
File Size Uploaded Provenance Actions
depyore-0.1.0.tar.gz 8.1 kB With provenance Details for depyore-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 16.6 kB

Release files / depyore-0.1.0.tar.gz

Download URL depyore-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4acd7d2571cbfbe56d5b3f5be9e7af08a872f0f55eed89450b8b0708180e7e72
BLAKE2b-256 checksum
How to use checksums
2292600807807c2bc44790d18c0f826c04a801a28b2025e781ddcd567be2b269
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 Dec 1, 2026.

Transparency log

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

Download URL depyore-0.1.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd333d7775591ed74dbdfce45fa79823c28a1b18c141b66a0183355d1d6f023c
BLAKE2b-256 checksum
How to use checksums
147278c586db1cff9bf9718255c513ca57f82ff9229946fad8b3fc71b2e927a7
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 Dec 1, 2026.

Transparency log

Security for depyore 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 depyore-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 Dec 1, 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