There is a newer version of the record available.

Published April 8, 2022 | Version v0.4.1
Software Open

cthoyt/pystow:

  • 1. Harvard Medical School
  • 2. Ludwig-Maximilians-Universität München

Description

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.

Files

cthoyt/pystow-v0.4.1.zip

Files (46.3 kB)

Name Size Download all
md5:e8e99586835538a1b59cf472c8e3e747
46.3 kB Preview Download

Additional details

Related works