Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.18 KB

File metadata and controls

64 lines (46 loc) · 1.18 KB

Hardoc

An analyzer for Open Source Hardware documentation quality.

Features

  • Documentation quality analysis
  • BOM (Bill of Materials) validation
  • Multi-repository support
  • Quality metrics and scoring
  • Structured output formats (JSON, CSV)

Installation

pip install hardoc

Quick Start

from hardoc import analyze_repo

# Analyze a single repository
results = analyze_repo("https://github.com/username/repo")
print(results.summary())

# Analyze multiple repositories
repos = ["repo1", "repo2", "repo3"]
batch_results = analyze_repos(repos)
batch_results.export_csv("analysis_results.csv")

Development Setup

  1. Clone the repository:
git clone https://github.com/yourusername/hardoc
cd hardoc
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install development dependencies:
pip install -e ".[dev]"
  1. Run tests:
pytest

Contributing

Contributions are welcome! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.