24 projects tagged "Python Modules"
Construct is a Python library for declaratively defined data structures, called "constructs". These constructs can both parse data into an object and build an object into data. Constructs handle fields of either byte or bit granularity, structs, unions, sequences, repeaters, adapters, validators, switching, pointers, on-demand (lazy) parsing, and many more. The library defines a large number of primitive constructs, as well a large inventory of file formats and network protocols.
IPy is a Python class and tools for handling IPv4 and IPv6 addresses and networks. The IP class provides comfortable parsing and handling for most notations in use for IPv4 and IPv6 addresses and networks. It was greatly inspired by the interface of the RIPE Perl module NET::IP, but it doesn't share the implementation. It doesn't share non-CIDR netmasks, so funky stuff like a netmask of 0xffffff0f can't be done here.
LightBlue is a cross-platform Python Bluetooth API for Mac OS X, GNU/Linux, and Python For Series 60. It provides easy programmatic access to device and service discovery, RFCOMM sockets, L2CAP client sockets, sending and receiving files over OBEX, service advertising, and local device information.
MinimalModbus is an easy-to-use Python module for talking to instruments (slaves) from a computer (master) using the Modbus protocol. Example code includes drivers for Eurotherm and Omega process controllers. The only dependency is the pySerial module. This software supports the ‘Modbus RTU’ serial communication version of the protocol, and is intended for use on Linux, OS X, and Windows platforms. It has been tested with Python2.6, Python2.7, and Python3.2.
pywrat (Python Wrappers for Remote Access Tools) is a set of wrappers that can be used for accessing remote hosts. They use ssh and scp for remote shell and file system access and can be used as a generalized access method with a single configuration file for all host, user, and key setups. The wrappers are intended to simplify remote access in shell scripts, but it is also possible to use the wrapper modules directly from Python programs.
python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. Mainly, it wraps the OpenLDAP 2.3+ libs for that purpose. Additionally, the package contains modules for other LDAP-related stuff (such as processing LDIF, LDAPURLs, and LDAPv3 schema).
Scapy is a powerful interactive packet manipulation tool, packet generator, network scanner, network discovery tool, and packet sniffer. It provides classes to interactively create packets or sets of packets, manipulate them, send them over the wire, sniff other packets from the wire, match answers and replies, and more. Interaction is provided by the Python interpreter, so Python programming structures can be used (such as variables, loops, and functions). Report modules are possible and easy to make. It is intended to do about the same things as ttlscan, nmap, hping, queso, p0f, xprobe, arping, arp-sk, arpspoof, firewalk, irpas, tethereal, tcpdump, etc.
Lightweight markup languages and XML grammars for writing prose and screenplays.