Skip to main content

Filesystem and path manipulation tools.

Project description

nr.fs

– Filesystem and path manipulation tools.

Note: To use the nr.fs.glob() function, you need the glob2 module installed. It is not listed an install requirement to this module.

Changes

v1.6.0 (2020-02-24)

  • Change how a case-sensitive filesystem is detected (using sys.executable, uppercasing and os.path.isfile())
  • Add ischild()
  • Add samefile() (from shutil.move() in Python 3.5)
  • Add move() (from shutil.move() in Python 3.5)
  • Add atomic_file.discard()
  • Add atomic_file.dispatch()
  • Change atomic_file.__enter__(), now returns self instead of wrapped tempfile

v1.5.0 (2019-09-27)

  • Add mode argument to nr.fs.listdir()
  • Add nr.fs.atomic_file class
  • Alias os.rename as nr.fs.rename

v1.4.0 (2019-04-16)

  • Add nr.fs.remove() function

v1.3.0 (2019-04-16)

  • Use pkgutil instead of pkg_resources namespace packages

v1.2.0 (2019-04-16)

  • Fix tempfile.closed

v1.1.1 (2018-08-21)

  • Fix issub() and add at_curr=True parameter

v1.1.0 (2018-08-18)

  • Add compare_all_timestamps() function
  • Add mtime_consistent_file class

v1.0.3 (2018-08-06)

  • Fix NameError on platforms where os.name != 'nt'

v1.0.2 (2018-07-14)

  • Changed get_long_path_name() is now an alias for fixcase() (backwards compatibility until 1.1.0)
  • Changed canonical() so that it invokes fixcase() on case-insensitive filesystems
  • When tempfile(encoding) parameter was not specified, its encoding property will still return the applied text file encoding after it has been opened
  • Add fixcase() as replacement for get_long_path_name()
  • Add tempfile.encoding property
  • Add listdir()

v1.0.1 (2018-07-05)

  • Add nr.fs.isfile_cs()
  • Add nr.fs.get_long_path_name()
  • Add namespace_packages parameter in setup.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nr.fs-1.6.0.post1.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file nr.fs-1.6.0.post1.tar.gz.

File metadata

  • Download URL: nr.fs-1.6.0.post1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2

File hashes

Hashes for nr.fs-1.6.0.post1.tar.gz
Algorithm Hash digest
SHA256 c3eec5cdd691452821693356c03ead37da038e6988383e859fb53aa85e8c9c85
MD5 0134444c3ec7b0b98d751da86a0706e4
BLAKE2b-256 be095bbfba89f909b4138d99ae931eb0acfa5cce09adac5a6bf067130c662168

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page