Skip to main content

What’s this ?

This package contains some modules used by differents Logilab’s projects.

It is released under the GNU 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

  • accessing some external libraries such as OmniORB, Pyro

  • 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.

  • cli, a base class for interactive programs using the command line.

  • configuration, some classes to handle unified configuration from both command line (using optparse) and configuration file (using ConfigParser).

  • dbf, read Visual Fox Pro DBF files.

  • 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

  • xmlrpcutils, auth support for XML-RPC

Modules extending some external modules

  • corbautils, useful functions for use with the OmniORB CORBA library.

  • hg, some Mercurial utility functions.

  • pdf_ext, pdf and fdf file manipulations, with pdftk.

  • pyro_ext, some Pyro utility functions.

  • 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

  • pytest: use discover 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)

Deprecated modules

Those logilab.common modules are only there for backward compatibility. They can go away at anytime.

  • optparser: use clcommands instead

  • adbh, db, sqlgen: see logilab.database instead

  • contexts: content move to shellutils

  • html: deprecated without replacement

Comments, support, bug reports

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

Use the python-projects@lists.logilab.org mailing list. Since we do not have publicly available bug tracker yet, bug reports should be emailed there too.

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

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

Release files for logilab-common 0.55.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logilab-common 0.55.0
File Size Uploaded
logilab-common-0.55.0.tar.gz 174.3 kB Details

Release files / logilab-common-0.55.0.tar.gz

Download URL logilab-common-0.55.0.tar.gz
Size 174.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8d8818abb2657910b38a40ccbdfab9f38f165c59f2c1c47fedc305bece0c0e90
BLAKE2b-256 checksum
How to use checksums
d84fb4bffa403a1f3cb518b92070837f378b12c96fbc60c576d5885184ed6de3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.1.0

2 release files

2.0.0

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.8

2 release files

1.9.7

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

1 release file

1.7.3

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.4

1 release file

1.6.3

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6.0

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.63.2

1 release file

0.63.1

1 release file

0.63.0

1 release file

0.62.1

1 release file

0.62.0

1 release file

0.61.0

1 release file

0.60.1

1 release file

0.60.0

1 release file

0.59.1

1 release file

0.59.0

1 release file

0.58.3

1 release file

0.58.1

1 release file

0.57.1

1 release file

0.57.0

1 release file

0.56.2

1 release file

0.56.1

1 release file

0.56.0

1 release file

0.55.2

1 release file

This release

0.55.0 This release

1 release file

0.54.0

1 release file

0.53.0

1 release file

0.52.1

1 release file

0.52.0

1 release file

0.51.1

1 release file

0.51.0

1 release file

0.50.3

1 release file

0.50.2

1 release file

0.50.1

1 release file

0.50.0

1 release file

0.49.0

1 release file

0.48.1

1 release file

0.47.0

1 release file

0.46.1

1 release file

0.46.0

1 release file

0.44.0

1 release file

0.43.0

1 release file

0.39.0

1 release file

0.38.1

1 release file

0.38.0

0.28.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page