This package implements the Louvain algorithm for community detection in C++ and exposes it to Python. Besides the relative flexibility of the implementation, it also scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The core function is find_partition which finds the optimal partition using the louvain algorithm for a number of different methods.
This package implements the Louvain algorithm for community detection in C++ and exposes it to Python. Besides the relative flexibility of the implementation, it also scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The core function is find_partition which finds the optimal partition using the louvain algorithm for a number of different methods.
LibCST parses Python source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters. LibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional Concrete Syntax Tree (CST). By carefully reorganizing and naming node types and fields, LibCST creates a lossless CST that looks and feels like an AST.
This software allows you to verify wheel filenames and parse them into their component fields.
This package adheres strictly to the standard, with the following exceptions:
Version components may be any sequence of the relevant set of characters; they are not verified for PEP 440 compliance.
The
.whlfile extension is matched case-insensitively.
The strict_rfc3339 Python module provides strict, simple, lightweight RFC3339 procedures. It enables or aims to:
Convert UNIX timestamps to and from RFC3339.
Produce RFC3339 strings with a UTC offset (Z) or with the offset that the C time module reports is the local timezone offset.
Be simple with minimal dependencies/libraries.
Avoid timezones as much as possible.
Be very strict and follow RFC3339.
Wsgi_intercept installs a WSGI application in place of a real URI for testing. Testing a WSGI application normally involves starting a server at a local host and port, then pointing your test code to that address. Instead, this library lets you intercept calls to any specific host/port combination and redirect them into a WSGI application importable by your test program. Thus, you can avoid spawning multiple processes or threads to test your Web app.
Dijitso provides a core component of the FEniCS framework, namely the just-in-time compilation of C++ code that is generated from Python modules. It is called from within a C++ library, using ctypes to import the dynamic shared library directly.
As long as the compiled code can provide a simple factory function to a class implementing a predefined C++ interface, there is no limit to the complexity of that interface. Parallel support depends on the mpi4py interface.
This library implements both server and client aspects of the the WebSocket protocol, striving for safety, correctness, and ergonomics. It is based on the wsproto project, which is a Sans-IO state machine that implements the majority of the WebSocket protocol, including framing, codecs, and events. This library handles I/O using the Trio framework.
python-beautifultable provides a class for easily printing tabular data in a visually appealing ASCII format to a terminal.
Features include, but are not limited to:
Full customization of the look and feel of the table
Row and column accessors.
Full support for colors using ANSI sequences or any library.
Plenty of predefined styles and option to create custom ones.
Support for Unicode characters.
Supports streaming table when data is slow to retrieve.
The fast-histogram mini-package aims to provide simple and fast histogram functions for regular bins that don't compromise on performance. It doesn't do anything complicated - it just implements a simple histogram algorithm in C and keeps it simple. The aim is to have functions that are fast but also robust and reliable. The result is a 1D histogram function here that is 7-15x faster than numpy.histogram, and a 2D histogram function that is 20-25x faster than numpy.histogram2d.
python-dolfin-adjoint is a solver of differential equations associated with a governing system and a functional of interest. Working from the forward model the solver automatically derives the discrete adjoint and tangent linear models. These additional models are key ingredients in many algorithms such as data assimilation, optimal control, sensitivity analysis, design optimisation and error estimation. The dolfin-adjoint project provides the necessary tools and data structures for cases where the forward model is implemented in fenics or firedrake.
Sekizai means blocks in Japanese, and that is what this app provides. A fresh look at blocks. With django-sekizai you can define placeholders where your blocks get rendered and at different places in your templates append to those blocks. This is especially useful for css and javascript. Your subtemplates can now define css and javascript files to be included, and the css will be nicely put at the top and the javascript to the bottom, just like you should. Also sekizai will ignore any duplicate content in a single block.
Object annotation mechanism
Resolving paths in the object hierarchy
Documentation at https://melpa.org/#/python-docstring
This package provides HEALPix to the Astropy project.
This library validates email address syntax and deliverability.
Documentation at https://melpa.org/#/python-view-data
This package provides a script for running Python tests.
This package provides utilities for multithreading in Click applications.
This package provides a library for accessing stubs in typeshed.
This package provides a modern skeleton for Sphinx themes.
This package provides Confluent's Python client for Apache Kafka.
This package provides a Sentry support plugin for Django Q.