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.

Files for iocp, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size iocp-0.1.0.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page