Skip to main content

InterEnv Python SDK

Hardware-Enclave Protected Secrets for Python & AI Agents (Zero Plaintext .env on Disk). Built by Interlayer.

Installation

pip install interenv

Ensure the interenv native CLI is available on your system (cargo install interenv or npm install -g interenv).

Quickstart

import interenv
import os

# Seamless in-memory injection into os.environ (zero disk writes)
interenv.load_env()

api_key = os.getenv("OPENAI_API_KEY")
print("Secrets loaded safely in memory!")

Programmatic Access

import interenv

# Retrieve specific secret directly
db_url = interenv.get("DATABASE_URL")

# Execute a child process protected under InterEnv runner
interenv.run(["pytest", "tests/"])

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

interenv-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interenv-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file interenv-1.0.0.tar.gz.

File metadata

  • Download URL: interenv-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.1

File hashes

Hashes for interenv-1.0.0.tar.gz
Algorithm Hash digest
SHA256 38bed32632a9ffe7c34c43ed0a18d98e74a5d4aa7c913395e17a5c30d09b971b
MD5 4434ae68d66aa450a6f442812043cab0
BLAKE2b-256 b8b578276593504dadee7d3ee39de01f08a6fde77d6a6a658a665ef036b7d223

See more details on using hashes here.

File details

Details for the file interenv-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: interenv-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.1

File hashes

Hashes for interenv-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c92f2d1da02abcb215bfd83ee941c8747f74f591e959567839a064e2518b5e2
MD5 7400cc01d368f1b7dae3b99f94a16086
BLAKE2b-256 50c0fef52911b771dda7643715e3cf4f76ec71991a5722fc28493b9a5f41e985

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

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