Skip to main content

pni501 (Project Nemesis Index)

Project Nemesis Index (PNI) evaluates software development project health and generates diagnostic reports to help engineering teams identify risks, maintain architectural integrity, and improve delivery velocity.


Overview

Software projects naturally accumulate friction—technical debt, uneven test coverage, stagnant dependencies, architectural drift, and workflow bottlenecks. PNI (Project Nemesis Index) analyzes software repositories to produce quantifiable health scores and actionable reports.

  • Package Name (PyPI): pni501 (pure-Python py3-none-any wheel)
  • Import Module: pni
  • CLI Command: pni
  • Supported Languages: 55 languages (57 native tree-sitter CST grammars; 5 extra MIT abi3 grammars cached on demand from GitHub Releases via pni grammars)
  • Developer Management Tool: ./pcli

Installation

Install via pip:

pip install pni501

Or using uv:

uv add pni501

Quickstart

Verify the installation:

pni version

Display CLI options and help:

pni --help

Initialize PNI in a repository and run a stateful workflow:

pni init
pni workflows list
pni workflows start full_audit

Documentation & Sample Reports (docs_src/ & docs/)

Official bilingual (en / ja) architectural documentation and live Workflow v2 sample audit / migration reports for pni501 are maintained under docs_src/ (docs_src/site/ + docs_src/reports/*) and compiled into docs/ for GitHub Pages (https://www.pni501.com):

  • Official Site Source: docs_src/site/en/ and docs_src/site/ja/ (docs_src/site/drawlib.toml) -> docs/
  • Sample Reports Source: docs_src/reports/<slug>/ (_facts/ + en/ + ja/) -> docs/reports/<slug>/ (HTML, PDF, JSON, SARIF)
  • Rebuild All & Link Check: ./docs_src/build.sh
  • Local Preview Server: ./docs_src/serve.sh

Development

This project is managed with uv and uses ./pcli (tools/pcli) for development workflows.

1. Shell Setup

Run ./pcli to inspect available toolsets or source it to enable dynamic autocompletion:

./pcli                    # Display available toolsets
source ./pcli             # Register 'pcli' shell alias & autocompletion

2. Available Toolsets

Toolset Command Description
code-check ./pcli code-check all [--fix] Ruff linting & formatting, Ty static type checking
test ./pcli test all [--cov] Run pytest unit tests with coverage
release-assets ./pcli release-assets remote Inspect, trigger CI builds & sync SHA-256 digests for extra grammar assets
pypi ./pcli pypi check-version Verify versions, inspect dependencies & publish
# Code Quality
./pcli code-check lint [--fix]
./pcli code-check type
./pcli code-check lines
./pcli code-check all

# Testing
./pcli test all
./pcli test pni
./pcli test pcli

# PyPI Management
./pcli pypi check-version
./pcli pypi publish --test-pypi
./pcli pypi publish

License

This project is licensed under the Apache 2.0 License. See LICENSE for details.

Metadata

Release files for pni501 0.2.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 pni501 0.2.0
File Size Uploaded Provenance Actions
pni501-0.2.0.tar.gz 952.7 kB Without provenance Details for pni501-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pni501 0.2.0
File Interpreter ABI Platform Actions
pni501-0.2.0-py3-none-any.whl Python 3 none any Details for pni501-0.2.0-py3-none-any.whl

Total release size: 2.4 MB

Release files / pni501-0.2.0.tar.gz

Download URL pni501-0.2.0.tar.gz
Size 952.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3db5ff54696f44593d14646bd405c9b3fb5218c0d40a14373d0bc3ec0d3bb1b7
BLAKE2b-256 checksum
How to use checksums
2a3b9fcbdbe2edfb3cf05f40acc36be79ace84fb51507bb9c4e37384a9eb118a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux rodete","version":null,"id":"rodete","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pni501-0.2.0-py3-none-any.whl

Download URL pni501-0.2.0-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
712df1bdad996eafd1be9175b8c8a8d0aeaf97c3ca7a3bb6c17d081758fa4861
BLAKE2b-256 checksum
How to use checksums
57aeac36194dce163228895df4923616dc035a8cc6411ba7b36a97d0f3627eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux rodete","version":null,"id":"rodete","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pni501 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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