This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Netcat as a library: convienent socket interfaces

Project Description

nclib is a python socket library that wants to be your friend.

nclib provides:

  • Easy-to-use interfaces for connecting to and listening on TCP and UDP sockets
  • A better socket class, the Netcat object
    • Convenient receive methods for common socket usage patterns
    • Highly customizable logging
    • Interactive mode, connecting the socket to your stdin/stdout
    • Intelligent detection of socket closes and connection drops
    • Long-running functions cleanly abortable with ctrl-c
    • Lots of aliases in case you forget the right method name
  • Mechanisms to launch processes with their in/out streams connected to sockets
    • Launch a process with gdb attached
  • TCP and UDP server classes for writing simple python daemons
  • A script to easily daemonize command-line programs

Documentation is available at https://nclib.readthedocs.io/ and source code is available at https://github.com/rhelmot/nclib

If you are familiar with pwntools, nclib provides much of the functionaly that pwntools’ socket wrappers do, but with the bonus feature of not being pwntools.

Release History

Release History

This version
History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.1

History Node

0.6.0

History Node

0.5.1

History Node

0.5

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nclib-0.7.2.tar.gz (11.3 kB) Copy SHA256 Checksum SHA256 Source Jul 6, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting