Skip to content

Releases: cthoyt/pystow

v0.4.4

06 Jun 11:39
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.3...v0.4.4

v0.4.3

28 May 10:53
Compare
Choose a tag to compare

What's Changed

  • Add param to pass kwargs to download_from_google by @mberr in #41

Full Changelog: v0.4.2...v0.4.3

v0.4.2

12 Apr 11:55
Compare
Choose a tag to compare

This release adds several additional load_* and dump_* functions for RDF using rdflib, pandas dataframes, CSV, JSON, XML using lxml, and pickle. It also adds the hexdigest URL processor suggested by @kkaris for when you want to download a file and there's also a file right next to it that has the hexdigest in it.

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

08 Apr 10:51
Compare
Choose a tag to compare

Adds new ensure function pystow.ensure_pickle that works the same as pystow.ensure_json, but for pickle files.

This PR also adds the first opener functions suggested by @bgyori in #36 that work similarly to their ensure_* counterparts, but assume the file already exists:

  • pystow.open_csv
  • pystow.open_json
  • pystow.open_pickle

This makes PyStow more extensible to other applications that might write to its directories outside of the ensure_* functions.

v0.4.0

12 Feb 23:12
Compare
Choose a tag to compare
  • Reorganize package to avoid name collisions (this shouldn't have any effect unless you were directly importing from pystow.module)
  • Add top-level function pystow.submodule but it's already deprecated to go along with the other usages. This will be removed in v0.5.0.
  • Make docs work properly!

Full Changelog: v0.3.1...v0.4.0

v0.3.1

23 Jan 13:13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

14 Jan 14:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.8...v0.3.0

v0.2.6

30 Nov 13:23
Compare
Choose a tag to compare
  • Improve documentation for ensuring RDF ( #24, thanks @dobraczka)
  • Fix sphinx documentation of pystow.utils submodule

v0.2.1

24 Oct 15:34
Compare
Choose a tag to compare
  • pin old flake8 version in CI since new one is broken
  • update docs
  • add mocks for tests
  • add new opener functions (they don't have top level functions yet)

v0.2.0

14 Oct 14:11
Compare
Choose a tag to compare
  • Blacken all code
  • Remove deprecated get() function
  • Add ensure_json() function that works similarly to ensure_csv() and other ensure_functions(). One thing it doesn't do is canonicalize the JSON, which is sometimes annoying