You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tudo (tabelas auxiliares + todas as séries anuais disponíveis)
140
136
comex_fetcher.download_all(data_dir)
141
137
```
142
138
143
-
Helpers de baixo nível em `comex_fetcher.download`: `download_file(url, output, retry=3, blocksize=8192)`, `remote_is_more_recent(headers, dest)`, `get_file_metadata(url)`.
139
+
Helper de baixo nível em `comex_fetcher.download`: `download_file(url, output, retry=3, blocksize=8192)`.
# Re-baixe se quiser, ou apenas confirme que o arquivo no disco bate
92
98
```
@@ -98,21 +104,29 @@ Para análises críticas, **versionar o `.manifest.json` no git** ao lado do có
98
104
O [`quantilica-io`](../fundacoes/quantilica-io.md) leva a ideia um passo adiante: ao converter para Parquet, ele injeta o manifesto no **header key-value do próprio arquivo**.
99
105
100
106
```python
107
+
import json
108
+
from pathlib import Path
109
+
import polars as pl
101
110
from quantilica_core.manifests import DownloadManifest
O `dataset.parquet` resultante é auto-suficiente: meses depois, qualquer leitor compatível com PyArrow consegue extrair de onde veio aquele dado, sem depender de arquivos vizinhos.
0 commit comments