Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

collection of low-level Python packages and modules used by Logilab projects

Project Description

What’s this ?

This package contains some modules used by different Logilab projects.

It is released under the GNU Lesser General Public License.

There is no documentation available yet but the source code should be clean and well documented.

Designed to ease:

  • handling command line options and configuration files
  • writing interactive command line tools
  • manipulation of files and character strings
  • manipulation of common structures such as graph, tree, and pattern such as visitor
  • generating text and HTML reports
  • more…

Installation

Extract the tarball, jump into the created directory and run

python setup.py install

For installation options, see

python setup.py install --help

Provided modules

Here is a brief description of the available modules.

Modules providing high-level features

  • cache, a cache implementation with a least recently used algorithm.
  • changelog, a tiny library to manipulate our simplified ChangeLog file format.
  • clcommands, high-level classes to define command line programs handling different subcommands. It is based on configuration to get easy command line / configuration file handling.
  • configuration, some classes to handle unified configuration from both command line (using optparse) and configuration file (using ConfigParser).
  • proc, interface to Linux /proc.
  • umessage, unicode email support.
  • ureports, micro-reports, a way to create simple reports using python objects without care of the final formatting. ReST and html formatters are provided.

Modules providing low-level functions and structures

  • compat, provides a transparent compatibility layer between different python versions.
  • date, a set of date manipulation functions.
  • daemon, a daemon function and mix-in class to properly start an Unix daemon process.
  • decorators, function decorators such as cached, timed…
  • deprecation, decorator, metaclass & all to mark functions / classes as deprecated or moved
  • fileutils, some file / file path manipulation utilities.
  • graph, graph manipulations functions such as cycle detection, bases for dot file generation.
  • modutils, python module manipulation functions.
  • shellutils, some powerful shell like functions to replace shell scripts with python scripts.
  • tasksqueue, a prioritized tasks queue implementation.
  • textutils, some text manipulation functions (ansi colorization, line wrapping, rest support…).
  • tree, base class to represent tree structure, and some others to make it works with the visitor implementation (see below).
  • visitor, a generic visitor pattern implementation.

Modules extending some standard modules

  • debugger, pdb customization.
  • logging_ext, extensions to logging module such as a colorized formatter and an easier initialization function.
  • optik_ext, defines some new option types (regexp, csv, color, date, etc.) for optik / optparse

Modules extending some external modules

  • sphinx_ext, Sphinx plugin defining a autodocstring directive.
  • vcgutils , utilities functions to generate file readable with Georg Sander’s vcg tool (Visualization of Compiler Graphs).

To be deprecated modules

Those logilab.common modules will much probably be deprecated in future versions:

  • testlib: use unittest2 instead
  • interface: use zope.interface if you really want this
  • table, xmlutils: is that used?
  • sphinxutils: we won’t go that way imo (i == syt)

Comments, support, bug reports

Project page https://www.logilab.org/project/logilab-common

Use the python-projects@lists.logilab.org mailing list.

You can subscribe to this mailing list at https://lists.logilab.org/mailman/listinfo/python-projects

Archives are available at https://lists.logilab.org/pipermail/python-projects/

Release History

Release History

This version
History Node

1.4.1

History Node

1.4.0

History Node

1.3.0

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.63.2

History Node

0.63.1

History Node

0.63.0

History Node

0.62.1

History Node

0.62.0

History Node

0.61.0

History Node

0.60.1

History Node

0.60.0

History Node

0.59.1

History Node

0.59.0

History Node

0.58.3

History Node

0.58.1

History Node

0.57.1

History Node

0.57.0

History Node

0.56.2

History Node

0.56.1

History Node

0.56.0

History Node

0.55.2

History Node

0.55.0

History Node

0.54.0

History Node

0.53.0

History Node

0.52.1

History Node

0.52.0

History Node

0.51.1

History Node

0.51.0

History Node

0.50.3

History Node

0.50.2

History Node

0.50.1

History Node

0.50.0

History Node

0.49.0

History Node

0.48.1

History Node

0.47.0

History Node

0.46.1

History Node

0.46.0

History Node

0.44.0

History Node

0.43.0

History Node

0.39.0

History Node

0.38.1

History Node

0.38.0

History Node

0.28.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
logilab-common-1.4.1.tar.gz (185.2 kB) Copy SHA256 Checksum SHA256 Source Jul 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting