Skip to main content

A back door to servers.

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iocp-0.1.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page