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.1.tar.gz (3.6 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.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for interenv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fb2cdaecd0405cbd9892f9e7d6990c135f6b17be6d62e6b3161137f1165bd304
MD5 6b794586ff0eae8a29d54a20626de627
BLAKE2b-256 6b430851095002db157c517e7dd4514b351f1f9e2ac7cf1864f55188b9f464ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: interenv-1.0.1-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.11.16

File hashes

Hashes for interenv-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd03c14df291abc4aa65071003eeeaa56b971550c655c9800aa6fe9c7087dada
MD5 8f012f75a3b1c6e54e98d0a352886ab3
BLAKE2b-256 a37d9d5ddc15bec652f8481262dd0d570b620e6e38604ce3031ac5afab1c1032

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

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