Skip to main content

filehandles

License information Current library version Supported Python versions Travis CI status Code coverage information

The filehandles package is a Python library that facilitates processing of files by removing boilerplate code that you need to write to open files from directories, zip archives, tar archives, URL addresses of files, etc. It also automatically closes open file handle after it has been processed.

Installation

The filehandles package runs under Python 2.7 and Python 3.4+. Use pip to install.

Install

python3 -m pip install filehandles

Upgrade

python3 -m pip install filehandles --upgrade

Quickstart

>>> from filehandles import filehandles
>>>
>>> for fh in filehandles('path/to/files'):
...     # utilize file handle
...     text = fh.readline()
>>>

Metadata

Release files for filehandles 0.1.1

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

Source distribution (sdist)

Source distribution for filehandles 0.1.1
File Size Uploaded Provenance Actions
filehandles-0.1.1.tar.gz 5.9 kB Without provenance Details for filehandles-0.1.1.tar.gz

Release files / filehandles-0.1.1.tar.gz

Download URL filehandles-0.1.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d27df7febec8017edf896622fb16038803a765f5d58c4d9e09e32ddb409f8c21
BLAKE2b-256 checksum
How to use checksums
83f9c10eee68847527fd659f1824d9f2697c042d6b0856cc37b8a1b558e8b5b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for filehandles 0.1.1

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.

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