Skip to main content

Facility to track file state.

This is used to watch for size or modification time changes, or to notice when a file path no longer points at the same file.

Function FileState(path, do_lstat=False, missing_ok=False)

Return a signature object for a file state derived from os.stat (or os.lstat if do_lstat is true). path may also be an int, in which case os.fstat is used. This returns an object with mtime, size, dev and ino attributes and can be compared for equality with other signatures. missing_ok: return None if the target file is missing, otherwise raise. Default False.

Metadata

Release files for cs.filestate 20181107

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

Source distribution (sdist)

Source distribution for cs.filestate 20181107
File Size Uploaded Provenance Actions
cs.filestate-20181107.tar.gz 2.0 kB Without provenance Details for cs.filestate-20181107.tar.gz

Release files / cs.filestate-20181107.tar.gz

Download URL cs.filestate-20181107.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f63b491ccb856f2b5b9c246e4667e7b222b742ad9be08493de406ee31d642b80
BLAKE2b-256 checksum
How to use checksums
feac51d0400b7dbd3f70393885e5926798dd4b7331cf0cf18290a13a16372359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6

Security for cs.filestate 20181107

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

20181107 This release

1 release file No provenance

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