Skip to content

sdss_access 0.2.8

Compare
Choose a tag to compare
@havok2063 havok2063 released this 12 Nov 20:09

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