Skip to main content

libfile

Libfile.

This module offers a class that combines pathlib.Path, os.walk, cached os.struct_stat, debug/trace logging, and the ability to execute a --dry-run through 'most' of the code without changing the filesystem.

File(object) represents a filesystem item, such as a file or folder, which may or may not exist when the object is initialized. This differs from os.DirEntry(object), which is only instantiated for an existing item.

File has nothing to do with input/output... yet.

For you old unix cats like me, a 'folder' is a 'directory', and this module enjoys the 50% reduction in the number of syllables required, the 3-fewer keystrokes for singular, 4 for plural, and non-collision with python built-in 'dir'. Embrace the technology!

class File

Represent a filesystem item such as a file or folder.

The path argument to the constructor, and other methods that take a path argument, accept either a string, or an object implementing the os.PathLike interface which returns a string, or another path object.

See: https://docs.python.org/3/library/pathlib.html#pure-paths

Release files for rlane-libfile 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rlane-libfile 1.0.5
File Size Uploaded
rlane_libfile-1.0.5.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rlane-libfile 1.0.5
File Interpreter ABI Platform
rlane_libfile-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / rlane_libfile-1.0.5.tar.gz

Download URL rlane_libfile-1.0.5.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
afcf094a088756f5822e980667045c34204c53ac7ce82aa3db5f9cb7a60532f6
BLAKE2b-256 checksum
How to use checksums
73af888258259fc32ed585ca28f6d1a06bc5c630014eafbc7e55652ec48591aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / rlane_libfile-1.0.5-py3-none-any.whl

Download URL rlane_libfile-1.0.5-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52cee90091f1d90c164a77367b36c9955522a08e439a81acbec637c9dc7293fc
BLAKE2b-256 checksum
How to use checksums
17ab23bd35c207a567452db650d09e4b58c41e8e03d91bcd5b4254f68ccbc5fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page