An analyzer for Open Source Hardware documentation quality.
- Documentation quality analysis
- BOM (Bill of Materials) validation
- Multi-repository support
- Quality metrics and scoring
- Structured output formats (JSON, CSV)
pip install hardocfrom 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")- Clone the repository:
git clone https://github.com/yourusername/hardoc
cd hardoc- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install development dependencies:
pip install -e ".[dev]"- Run tests:
pytestContributions are welcome! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.