Open files for humans
Project description
openpy
author: Oren Ovadia
Overview
Just open files, local filesystem, s3 or online.
Decompresses any format automatically (currently only gzip
is supported😀)
Installation
pip install openpy
or:
pip install git+git://github.com/orenovadia/openpy.git#egg=master
Examples
from openpy import read
# local files, uncompressed:
with read('data.gz') as f:
print(f.read())
# s3:
with read('s3://bucket/path/to/file.gz') as f:
print(f.read())
Upload to pypi:
./publish.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openpy-0.0.2.tar.gz
(2.8 kB
view details)
File details
Details for the file openpy-0.0.2.tar.gz
.
File metadata
- Download URL: openpy-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b583fb8089adf14cfbf39c359afc60fef9e4f82659879bde8368ae5f7d19edbd |
|
MD5 | 512666604f5102bb722a2b6eba6214ad |
|
BLAKE2b-256 | e3589fa12a78491b3411b767b6fb133ff1676e23e17d9ae81190d3a55be35445 |