Skip to main content

nyssa-ai-configuration (Python)

nyssa-ai-configuration provides secure, cross-process locked, AES-256-GCM encrypted configuration and secret storage for Python applications, command-line tools, and services.

It guarantees complete on-disk file, cross-process locking, and cryptographic wire format parity with:

  • .NET: NyssaAI.Configuration
  • Node.js / TypeScript: @nyssa-ai/configuration

Features

  • Unified Configuration API (IConfiguration): Read and write plain settings, locally encrypted secrets ("aesLocal"), and external cloud vault pointers through a consistent interface.
  • Cross-Platform Parity: Shares the ~/.nyssa-ai/config-manifest.json layout, <namespace>.json envelope structure, cross-process .lock files with backoff, and FormatVersion 2 AES-256-GCM ciphertext authenticated with (namespace, key) AAD.
  • Address-Bound Local Encryption: Encrypts secrets locally with AES-256-GCM using a 256-bit master key managed via platform credential stores (Windows Credential Manager, macOS Keychain, Linux Secret Service, or protected files).
  • Dictionary / DTO & Namespace Operations: Store objects under single keys or decompose into individual namespace properties.

Installation

pip install nyssa-ai-configuration

Quick Start

from nyssa_ai_configuration import ConfigurationClient

# Initialize client (provisions manifest and config directory on first run)
client = ConfigurationClient.initialize(application_name="OrdersService")

# 1. Plaintext setting
client.set("mail", "host", "smtp.example.com")
host = client.get("mail", "host")

# 2. AES-256-GCM encrypted secret
client.set("mail", "password", "SuperSecretP@ss!", encrypted=True, provider="aesLocal")
password = client.get("mail", "password")

# 3. Namespace replacement / dictionary
client.set_namespace("smtp", {
    "host": "smtp.example.com",
    "port": 587,
    "enable_ssl": True
})
smtp_settings = client.get_namespace("smtp")

License

Licensed under the Apache License, Version 2.0.

Metadata

Release files for nyssa-ai-configuration 0.4.0

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

Source distribution (sdist)

Source distribution for nyssa-ai-configuration 0.4.0
File Size Uploaded Provenance Actions
nyssa_ai_configuration-0.4.0.tar.gz 76.5 kB With provenance Details for nyssa_ai_configuration-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nyssa-ai-configuration 0.4.0
File Interpreter ABI Platform Actions
nyssa_ai_configuration-0.4.0-py3-none-any.whl Python 3 none any Details for nyssa_ai_configuration-0.4.0-py3-none-any.whl

Total release size: 162.7 kB

Release files / nyssa_ai_configuration-0.4.0.tar.gz

Download URL nyssa_ai_configuration-0.4.0.tar.gz
Size 76.5 kB
Tags Source
SHA-256 checksum
How to use checksums
462e37bb1297ce93815420631a98c738bb8dae0903f46bd1678009e759d7fa5c
BLAKE2b-256 checksum
How to use checksums
2799fc969bc74a26c2a89b04f2dd247aae595d27aa1c4cd14fdc631d93baf9b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / nyssa_ai_configuration-0.4.0-py3-none-any.whl

Download URL nyssa_ai_configuration-0.4.0-py3-none-any.whl
Size 86.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
933e80a2325f4b43cce8704b2056907aa713450882990b40bb2a2f1985b59076
BLAKE2b-256 checksum
How to use checksums
cf3ce03448839d12d02fcd4b7b5a399ae9f52a1d3150c0c992a4012a5042bede
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for nyssa-ai-configuration 0.4.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nyssa_ai_configuration-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

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.

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