modules¶
geometor.bertrand_russell¶
Scholarly Book Codex and cross-corpus concordance for Bertrand Russell’s treatises on geometry.
Submodules¶
Attributes¶
Classes¶
Structured bidirectional concordance entry across Russell's 1897/1903 treatises and GEOMETOR. |
|
Cross-corpus locus connecting Russell to Hoenen, Heath's Euclid, Pappus, Hilbert, or Wildberger. |
|
Locus reference inside one of Russell's geometric treatises (1897 or 1903). |
Functions¶
|
Compile all SVG figures, Codex I (1903), Codex II (1897), and scholarly apparatus into |
|
Convert an apparatus key into the deterministic anchor slug used by |
|
Return concordance entries referencing a given corpus substring (e.g. |
|
Return concordance entries linked to a numbered section in |
|
Return the root directory of the |
|
Load |
|
Load and parse all entries from |
|
Load |
|
Verify SHA-256 digests and byte lengths of all archived primary source files. |
|
Generate all 9 vector SVG diagrams into |
Package Contents¶
- geometor.bertrand_russell.compile_all(repo_root: pathlib.Path | None = None) dict[str, int]¶
Compile all SVG figures, Codex I (1903), Codex II (1897), and scholarly apparatus into
docsrc/.
- class geometor.bertrand_russell.ConcordanceEntry¶
Structured bidirectional concordance entry across Russell’s 1897/1903 treatises and GEOMETOR.
- id: str¶
- theme: str¶
- russell_1903: RussellLocus¶
- russell_1897: RussellLocus¶
- external_loci: tuple[ExternalLocus, ...]¶
- class geometor.bertrand_russell.ExternalLocus¶
Cross-corpus locus connecting Russell to Hoenen, Heath’s Euclid, Pappus, Hilbert, or Wildberger.
- corpus: str¶
- work: str¶
- locus: str¶
- relation: str¶
- class geometor.bertrand_russell.RussellLocus¶
Locus reference inside one of Russell’s geometric treatises (1897 or 1903).
- chapter: str¶
- sections: tuple[str, ...]¶
- pages: str¶
- anchor: str¶
- verbatim_excerpt: str = ''¶
- geometor.bertrand_russell.apparatus_slug(key: str) str¶
Convert an apparatus key into the deterministic anchor slug used by
publish.
- geometor.bertrand_russell.find_concordance_by_corpus(corpus_query: str, repo_root: pathlib.Path | None = None) list[ConcordanceEntry]¶
Return concordance entries referencing a given corpus substring (e.g.
'hoenen','euclid').
- geometor.bertrand_russell.find_concordance_by_section(work: str, section: int | str, repo_root: pathlib.Path | None = None) list[ConcordanceEntry]¶
Return concordance entries linked to a numbered section in
'1903'or'1897'.
- geometor.bertrand_russell.get_repo_root() pathlib.Path¶
Return the root directory of the
geometor/bertrand-russellrepository.
- geometor.bertrand_russell.load_apparatus_registries(repo_root: pathlib.Path | None = None) dict[str, dict[str, Any]]¶
Load
citations.json,persons.json, andglossary.jsonfromresources/.
- geometor.bertrand_russell.load_concordance(repo_root: pathlib.Path | None = None) list[ConcordanceEntry]¶
Load and parse all entries from
resources/bertrand_russell/concordance.json.
- geometor.bertrand_russell.load_sources_manifest(repo_root: pathlib.Path | None = None) dict[str, Any]¶
Load
resources/bertrand_russell/sources_manifest.json.
- geometor.bertrand_russell.verify_source_checksums(repo_root: pathlib.Path | None = None) list[tuple[str, bool]]¶
Verify SHA-256 digests and byte lengths of all archived primary source files.
- geometor.bertrand_russell.generate_all_diagrams(output_dir: pathlib.Path | None = None) list[pathlib.Path]¶
Generate all 9 vector SVG diagrams into
docsrc/_static/diagrams/.
- geometor.bertrand_russell.__version__ = '0.1.0'¶