Skip to main content

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

Metadata

Release files for openpy 0.0.2

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

Source distribution (sdist)

Source distribution for openpy 0.0.2
File Size Uploaded
openpy-0.0.2.tar.gz 2.8 kB Details

Release files / openpy-0.0.2.tar.gz

Download URL openpy-0.0.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b583fb8089adf14cfbf39c359afc60fef9e4f82659879bde8368ae5f7d19edbd
BLAKE2b-256 checksum
How to use checksums
e3589fa12a78491b3411b767b6fb133ff1676e23e17d9ae81190d3a55be35445
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

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