Skip to main content

nkx-runtime

Runtime SDK for applications protected by Nakodax. Decrypts protected modules in memory at import time — nothing is written to disk in plaintext.

Install

pip install nkx-runtime

Use

from nkx_runtime import RuntimeClient

RuntimeClient.from_env().install()

Or, with no source change — swap your process's start command:

nkx-run app.py
nkx-run -m myapp.cli   # module mode, e.g. gunicorn/celery workers

Configuration

The client reads its credentials and endpoint from environment variables (NKX_LICENSE_KEY, NKX_LICENSE_PUBLIC_KEY, NKX_KEK_URL, and a one-time NKX_REGISTER_TOKEN for first boot). Your Nakodax dashboard's Connect page for a protected repository gives you the exact values and commands for your deployment.

CI builds (SQL, or a bundled TypeScript/JS build step)

Code protected at the prebuild tier needs a decrypt step ahead of your own compiler, migration runner, or bundler — this is a separate, dependency-free CLI, not part of this package:

brew install nakodax/tap/nkx   # or see https://github.com/nakodax/nkx-cli
nkx materialize ./repo --into /dev/shm/build

Your Nakodax dashboard's Connect page for the repository has the exact commands and credentials for your CI setup, including the re-encrypt step for a compiled TypeScript/JS output.

Metadata

Release files for nkx-runtime 2.2.1

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

Built distribution (wheel)

Table of built distributions (wheels) for nkx-runtime 2.2.1
File Interpreter ABI Platform Actions
nkx_runtime-2.2.1-py3-none-any.whl Python 3 none any Details for nkx_runtime-2.2.1-py3-none-any.whl

Release files / nkx_runtime-2.2.1-py3-none-any.whl

Download URL nkx_runtime-2.2.1-py3-none-any.whl
Size 69.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e282916b30056be9cc48bcbfa72ca9cb2e4967bd999d1c8a2eb5cceaee49da4
BLAKE2b-256 checksum
How to use checksums
a2fe21929eaac910ed576e3e33e69520b0387d7b1d4a6a8cbc692523334793ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Security for nkx-runtime 2.2.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

2.2.1 This release

1 release file No 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