filehandles
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.
Links
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.3.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| filehandles-0.3.1.post1.tar.gz | 5.9 kB | Without provenance | Details for filehandles-0.3.1.post1.tar.gz |
Release files / filehandles-0.3.1.post1.tar.gz
| Download URL | filehandles-0.3.1.post1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
666526ad6d0e5499cb8e4d6af626f9bf17aa238f33c996f619303d6ea2091086
|
|
BLAKE2b-256 checksum How to use checksums |
e69810afd597c67acfcfbad30132683c85f2d236e9a5367ae1bd461008bffe0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/35.0.2 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.5.4
|
Security for filehandles 0.3.1.post1
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.