Skip to content

Releases: sdss/sdss_access

sdss_access 0.2.8

12 Nov 20:09
Compare
Choose a tag to compare

This tag adds Windows support to sdss_access utilizing curl to enable downloading on Windows machines.

Added

  • new extract method to return extracted keywords from a given filename
  • new tests for sdss_access.path
  • methods to extract and look up source code given a method name
  • sdss_access now has a CurlAccess class to enable use on Windows OS
  • implemented new BaseAccess class to abstract out commonalities between RsyncAccess and CurlAccess
  • added a general Access class which handles the choice between Rsync/CurlAccess
  • added public access for HttpAccess

Changed

  • expanded lookup_keys to also look for keywords inside special % functions
  • moved special function template substitution into a separate method
  • replaced template envvar substitution with os.path.expandvars
  • updating yaml.load to use FullLoaded in compliance with pyyaml 5.1
  • changing disutils.strictversion to parse_versions
  • moved methods from RsyncAccess and CurlAccess into common BaseAccess
  • refactored the test suite to add tests on DR data, and simplify new path entries

Fixed

  • Bug fix for pathlib on 2.7 python systems
  • Issue :issue:9 Bug fix in generate_stream_task for public rsync locations

sdss_access 0.2.7

06 Sep 23:39
Compare
Choose a tag to compare

Added

  • Ability to check for a remote file existence on the SAS

Changed

  • rsync.reset now resets both the initial stream and the real stream
  • rsync.add now accepts the full keyword argument
  • rsync.full now checks for itself in kwargs and returns that

sdss_access 0.2.6

10 Jul 21:37
Compare
Choose a tag to compare

Fixes a bug when checking for missing keys. Removes the formatting syntax from the key before checking against input keyword arguments.

sdss_access 0.2.5

09 Jul 15:04
Compare
Choose a tag to compare

Updates include

  • Bug fixes to ensure proper handling of public data releases
  • new lookup_names method to look up available path names
  • Proper config file closures using with contextmanager
  • sdss_access now replants the tree on init of Path or RsyncAccess with release input