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
- The ability to handle any python stream-like object with a single interface
- 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/rhelmot/nclib",
"name": "nclib",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "netcat nc socket sock file pipe tcp udp recv until logging interact handle listen connect server serve stdio process gdb",
"author": "rhelmot",
"author_email": "audrey@rhelmot.io",
"download_url": "https://files.pythonhosted.org/packages/ab/96/990e45d7160ee6bc510cdf6365001b0e60933f0ffca6765dc2b962e54969/nclib-1.0.5.tar.gz",
"platform": null,
"description": "\nnclib is a python socket library that wants to be your friend.\n\nnclib provides:\n\n- Easy-to-use interfaces for connecting to and listening on TCP and UDP sockets\n- The ability to handle any python stream-like object with a single interface\n- A better socket class, the Netcat object\n\n - Convenient receive methods for common socket usage patterns\n - Highly customizable logging\n - Interactive mode, connecting the socket to your stdin/stdout\n - Intelligent detection of socket closes and connection drops\n - Long-running functions cleanly abortable with ctrl-c\n - Lots of aliases in case you forget the right method name\n\n- Mechanisms to launch processes with their in/out streams connected to sockets\n\n - Launch a process with gdb attached\n\n- TCP and UDP server classes for writing simple python daemons\n- A script to easily daemonize command-line programs\n\nDocumentation is available at https://nclib.readthedocs.io/ and source code is\navailable at https://github.com/rhelmot/nclib\n\nIf you are familiar with pwntools, nclib provides much of the functionaly that\npwntools' socket wrappers do, but with the bonus feature of not being pwntools.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Netcat as a library: convienent socket interfaces",
"version": "1.0.5",
"project_urls": {
"Homepage": "https://github.com/rhelmot/nclib"
},
"split_keywords": [
"netcat",
"nc",
"socket",
"sock",
"file",
"pipe",
"tcp",
"udp",
"recv",
"until",
"logging",
"interact",
"handle",
"listen",
"connect",
"server",
"serve",
"stdio",
"process",
"gdb"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1043137314bc9bfdfc643cdc5b3ecf5184969050a0082cdd18e4745f189d779",
"md5": "1f0769189c64b4e274308852c3bbcc2e",
"sha256": "87951d8355f3fbf3d05abf8e25955191df39bda05cc2428fb755b37617ad883a"
},
"downloads": -1,
"filename": "nclib-1.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f0769189c64b4e274308852c3bbcc2e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 23738,
"upload_time": "2023-07-29T13:48:04",
"upload_time_iso_8601": "2023-07-29T13:48:04.490557Z",
"url": "https://files.pythonhosted.org/packages/c1/04/3137314bc9bfdfc643cdc5b3ecf5184969050a0082cdd18e4745f189d779/nclib-1.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ab96990e45d7160ee6bc510cdf6365001b0e60933f0ffca6765dc2b962e54969",
"md5": "03d301e0202df4edc76ed99c4309a973",
"sha256": "b0a6c84a52f984e06ed63eb359289bd878c90af12832ba9dc33806da478ca831"
},
"downloads": -1,
"filename": "nclib-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "03d301e0202df4edc76ed99c4309a973",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 21830,
"upload_time": "2023-07-29T13:48:05",
"upload_time_iso_8601": "2023-07-29T13:48:05.836516Z",
"url": "https://files.pythonhosted.org/packages/ab/96/990e45d7160ee6bc510cdf6365001b0e60933f0ffca6765dc2b962e54969/nclib-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-29 13:48:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rhelmot",
"github_project": "nclib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nclib"
}