logilab-common /

Filename Size Date modified Message
bin
debian
doc
test
ureports
96 B
627 B
17.6 KB
17.0 KB
24 B
187 B
3.0 KB
4.2 KB
2.1 KB
292 B
2.6 KB
8.6 KB
2.9 KB
4.2 KB
6.3 KB
6.8 KB
32.7 KB
3.0 KB
5.3 KB
2.4 KB
24.0 KB
3.6 KB
3.1 KB
14.8 KB
5.3 KB
2.2 KB
1.6 KB
5.5 KB
1.2 KB
16.4 KB
1.6 KB
3.7 KB
11.1 KB
3.0 KB
6.7 KB
96 B
5.7 KB
5.4 KB
8.6 KB
32.1 KB
36.1 KB
10.4 KB
10.0 KB
6.9 KB
3.7 KB
7.5 KB
3.4 KB
5.1 KB

Logilab's common library

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.

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 :

  • astutils: Some utilities function to manipulate Python's AST.
  • bind.py : Provides a way to optimize globals in certain functions by binding their names to values provided in a dictionnary.
  • cache.py : A cache implementation with a least recently used algorithm.
  • cli.py : Command line interface helper classes.
  • compat.py: Transparent compatibility layer between different python version (actually 2.2 vs 2.3 for now)
  • configuration.py : Two mix-in classes to handle configuration from both command line (using optik) and configuration file.
  • corbautils.py: Usefull functions for use with the OmniORB CORBA library.
  • daemon.py : A daemon mix-in class.
  • db.py : A generic method to get a database connection.
  • html.py : Return an html formatted traceback from python exception infos.
  • fileutils.py : Some file / file path manipulation utilities.
  • interface.py Bases class for interfaces.
  • logger.py : Define a logger interface and two concrete loggers : one which prints everything on stdout, the other using syslog.
  • modutils.py : Module manipulation utilities.
  • optik_ext : Add an abstraction level to transparently import optik classes from optparse (python >= 2.3) or the optik package. It also defines two new option types : regexp and csv.
  • patricia.py : A Python implementation of PATRICIA trie (Practical Algorithm to Retrieve Information Coded in Alphanumeric).
  • shellutils: Some utilities to replace shell scripts with python scripts.
  • sqlgen.py : Helper class to generate SQL strings to use with python's DB-API.
  • testlib.py : Generic tests execution methods.
  • textutils.py: Some text manipulation utilities.
  • tree.py : Base class to represent tree structure, and some others to make it works with the visitor implementation (see below).
  • ureports: Provides a way to create simple reports using python objects without care of the final formatting. Some formatters text and html are provided.
  • vcgutils.py : utilities functions to generate file readable with Georg Sander's vcg (Visualization of Compiler Graphs).
  • visitor.py : A generic visitor pattern implementation.
  • twisted_distutils.py This module enables the installation of plugins.tml files using standard distutils syntax. Note that you can use this to install files that are not twisted plugins in any package directory of your application.

If you have any questions, please mail devel@logilab.fr for support.

Sylvain Th�nault Apr 15, 2004

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.