fd-open-data-protocol 0.5.6
-
The open-data datasource protocol: a manifest contract a datasource exposes
to be ingested by fd-open-data-mcp (or any consumer).
1 hour ago
fin = open('my dump file', 'r')
fout = open('my new dump file', 'w')
falserep = (x.replace(',f,',',0,') for x in fin)
truerep = (x.replace(',t,',',1,') for x in falserep)
for line in truerep: fout.write(line)