Skip to main content

nsigii-smtp

nsigii-smtp is a Python SDK and CLI for NSIGII humanitarian message dispatch. It is designed for structured SMTP delivery of requests involving food, water, shelter, medical supplies, and related urgent needs.

The package follows the NSIGII trilateral model:

  • HERE_AND_NOW maps to internal alpha transport behavior
  • THERE_AND_THEN maps to internal beta transport behavior
  • WHEN_AND_WHERE maps to internal gamma transport behavior

Features

  • Structured NSIGII message envelope
  • Humanitarian payload validation
  • SMTP transport with environment-variable configuration support
  • Artifact packaging for text and zip attachments
  • CLI for immediate send and future scheduling

Quick Start

python -m pip install -e .[dev]

Immediate send:

nsigii-smtp send --from sender@example.org --to aid@example.org --subject "Need food and water" --body "Urgent request for food, water, and shelter." --need food --need water --need shelter --state HERE_AND_NOW

Scheduled send:

nsigii-smtp schedule --from sender@example.org --to aid@example.org --subject "Follow-up request" --body "Please check availability tomorrow." --need food --state WHEN_AND_WHERE --send-at 2026-06-01T09:30:00+01:00

PowerShell note:

  • Prefer a single-line command, or use the PowerShell continuation character ` instead of ^.
  • If you do not pass --smtp-host, set NSIGII_SMTP_HOST first.

Example:

$env:NSIGII_SMTP_HOST = "smtp.gmail.com"
nsigii-smtp send --from sender@example.org --to aid@example.org --subject "Need food and water" --body "Urgent request for food, water, and shelter." --need food --state HERE_AND_NOW

Important:

  • smtp.example.org is only a documentation placeholder, not a real mail server.
  • For Gmail, use smtp.gmail.com with port 587 and an app password if account security requires it.

Pizza API Note

pizzaapi is not used by the runtime package. It is treated only as a teaching example of API abstraction in Python: just as a pizza-ordering wrapper models an order before sending it to a transport boundary, nsigii-smtp models a humanitarian aid request before sending it through SMTP.

See docs/examples/pizzaapi_example.md. ![https://github.com/RIAEvangelist/node-dominos-pizza-api]

Metadata

Release files for nsigii-smtp 0.1.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 nsigii-smtp 0.1.0
File Size Uploaded
nsigii_smtp-0.1.0.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nsigii-smtp 0.1.0
File Interpreter ABI Platform
nsigii_smtp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / nsigii_smtp-0.1.0.tar.gz

Download URL nsigii_smtp-0.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
da6b8d7b29ddaf188bc815ce5938b88cbbc4181e4cc58b01512479cf20a30ad2
BLAKE2b-256 checksum
How to use checksums
bd4ea31a1227ce596f40db2bad9226da9d92c8ec5b339e641a177a8e67e2edd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 1, 2026.

Transparency log

Release files / nsigii_smtp-0.1.0-py3-none-any.whl

Download URL nsigii_smtp-0.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
314f5ef1b63d5add6fa21108ca447d09332787d853008e987be5366843a4a5cf
BLAKE2b-256 checksum
How to use checksums
ce77fc4ba962ef7aa92db63057372f38a698f3cfe0536f0231adac98f90f2cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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