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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nkx_runtime-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for nkx_runtime-2.2.2-py3-none-any.whl |
Release files / nkx_runtime-2.2.2-py3-none-any.whl
| Download URL | nkx_runtime-2.2.2-py3-none-any.whl |
|---|---|
| Size | 69.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f50ac103b93b3dd714eb31ac72034513d037ce7868c3eb4ad84987d2e00aa1e9
|
|
BLAKE2b-256 checksum How to use checksums |
a1e58658fa34098c9485c475f67f6ae41b14c26e5bcb42db970bcc8fef49d7f7
|
| 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.2
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.