Skip to main content

iocp tries to mimic Go’s io.Copy function (http://golang.org/pkg/io/#Copy) which copies from everything that is an io.Reader to anything that is an io.Writer).

The Python world of things is not that organized, so iocp.copy will try to do a best guess about which are the right function to call when reading and writing.

For example, checking md5 signature of a file:

md5 = hashlib.md5()
with open('/path/to/file') as fo:
    iocp(fo, md5)
print md5.hexdigest()

Metadata

Release files for iocp 0.1.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 iocp 0.1.0
File Size Uploaded
iocp-0.1.0.tar.gz 1.7 kB Details

Release files / iocp-0.1.0.tar.gz

Download URL iocp-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
31f78163a168c84d852307dd8459176bcec274450ab480bec566fa1410e7928d
BLAKE2b-256 checksum
How to use checksums
c96abc4620ad2d6d14cc6445c8661d0c64dc0c7b9b2f9fe5dff341fbcf9a53a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.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