Datumesh

Datumesh

Numbers copied between files lose their source and their date; here every number keeps both, and anyone can check them.

Datumesh gives every number a name you can call and a signed receipt you can check.

A cell (one value: a function at given arguments) is a named function with arguments, under a domain its publisher (the domain in the name's first segment; a later domain is only the source) controls.

Here the mesh relays (republishes a source's data under its own domain) the ECB's rate: the first segment, datumesh.com, is the publisher's domain, and ecb.europa.eu is the source, not the publisher.

datumesh.com/relay/ecb.europa.eu/fx_reference(USD, 2026-11-20)

The web address of the same cell:

curl -s https://datumesh.com/describe/datumesh.com/relay/ecb.europa.eu/fx_reference

The cell answers 1.099.

The publisher is datumesh.com. The arguments are currency, date.

Every answer is a signed receipt (the answer, signed by its publisher). Anyone can check it.

A receipt says who published the answer, when, and from which cells it was computed. The one-line Python check below verifies it.

from datumesh import fetch_keys, verify; import json, urllib.request; r = json.load(urllib.request.urlopen("https://datumesh.com/receipt/fc0e7e9ed1fded07ab2eb1e07f73b9fc142350756e41ee0cf6c2e68292c25652")); v = verify(r, fetch_keys("datumesh.com")); print(v.ok, v.level)
  • publisher: datumesh.com/relay/ecb.europa.eu
  • computed_by: datumesh.com#eddd0c12fedb022e
  • issued: 2026-11-21T01:11:04.496778Z
  • tx: 2026-11-21T01:11:04.496778Z
  • licence the terms the data comes under: https://www.ecb.europa.eu/services/using-our-site/disclaimer/html/index.en.html
  • source: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml, sha256 a234540a78d0bccccc3642bfe604b138310a03741361434907aa4cf3e7622e8a
  • inputs: none: the cell was relayed, not computed
True signed

A cell can be a calculation over other cells.

Datumesh computes this one from two Treasury yields: it is computed by Datumesh, not the Treasury's own figure. Its licence is the Treasury's, inherited from its inputs: https://www.law.cornell.edu/uscode/text/17/105.

datumesh.com/finance/treasury_spread(10Y, 2Y, 2026-11-20)

0.29

Its two inputs, each fetched from its receipt and verified:

  • par_yield 10Y: 4.92, receipt 3598ce751192…
  • par_yield 2Y: 4.63, receipt 8f6629bf403f…
curl -s -X POST https://datumesh.com/whatif -H 'content-type: application/json' -d '{"cell": "datumesh.com/finance/treasury_spread(10Y, 2Y, 2026-11-20)", "overrides": [{"cell": "datumesh.com/relay/treasury.gov/par_yield(2Y, 2026-11-20)", "value": {"type": "number", "value": "4.5"}}]}'

What if the 2-year yield were 4.5: 0.42.

Install the datumesh command: cargo install datumesh, or take a release binary.

The same program runs on your machine.

A local mesh reads the public cells and computes a function of your own over them. The commands, shortened (the signature and test are on the calculate page):

datumesh licence accept 'https://www.ecb.europa.eu/services/using-our-site/disclaimer/html/index.en.html'
datumesh serve --listen 127.0.0.1:7733 > serve.log 2>&1 &
datumesh define local/dfr_change --formula 'last_before(@ecb/policy_rate("dfr", *), to) - last_before(@ecb/policy_rate("dfr", *), from)'
local/dfr_change(2025-12-18, 2026-11-05)
datumesh get 'local/dfr_change(2025-12-18, 2026-11-05)'

0.5

0.5 percent (https://www.ecb.europa.eu/services/using-our-site/disclaimer/html/index.en.html)

Anyone can publish under their own domain.

A publisher serves a key document at its own domain, and its functions under its own name: the steps are on the Publish page.

Get data

One series, six ways: browser, Excel, Google Sheets, pandas, curl, JavaScript.

Calculate

The datumesh command on your machine: read two rates and compute their spread.

For agents

One line to give an agent the mesh, and what it holds.

Every series has month pages, listed in the series index. The catalogue lists the subjects the mesh holds. The protocol is described, with a checked example for each part. The specification says how the mesh works.