github fatiando/pooch v0.7.0

latest releases: v1.8.2, v1.8.1, v1.8.0...
4 years ago

DOI: https://doi.org/10.5281/zenodo.3547640

New features:

  • New pooch.FTPDownloader class for downloading files over FTP. Uses the standard library ftplib. The appropriate downloader is automatically selected by pooch.Pooch.fetch based on the URL (for anonymous FTP only), so no configuration is required. If authentication is required, pooch.FTPDownloader provides the need support. Ported from NCAR/aletheia-data by the author. (#118)
  • Support for file-like objects to Pooch.load_registry (opened either in binary or text mode). (#117)

Maintenance:

  • Testing and official support for Python 3.8. (#113)
  • 🚨 Drop support for Python 2.7. 🚨 Remove conditional dependencies and CI jobs. (#100)

Documentation:

  • In the tutorial, use pkg_resources.resource_stream() from setuptools to load the registry.txt file. It’s less error-prone than using os.path and __file__ and allows the package to work from zip files. (#120)
  • Docstrings formatted to 79 characters (instead of 88) for better rendering in Jupyter notebooks and IPython. These displays are limited to 80 chars so the longer lines made the docstring unreadable. (#123)

This release contains contributions from:

  • Anderson Banihirwe
  • Hugo van Kemenade
  • Remi Rampin
  • Leonardo Uieda

Don't miss a new pooch release

NewReleases is sending notifications on new releases.