toros-dev is a research-oriented engineering group building open-source infrastructure for financial data acquisition, representation, and analysis.

The problem

Financial disclosure data is public, structured in principle, and nearly unusable in practice. Comparable facts sit buried under inconsistent XBRL taxonomies, reporting regimes shift across filings and companies, and most research code that touches this data is written once per paper and thrown away.

Two specific failures recur. A line item does not keep one name: the us-gaap taxonomy deprecates, splits, and merges elements from one annual release to the next, so a filer’s revenue history is spread across several tags. And a period does not keep one value: it is reported in the 10-Q, again in the 10-K, and again as a comparative a year later. A dataset that silently picks one tag and one value has made two research decisions on the user’s behalf and recorded neither.

We build the alternative: installable, typed, tested, documented packages that turn heterogeneous disclosures into reliable, reproducible, model-ready structures, and that keep the provenance of every number reachable.

The stack

The stack separates concerns by layer.

Layer Responsibility Package
Acquisition Retrieval, rate limiting, and parsing from the primary source, returned as typed objects edgar-sec
Representation Enforced semantics over those objects: concepts, periods, vintages, and lineage. No network I/O toros

The dependency runs one way. toros reads what edgar-sec returns; edgar-sec knows nothing about toros. The same pattern extends to additional sources.

How we build

Correctness over convenience. Full type annotations, mypy-clean, explicit key-existence checks, specific exception classes, no silent failure. If a response shape is wrong, the library says so rather than returning None.

Sync and async as first-class peers. Strict parity between clients. The async surface is never a second-class citizen with missing endpoints.

Reproducibility as a deliverable. OpenSSF Best Practices, Codecov coverage gates, conda-forge distribution alongside PyPI, and DOI-archived releases, so a paper can cite an exact version that will still resolve in ten years.

Design before code. Every package starts as a specification argument — what the public surface should be, what belongs in private internals, where the layer boundaries fall — before any implementation exists.

Citing

Each repository carries a CITATION.cff with the authors and the preferred citation; GitHub renders it under “Cite this repository”. Cite the exact version used.

Contact

  • Bugs, questions, and design discussion: open an issue on toros or edgar-sec.
  • Security reports: privately, as described on the Contributing page. Not through public issues.
  • Research collaboration and everything else: nsunder724@gmail.com.