Skip to main content

Uniform API for reading from multiple different sources.

Contains reconnecting reading file like object for uninterrupted stream reading of remote files.

import requests, lz4framed, input_obj
url = 'https://ph4r05.deadcode.me/static/lz4/certificates.20171002T020001.15.json.lz4'
iobj = input_obj.ReconnectingLinkInputObject(url=url, timeout=5*60, max_reconnects=1000)
for idx, chunk in enumerate(lz4framed.Decompressor(iobj)):
    print(chunk)

Pip package

pip install -U pip setuptools twine
python setup.py sdist
twine upload dist/*

Release files for input-objects 0.0.0

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

Source distribution (sdist)

Source distribution for input-objects 0.0.0
File Size Uploaded
input_objects-0.0.0.tar.gz 9.3 kB Details

Release files / input_objects-0.0.0.tar.gz

Download URL input_objects-0.0.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
99dfd7eaa7bda1ee17a876864ea4701c540c109656c031b097dccae03bddd3a3
BLAKE2b-256 checksum
How to use checksums
c40436b1cefec29ff55ffb70a2abfc2dacbd407fd3d1f966e6d8c527216e78c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.0 This release

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