Metadata-Version: 2.5
Name: golded-ftn-nodelist
Version: 1.0.0
Summary: Typed FTN nodelist, pointlist, and DKPC exporter library for the GoldED FTN suite
Project-URL: Repository, https://github.com/golded-dev/golded-ftn-nodelist-python
Project-URL: Issues, https://github.com/golded-dev/golded-ftn-nodelist-python/issues
Project-URL: Changelog, https://github.com/golded-dev/golded-ftn-nodelist-python/blob/main/CHANGELOG.md
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: golded-ftn<2,>=1.2.2
Description-Content-Type: text/markdown

# golded-ftn-nodelist

Typed FTN nodelist, pointlist, and DKPC exporter library for the GoldED FTN suite.

## Overview

`golded-ftn-nodelist` (`import golded_ftn_nodelist`) provides a pure, strictly typed library for parsing FidoNet Technology Network (FTN) nodelists and pointlists across six dialects (`STANDARD`, `BOSS`, `POSS`, `POINT`, `DK_FAKENET`, and `UBOSS`), querying entries by sysop name or 5D address, converting fakenet addresses to canonical point identities, and generating deterministic byte outputs across all seven DKPC export formats (`SEG`, `PVT`, `NAM`, `NET`, `DUP`, `TXT`, and `VR7_TEXT`).

## Features

- **Six input dialects**:
  - `STANDARD`: FTS-5000 distribution nodelist (`Zone`, `Region`, `Host`, `Hub`, node status keywords).
  - `BOSS`: FrontDoor Boss pointlist (`Boss,<addr>` headers with optional contact metadata, followed by point rows).
  - `POSS`: Legacy `Boss,<addr>` headers followed by `Point` or status rows.
  - `POINT`: Integrated `STANDARD` hierarchy with `Point` rows attached to their preceding node, hub, or host.
  - `DK_FAKENET`: Danish pointlist format resolving pointnet bosses from `Host` system field, `UBOSS:<addr>`, or explicit mappings.
  - `UBOSS`: Explicit `UBOSS:<addr>` (or supplied mapping) pointnet format without guessing addresses from the system field.
- **CRC-16/XMODEM verification and generation**:
  - Polynomial `0x1021`, initial value `0x0000`, matching FTS-5000 and `dkpc.c`.
  - Configurable `CrcPolicy` (`IGNORE`, `VERIFY_IF_PRESENT`, `REQUIRE_VALID`).
  - Clean `write_crc=False` header generation omitting `: <crc>` rather than writing a fake zero checksum.
- **Seven deterministic exporters**:
  - `SEG`, `PVT`, `NAM`, `NET`, `DUP`, `TXT`, and `VR7_TEXT` with `"ascii"` and `"cp850"` encoding support.
- **Confidentiality by default**:
  - `repr()` and `str(error)` never leak raw lines, sysop names, phone numbers, system names, locations, or user comments.

## Version 1.0.0

Initial six-dialect parser, CRC verification, 5D lookup and fakenet conversion; seven deterministic DKPC export formats.

Linux and macOS, Python 3.12–3.14, are the release targets. Windows is outside
this candidate's test and compatibility promises. See [release preparation](docs/release.md).

Installation, a runnable example, complete public signatures and operational limits:
[package guide](docs/api.md).
