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.3.1

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.3.1
File Size Uploaded Provenance Actions
nyssa_ai_configuration-0.3.1.tar.gz 64.3 kB With provenance Details for nyssa_ai_configuration-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 143.6 kB

Release files / nyssa_ai_configuration-0.3.1.tar.gz

Download URL nyssa_ai_configuration-0.3.1.tar.gz
Size 64.3 kB
Tags Source
SHA-256 checksum
How to use checksums
45ceb00a883f43bdf3c74376c0abce15002d900e83077b1956f34bd58d5bf27f
BLAKE2b-256 checksum
How to use checksums
3242c09abfd4ffdd58d2bcf679fad841ca82ca26101edfb89fcb275c84571a89
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 Oct 31, 2026.

Transparency log

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

Download URL nyssa_ai_configuration-0.3.1-py3-none-any.whl
Size 79.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
267d6aff05f2beb6ff99e693e5c376882789c5558a1fca13bc0303d868757233
BLAKE2b-256 checksum
How to use checksums
681b526867dd264200ca4949408174c6a9835ab7fa2f33bc65271a43974d38f4
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 Oct 31, 2026.

Transparency log

Security for nyssa-ai-configuration 0.3.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.

Full provenance

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

Select from 2 files

Attestation for nyssa_ai_configuration-0.3.1.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 Oct 31, 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