Skip to main content

Core types, base classes, and constants for the NSIGII trilateral framework

Project description

nsigii-core

NSIGII Core — foundational types, base classes, and constants for the NSIGII trilateral governance framework.

Part of the OBINexus NSIGII Python SDK Suite by Nnamdi Michael Okpala.

Overview

NSIGII (Internal Integrated Governance and Intelligence Infrastructure) is a trilateral IoT governance protocol built on three inviolable pillars:

Pillar Principle
Never a Toy AI must never be treated as entertainment without educational purpose
Never a Weapon AI must never be used to cause harm
Never a Problem AI must always ensure σ = (N − R) × K ≤ 0 (no unmet human needs)

Core Types

  • NSIGIIPillar — enum: NEVER_A_TOY, NEVER_A_WEAPON, NEVER_A_PROBLEM
  • TridentChannel — enum: TRANSMITTER (TX), RECEIVER (RX), VERIFIER (VFY)
  • TrilateralState — enum: CONSENSUS, DISSENT, PENDING
  • Intent — dataclass: action, pillar, channel, payload
  • SufferingVector — dataclass: N (needs), R (resources), K (amplifier); sigma = (N − R) × K

Trident Topology

TX (1×1/3 | 127.0.0.1) → RX (2×2/3 | 127.0.0.2) → VFY (3×3/3 | 127.0.0.3)

All three channels must accept an Intent for CONSENSUS.

Installation

pip install nsigii-core

Quick Start

from nsigii_core.types import Intent, NSIGIIPillar, TridentChannel, SufferingVector

intent = Intent(
    action="sensor.reading",
    pillar=NSIGIIPillar.NEVER_A_PROBLEM,
    channel=TridentChannel.TRANSMITTER,
    payload={"dr": -1.2, "dw": 0.05},
)

sv = SufferingVector(N=5000, R=4800, K=1.2)
print(sv.sigma)        # 240.0
print(sv.is_suffering) # True

Related Packages

nsigii-trident · nsigii-consensus · nsigii-dag · nsigii-spring · nsigii-never-toy · nsigii-never-weapon · nsigii-never-problem · nsigii-polycall · nsigii-iot

License

OBINexus Sovereign License 1.0 — © Nnamdi Michael Okpala / OBINexus

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsigii_core-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsigii_core-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file nsigii_core-0.1.0.tar.gz.

File metadata

  • Download URL: nsigii_core-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nsigii_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a23f6baf68a8bf2d39c3d97dffdce0c25dd3d177a39c18d6a80da66e2432b95a
MD5 c81505791d4607c7a5896c893875e173
BLAKE2b-256 77f1235daa46a1fef9c49ef44be14b15953ee7d4c46e45c21a880df5e71ebe46

See more details on using hashes here.

Provenance

The following attestation bundles were made for nsigii_core-0.1.0.tar.gz:

Publisher: publish.yml on obinexusmk2/nsigii-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nsigii_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nsigii_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nsigii_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7cbebaf26396b160d5cd3711e572a3356897f5f3925a2be8ca72a5a9be1514f
MD5 cda4204e14a751e240f748c07b94a26a
BLAKE2b-256 7798aa9b632c1ff12f5bd6944d93e05efea29efc2592a94caa80b23c3a1f870e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nsigii_core-0.1.0-py3-none-any.whl:

Publisher: publish.yml on obinexusmk2/nsigii-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page