This is the fourth issue of a regular series that I started to identify interesting Python modules on the Internet that were recently uploaded or updated. Today's selection includes:
- funcy 0.3.1 by Alexander Schepanovski. A very nice collection of tools to facilitate functional programming with Python. One of many such packages, to be sure, but this one looks clean, somewhat comprehensive, and certainly fun to work with. Good examples and documentation at ReadTheDocs. The "TODO" list looks just as interesting as what's in the package already.
- graphillion by Takeru Inoue. This one is quite heavy on the claims.. but looks fascinating nonetheless. Graphillion is a Python library for efficient graphset operations. Unlike existing graph tools such as NetworkX, which are designed to process just a single graph at a time, Graphilion manipulates a large set of graphs with great efficiency. The author claims it is able to process "trillions of trillions of graphs" on a single computer. The concept of a graphset is uncommon, but it comes along with any graph or network when you consider multiple subgraphs cut from an original graph; e.g., comparing possible driving paths on a road map, examining feasible electric flows on a power grid, or evaluating the structure of chemical reaction networks.
- datastore 0.3.4 by Juan Batiz-Benet. A generic layer of abstraction for data store and database access. It is a simple API with the aim to enable application development in a datastore-agnostic way, allowing datastores to be swapped seamlessly without changing application code. Thus, one can leverage different datastores with different strengths without committing the application to one datastore throughout its lifetime. In addition, grouped datastores significantly simplify interesting data access patterns (such as caching and sharding). Currently available implementations include: AWS S3, Git, mongodb, memcached, redis, and PyLRU cache. The documentation is here.
That's the good stuff for today. More to come in the next instalment. Traditionally, below are some other articles of interest: