Skip to main content

Netspecs

Cross-platform internet diagnostics with AI-powered analysis.

Main Features:

  • Comprehensive internet diagnostics
    • Connectivity testing
    • Latency measurement
    • Jitter measurement
    • Speed testing (HTTP and Ookla)
    • Throttling detection
    • Network information capture
    • Bandwidth variability analysis
  • AI-powered diagnostic reports
  • Cross-platform support (macOS, Linux, Windows)

Installation

pip install netspecs

For development:

git clone https://github.com/colinconwell/NetSpecs.git
cd NetSpecs
pip install -e ".[dev]"

Quick Start

# Run full diagnostic suite
netspecs run

# Individual tests
netspecs latency
netspecs speed
netspecs jitter
netspecs prioritization

# With AI analysis
netspecs run --ai-report --api-key YOUR_OPENAI_KEY

# Output formats
netspecs run --output json --output-dir ./results
netspecs run --output csv --output-dir ./results

CLI Commands

Command Description
netspecs run Full diagnostic suite
netspecs latency Test latency to endpoints
netspecs speed Test download/upload speed
netspecs jitter Measure latency variation
netspecs prioritization Detect throttling patterns
netspecs report FILE Generate AI report from results
netspecs config --show Show configuration

Options

netspecs run --help

Options:
  --output, -o       Output format: console, json, csv
  --output-dir, -d   Directory to save results
  --endpoints, -e    Comma-separated test endpoints
  --skip-speed       Skip speed tests
  --skip-jitter      Skip jitter tests
  --ai-report        Generate AI diagnostic report
  --model, -m        LLM model (default: gpt-5.2)
  --api-key, -k      API key for AI reports

Python API

from netspecs.core.latency import test_latency
from netspecs.core.speed import test_speed
from netspecs.agent.analyst import generate_diagnostic_report

# Run tests
latency_result = test_latency("8.8.8.8", count=20)
speed_result = test_speed()

# Generate AI report
results = {
    "latency": [latency_result.to_dict()],
    "speed": speed_result.to_dict(),
}
report = generate_diagnostic_report(results, api_key="your-key")
print(report)

Shell Scripts

Original shell scripts are available in scripts/:

# Bash (macOS/Linux)
./scripts/internet-test.sh
./scripts/prioritization-detector.sh

# PowerShell (Windows)
.\scripts\internet-test.ps1

Documentation

Full documentation: https://colinconwell.github.io/NetSpecs

Metadata

Release files for netspecs 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 netspecs 0.1.0
File Size Uploaded Provenance Actions
netspecs-0.1.0.tar.gz 1.6 MB With provenance Details for netspecs-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 3.2 MB

Release files / netspecs-0.1.0.tar.gz

Download URL netspecs-0.1.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
01ae7313b4570d44b1175a155d98520b64ff8bff52d019d672195dd32a644249
BLAKE2b-256 checksum
How to use checksums
70ea81dc2dd8373b7dd9b47ca7864767f06df822cc3502e58a04633a24d1dee0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 28, 2025.

Transparency log

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

Download URL netspecs-0.1.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
101baf3ace587811b0fda1a4a5e3b0a67bc8c20633fb161c293bab603a6515c4
BLAKE2b-256 checksum
How to use checksums
7d4310355572bb84ab326db11bd8a36440953493404aca9105aae2488411da34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Dec 28, 2025.

Transparency log

Security for netspecs 0.1.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.

Full provenance

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

Select from 2 files

Attestation for netspecs-0.1.0.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 Dec 28, 2025.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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