emu.qmp
is a QEMU Monitor Protocol (QMP) library written in Python. It is used to send QMP messages to running QEMU emulators. It can be used to communicate with QEMU emulators, the QEMU Guest Agent (QGA), the QEMU Storage Daemon (QSD), or any other utility or application that speaks QMP.
M2Crypto
is a complete Python wrapper for OpenSSL featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers (including AES); TLS functionality to implement clients and servers; HTTPS extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web session management; FTP/TLS client and server; S/MIME; M2Crypto can also be used to provide TLS for Twisted. Smartcards supported through the Engine interface.
This package provides a Python module and framework for sans-io socks proxy client/server with couple io backends.
Features:
Only TCP connect (no BIND, no UDP)
Both client and server
SOCKS versions: 4, 4a, 5
SOCKSv5 auth: no auth, username/password
Couple io backends:
asyncio
,trio
,socketserver
One-shot socks server (
python -m siosocks
)
Icegrams is a Python package that encapsulates a large trigram library for Icelandic. You can use Icegrams to obtain probabilities (relative frequencies) of over a million different unigrams (single words or tokens), or of bigrams (pairs of two words or tokens), or of trigrams. Icegrams is useful for instance in spelling correction, predictive typing, to help disabled people write text fast, and for various text generation, statistics, and modeling tasks.
BLAKE2 is a cryptographic hash function, which offers stronger security while being as fast as MD5 or SHA-1, and comes in two flavors: BLAKE2b
, optimized for 64-bit platforms and produces digests of any size between 1 and 64 bytes, and BLAKE2s
, optimized for 8- to 32-bit platforms and produces digests of any size between 1 and 32 bytes.
This package provides a Python interface for BLAKE2.
The Qt for Python product enables the use of Qt5 APIs in Python applications. It lets Python developers utilize the full potential of Qt, using the PySide2 module. The PySide2 module provides access to the individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also comes with the Shiboken2 CPython binding code generator, which can be used to generate Python bindings for your C or C++ code.
The Qt for Python product enables the use of Qt6 APIs in Python applications. It lets Python developers utilize the full potential of Qt, using the PySide6 module. The PySide6 module provides access to the individual Qt modules such as QtCore, QtGui,and so on. Qt for Python also comes with the Shiboken6 CPython binding code generator, which can be used to generate Python bindings for your C or C++ code.
The Intel HEX file format is widely used in microprocessors and microcontrollers area (embedded systems etc.) as the de facto standard for representation of code to be programmed into microelectronic devices. This package provides an intelhex Python library to read, write, create from scratch and manipulate data from Intel HEX file format. It also includes several convenience Python scripts, including "classic" hex2bin and bin2hex converters and more, those based on the library itself.
This Python module provides line editing functions similar to the default Emacs-style ones of GNU Readline. Unlike the Python standard library's readline
package, this one allows access to those capabilities in settings outside of a standard command-line interface. It is especially well-suited to interfacing with Urwid, due to a shared syntax for describing key inputs.
Currently, all stateless Readline commands are implemented. Yanking and history are not supported.
ModernGL is a python wrapper over OpenGL 3.3+ core that simplifies the creation of simple graphics applications like scientific simulations, games or user interfaces. Usually, acquiring in-depth knowledge of OpenGL requires a steep learning curve. In contrast, ModernGL is easy to learn and use, moreover it is capable of rendering with high performance and quality, with less code written. The majority of the moderngl code base is also written in C++ for high performance.
python-pypubsub
provides a pure Python publish-subscribe API to facilitate event-based or message-based architecture in a single-process application. It is centered on the notion of a topic; senders publish messages of a given topic, and listeners subscribe to messages of a given topic, all inside the same process. The package also supports a variety of advanced features that facilitate debugging and maintaining topics and messages in larger desktop or server-based applications.
This package provides a Python wrapper around libevdev
, taking advantage of libevdev
's advanced event handling. Documentation is available at https://python-libevdev.readthedocs.io/en/latest/. libevdev
makes it easy to:
read and parse events from an input device;
create a virtual input device and make it send events;
duplicate an existing device and modify the event stream.
For information about libevdev, see: https://freedesktop.org/wiki/Software/libevdev/.
Provides a publish-subscribe API to facilitate event-based or message-based architecture in a single-process application. It is pure Python and works on Python 3.3+. It is centered on the notion of a topic; senders publish messages of a given topic, and listeners subscribe to messages of a given topic, all inside the same process. The package also supports a variety of advanced features that facilitate debugging and maintaining topics and messages in larger desktop- or server-based applications.
Überzug is a command line util which draws images on terminals by using child windows. The advantages of using Überzug are:
No race conditions as a new window is created to display images.
Expose events will be processed, so images will be redrawn on switch workspaces.
Tmux support (excluding multi pane windows).
Terminals without the WINDOWID environment variable are supported.
Chars are used as position - and size unit.
No memory leak (/ unlimited cache).
Autograd can automatically differentiate native Python and NumPy code. It can handle a large subset of Python's features, including loops, ifs, recursion and closures, and it can even take derivatives of derivatives of derivatives. It supports reverse-mode differentiation (a.k.a. backpropagation), which means it can efficiently take gradients of scalar-valued functions with respect to array-valued arguments, as well as forward-mode differentiation, and the two can be composed arbitrarily. The main intended application of Autograd is gradient-based optimization.
Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it. It uses epoll
or libevent
for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet
from the Python interpreter, or as a small part of a larger application.
This package contains a Python module that forms the core of audit2allow
, a part of the package policycoreutils
. The sepolgen library contains: Reference Policy Representation, which are Objects for representing policies and the reference policy interfaces. It has objects and algorithms for representing access and sets of access in an abstract way and searching that access. It also has a parser for reference policy "headers". It contains infrastructure for parsing SELinux related messages as produced by the audit system. It has facilities for generating policy based on required access.
DIRECT is a method to solve global bound constraint optimization problems and was originally developed by D. R. Jones, C. D. Perttunen and B. E. Stuckmann. pydirect
is a python wrapper around DIRECT. It enables using DIRECT from the comfort of the great Python scripting language. The pydirect
package uses the fortan implementation of DIRECT written by Joerg.M.Gablonsky, DIRECT Version 2.0.4. More information on the DIRECT algorithm can be found in Gablonsky's thesis.
This package provides an object type which efficiently represents an array of booleans. Bitarrays are sequence types and behave very much like usual lists. Eight bits are represented by one byte in a contiguous block of memory. The user can select between two representations: little-endian and big-endian. All of the functionality is implemented in C. Methods for accessing the machine representation are provided. This can be useful when bit level access to binary files is required, such as portable bitmap image files. Also, when dealing with compressed data which uses variable bit length encoding, you may find this module useful.
This package provides a Python library intended for use in automated tests. One difficulty when testing software is that the code under test might need to read or write to files in the local file system. If the file system is not set up in just the right way, it might cause a spurious error during the test. The pyfakefs library provides a solution to problems like this by mocking file system interactions. In other words, it arranges for the code under test to interact with a fake file system instead of the real file system. The code under test requires no modification to work with pyfakefs.
Pingouin is a statistical package written in Python 3 and based mostly on Pandas and NumPy. Its features include
ANOVAs: N-ways, repeated measures, mixed, ancova
Pairwise post-hocs tests (parametric and non-parametric) and pairwise correlations
Robust, partial, distance and repeated measures correlations
Linear/logistic regression and mediation analysis
Bayes Factors
Multivariate tests
Reliability and consistency
Effect sizes and power analysis
Parametric/bootstrapped confidence intervals around an effect size or a correlation coefficient
Circular statistics
Chi-squared tests
Plotting: Bland-Altman plot, Q-Q plot, paired plot, robust correlation, and more
Pymodbus is a full Modbus protocol implementation using asyncio
, tornado
or twisted
for its asynchronous communications core. It includes the following client features:
full read/write protocol on discrete and register
most of the extended protocol (diagnostic/file/pipe/setting/information)
TCP, UDP, Serial ASCII, Serial RTU, and Serial Binary
asynchronous and synchronous versions
payload builder/decoder utilities
pymodbus read eval print loop (REPL).
It also includes the following server features:
can function as a fully implemented Modbus server
TCP, UDP, Serial ASCII, Serial RTU, and Serial Binary
asynchronous and synchronous versions
full server control context (device information, counters, etc)
a number of backing contexts (database, redis, sqlite, a slave device).
Grandalf is a Python package made for experimentations with graphs drawing algorithms. It is written in pure Python, and currently implements two layouts: the Sugiyama hierarchical layout and the force-driven or energy minimization approach. While not as fast or featured as graphviz or other libraries like OGDF (C++), it provides a way to walk and draw graphs no larger than thousands of nodes, while keeping the source code simple enough to tweak and hack any part of it for experimental purpose. With a total of about 1500 lines of Python, the code involved in drawing the Sugiyama (dot) layout fits in less than 600 lines. The energy minimization approach is comprised of only 250 lines!
Grandalf does only 2 not-so-simple things:
computing the nodes (x,y) coordinates (based on provided nodes dimensions, and a chosen layout)
routing the edges with lines or nurbs
It doesn’t depend on any GTK/Qt/whatever graphics toolkit. This means that it will help you find where to draw things like nodes and edges, but it’s up to you to actually draw things with your favorite toolkit.
Morfessor