This release is a pre-release and may not be stable for production use.
Blathers
Ontology documentation & validation CLI -- bridges auto-extracted OWL/SHACL definitions with Markdown narrative.
Features
- 5 validators -- SHACL, consistency, completeness, naming conventions, and overlap detection
- Sidecar Markdown -- author rich narrative alongside your ontology using YAML frontmatter
- Static HTML output -- generates a self-contained documentation site with ReSpec-style layout
- RDF/OWL extraction -- parses classes, properties, and named individuals via rdflib
- Content negotiation -- generates Apache, nginx, and w3id configuration
Quick start
pip install blathers
Scaffold a new project:
blathers init my-ontology
cd my-ontology
Validate your ontology:
blathers validate
Build the documentation site:
blathers build
Configuration
Blathers reads from blathers.yaml in your project root:
ontology: ontology/my-ontology.ttl
shacl: []
sidecars: sidecars/
figures: figures/
output: dist/
metadata:
title: "My Ontology"
version: "1.0.0"
namespace: "http://example.org/onto#"
prefix: onto
validation:
fail_on: error
rules:
shacl: true
consistency: true
completeness: true
conventions: true
overlap: true
Sidecar authoring
Create Markdown files in sidecars/ with YAML frontmatter to add narrative:
---
term: onto:MyClass
section: overview
order: 1
---
Description of MyClass and its role in the ontology.
CLI commands
| Command | Description |
|---|---|
init |
Scaffold a new ontology project |
validate |
Run validators against ontology and SHACL shapes |
build |
Generate static HTML documentation site |
fetch |
Fetch remote ontology imports |
Contributing
See CONTRIBUTING.md for development setup and guidelines.
License
Metadata
Release files for blathers 1.0.0a11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blathers-1.0.0a11.tar.gz | 108.3 kB | Without provenance | Details for blathers-1.0.0a11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blathers-1.0.0a11-py3-none-any.whl | Python 3 | none | any | Details for blathers-1.0.0a11-py3-none-any.whl |
Total release size: 154.2 kB
Release files / blathers-1.0.0a11.tar.gz
| Download URL | blathers-1.0.0a11.tar.gz |
|---|---|
| Size | 108.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d52cb0a4a2fbc6b65b90e2fcae6bf143103a77f710bd7f14564dd2c8f6b07f18
|
|
BLAKE2b-256 checksum How to use checksums |
e97b6a51eeb6e3edceb73bb504231cf2fcc33164ce81f9d8da1c1fa426bf279b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / blathers-1.0.0a11-py3-none-any.whl
| Download URL | blathers-1.0.0a11-py3-none-any.whl |
|---|---|
| Size | 45.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6da85a9e7e63944246e155ad616ecdb543a031f338edd6f425c4e7699455df12
|
|
BLAKE2b-256 checksum How to use checksums |
102e7e5409c5b0b21a844bd3f77ee42b231c6a637434e8d932a05bd7e729f0fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for blathers 1.0.0a11
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.