Use Pooch to handle file downloads in exampledata.py

Aperta
#352 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
62/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Look at exampledata.py to find where urllib is used for downloading example datasets. Read the Pooch docs (fatiando.org/pooch) for its retrieve/caching API, then replace the download logic so files are cached and optionally unzipped via Pooch. Done when the example-data tests pass and downloads work with caching in place. Note: the issue is over a year old with no comments, so confirm with maintainers it's still wanted before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

patch / enhancement priority-high

The Pooch package (https://www.fatiando.org/pooch/latest/index.html) provides some useful features for downloading files including caching, version check and unzipping. We could simplify and make more robust the exampledata module by using Pooch instead of urllib.

Lingua principale
Jupyter Notebook
Stelle
19
Fork
7
Merge medio
10g 11h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SINTEF/pyopia

Tutte le issue di SINTEF/pyopia

Issue simili

Altre issue su Data Engineering

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.