# Provenance

## timenet.provenance

Describe the environment a build ran in, for the manifest's provenance block.

### build\_env

```
build_env() -> dict[str, Any]
```

Describe this process's Python version and installed packages.

Under an isolated build the recorded set is exactly the base, the connector's requirements, and
their transitives. Under `--no-isolation` it is the whole ambient environment, which is noisier
but still the truth about what produced the dataset.

Returns:

| Type | Description |
| --- | --- |
| `dict[str, Any]` | A dict with `python` (the interpreter version) and `packages` (name -> version, sorted). |
