Skip to content

Releases: fatiando/pooch

v0.5.0

22 May 03:52
60e6d2b
Compare
Choose a tag to compare

New features:

  • New processor pooch.Decompress saves a decompressed version of the downloaded file. Supports gzip, lzma/xz, and bzip2 compression. Note: Under Python 2.7, lzma and bzip2 require the backports.lzma and bz2file packages as well. These are soft dependencies and not required to use Pooch. See Installing. (#78)
  • New processor pooch.Untar unpacks files contained in a downloaded tar archive (with or without compression). (#77)

This release contains contributions from:

  • Matthew Turk
  • Leonardo Uieda

v0.4.0

02 May 02:19
488454f
Compare
Choose a tag to compare

New features:

  • Add customizable downloaders. Delegate file download into separate classes that can be passed to Pooch.fetch. Created the HTTPDownloader class (used by default) which can also be used to download files that require authentication/login. (#66)
  • Add post-download processor hooks to Pooch.fetch. Allows users to pass in a function that is executed right before returning and can overwrite the file path that is returned by fetch. Use this, for example, to perform unpacking/decompression operations on larger files that can be time consuming and we only want to do once. (#59)
  • Add the Unzip post-download processor to extract files from a downloaded zip archive. Unpacks files into a directory in the local store and returns a list of all unzipped files. (#72)
  • Make the check_version function public. It’s used internally but will be useful in examples that want to download things from the pooch repository. (#69)

Maintenance:

  • Pin sphinx to version 1.8.5. New versions of Sphinx (2.0.*) are messing up the numpydoc style docstrings. (#64)

This release contains contributions from:

  • Santiago Soler
  • Leonardo Uieda

v0.3.1

29 Mar 04:55
bc970b0
Compare
Choose a tag to compare

Minor patches:

  • Add a project logo (#57)
  • Replace http with https in the README.rst to avoid mixed content warnings in some browsers (#56)

v0.3.0

28 Mar 02:57
40e5ef7
Compare
Choose a tag to compare

New features:

  • Use the appdirs library to get the cache directory. Could change the default data location on all platforms. Locations are compatible with the XDG Base Directory Specification (#45)
  • Add method Pooch.is_available to check remote file availability (#50)
  • Add Pooch.registry_files property to get a name of all files in the registry (#42)
  • Make Pooch.get_url a public method to get the download URL for a given file (#55)

Maintenance:

  • Drop support for Python 3.5. Pooch now requires Python >= 3.6. (#52)
  • Add a private method to check if a file is in the registry (#49)
  • Fix typo in the Pooch.load_registry docstring (#41)

This release contains contributions from:

  • Santiago Soler
  • Rémi Rampin
  • Leonardo Uieda

v0.2.1

15 Nov 20:54
b968fdb
Compare
Choose a tag to compare

Bug fixes:

  • Fix unwanted ~ directory creation when not using a version in pooch.create (#37)

v0.2.0

01 Nov 01:53
ef9fb2d
Compare
Choose a tag to compare

Bug fixes:

  • Avoid copying of files across the file system (#33)
  • Correctly delete temporary downloads on error (#32)

New features:

  • Allow custom download URLs for individual files (#30)
  • Allow dataset versioning to be optional (#29)

Maintenance:

  • Move URLs building to a dedicated method for easy subclassing (#31)
  • Add testing and support for Python 3.7 (#25)

v0.1.1

01 Nov 01:53
9a1a5f9
Compare
Choose a tag to compare

Bug fixes:

  • Check if the local data folder is writable and warn the user instead of crashing (#23)

v0.1

21 Aug 02:29
3d704c7
Compare
Choose a tag to compare

First release of Pooch 🎉

Pooch will manage downloading your sample data files over HTTP from a server and storing them in a local directory:

  • Download a file only if it's not in the local storage.
  • Check the SHA256 hash to make sure the file is not corrupted or needs updating.
  • If the hash is different from the registry, Pooch will download a new version of the file.
  • If the hash still doesn't match, Pooch will raise an exception warning of possible data corruption.