adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
|
|
@ -0,0 +1,153 @@
|
|||
Logilab's common library
|
||||
========================
|
||||
|
||||
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
|
||||
* `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)
|
||||
|
||||
|
||||
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/
|
||||
|
||||
|
||||
.. _Sphinx: http://sphinx.pocoo.org/
|
||||
.. _`unittest2`: http://pypi.python.org/pypi/unittest2
|
||||
.. _`discover`: http://pypi.python.org/pypi/discover
|
||||
.. _`zope.interface`: http://pypi.python.org/pypi/zope.interface
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
Metadata-Version: 2.0
|
||||
Name: logilab-common
|
||||
Version: 1.0.2
|
||||
Summary: collection of low-level Python packages and modules used by Logilab projects
|
||||
Home-page: http://www.logilab.org/project/logilab-common
|
||||
Author: Logilab
|
||||
Author-email: contact@logilab.fr
|
||||
License: LGPL
|
||||
Platform: UNKNOWN
|
||||
Classifier: Topic :: Utilities
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Requires-Dist: setuptools
|
||||
Requires-Dist: six (>=1.4.0)
|
||||
|
||||
Logilab's common library
|
||||
========================
|
||||
|
||||
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
|
||||
* `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)
|
||||
|
||||
|
||||
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/
|
||||
|
||||
|
||||
.. _Sphinx: http://sphinx.pocoo.org/
|
||||
.. _`unittest2`: http://pypi.python.org/pypi/unittest2
|
||||
.. _`discover`: http://pypi.python.org/pypi/discover
|
||||
.. _`zope.interface`: http://pypi.python.org/pypi/zope.interface
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
logilab_common-1.0.2-py2.7-nspkg.pth,sha256=ZY-Jf8tK2WQu_mjLvZuFpvpX9uwdpX3yDS1AuRncCZA,308
|
||||
logilab/common/__init__.py,sha256=UiR9rv7f7WsAnIHsxa3UApVCJGTzXbZoC-c4EQJpcvg,5390
|
||||
logilab/common/cache.py,sha256=wmY87WSoyERDhAlfIKKUipYavlZPpm3sGAQMpzbDHTM,3621
|
||||
logilab/common/changelog.py,sha256=Ea_4j22rWJJ33VSCj4Lz0pBGP0wP7LMP2Zo4DR7iZIo,8075
|
||||
logilab/common/clcommands.py,sha256=abMNAsB6ADT7Ns5MsxNtAMOlTQGJLCMO9MUkNYdsVG8,11237
|
||||
logilab/common/compat.py,sha256=rMGytWS1DCo35MdKUocU1LfLbZA0RyK79Gyu7lvd6Rg,2593
|
||||
logilab/common/configuration.py,sha256=s4rg7Qa1_4bpWlTg-bEaHYUcrgvuoDt75ZJgRnlFsME,42160
|
||||
logilab/common/daemon.py,sha256=Eqwo_oKjrHtS9SLrtSfeghRTCjqvveGho43s7vMkd7A,3337
|
||||
logilab/common/date.py,sha256=nnUN-4onEaWSR8r4PvtmJyn5ukfFzasjEcOGzEdrvqQ,11230
|
||||
logilab/common/debugger.py,sha256=Bw2-yI9KrvSgPLDksda4F8nuK_DvxnSCS-ymPSVc778,7094
|
||||
logilab/common/decorators.py,sha256=4DD3iNgEQPVz5hPp-SbbgD-ZObXhaeazGqKleyHdXaw,8868
|
||||
logilab/common/deprecation.py,sha256=MAxc_Ds9H_j6C7d4VQqMQPB1j-Ib8vy7iBWoQa8aRHs,7417
|
||||
logilab/common/fileutils.py,sha256=kCk_8odmAKnYPHPhUruuV-6og8N9kT8fplV-pvwwd4A,12738
|
||||
logilab/common/graph.py,sha256=GTSN-kP40EHjnHXk1vxO-56rEszo-esu1S3hf-SOddw,10247
|
||||
logilab/common/interface.py,sha256=dXl6kiuXSpefxauu7J6CUv0soe09wjT4_vXbeWQFgJ8,2593
|
||||
logilab/common/logging_ext.py,sha256=Yi8k2fGqr_tt-YApT1JjroNpXETxfj84HKmgTgO22Nw,6975
|
||||
logilab/common/modutils.py,sha256=w2LVy_vzhGoyBRrKivx0hqx8n326KrtTUezelEwDAcc,24002
|
||||
logilab/common/optik_ext.py,sha256=_aZgWKTKCC8_vYIpstNCOk8wewwZ4jfrpvXWrmPzn5Y,13451
|
||||
logilab/common/optparser.py,sha256=QgDoAyVoRy7U1fG9BSZ0O7LQsyNayo1HAelZaKlb4kY,3386
|
||||
logilab/common/proc.py,sha256=RGMlPuc11FfrIsqzqNFO3Q6buqt8dvMwXfXKXfwAHks,9352
|
||||
logilab/common/pytest.py,sha256=ac7hVpAb06TstSjPV586h1wW21Y__XH5bjrwX55dDOE,46736
|
||||
logilab/common/registry.py,sha256=0qIJfNJiqM1HkI-twKHfXiTPU5HKSGRrS-P0Dsj56qw,41550
|
||||
logilab/common/shellutils.py,sha256=ZFZ19eX0TCcDrsbOWiy7sr1oqnhQsLixv9n8HakcJiM,14363
|
||||
logilab/common/sphinx_ext.py,sha256=pbKN0ObMDY_jy9ehP_7NOKMo40LbQLjf0xntmxHnGr8,3329
|
||||
logilab/common/sphinxutils.py,sha256=piY1R04GNR-i1mIb4PRhbGbmbDZPhDsn1FBAiA_Bbrg,4444
|
||||
logilab/common/table.py,sha256=5NEx4Ju-jk2CV6W-jxTpOoYArt2BlRpaTZZUBGwu1kg,31408
|
||||
logilab/common/tasksqueue.py,sha256=wFE0C0FiuHGBoCnvU-_Kno1eM_Em6yYxYvND6emRN34,2987
|
||||
logilab/common/testlib.py,sha256=2Ra9OPs5QpQv7hoZod3M2yYCUdtqSaN3LAvVyiQyA1k,50506
|
||||
logilab/common/textutils.py,sha256=TgPGqkN3JsJuR7VxnkoWaOWfkwHiVNB9gpId_3S2xO4,17277
|
||||
logilab/common/tree.py,sha256=Y-sa_pfI17cCb-vkyJMaBW3XKVNrreexBgBMPpQJDy0,10606
|
||||
logilab/common/umessage.py,sha256=2BuxspHkPEXhlf-XVDye25Mt0RUELneay-K1KNLcS9c,6551
|
||||
logilab/common/urllib2ext.py,sha256=FOpxVrbAPtY_6ssq3Qui3zxzckAqLJe9kGkp8tLR0Ic,3416
|
||||
logilab/common/vcgutils.py,sha256=tNfi6jxZ4xdUvrjw1cKOodecRlcD0U3MQvTb5HrY5fE,7673
|
||||
logilab/common/visitor.py,sha256=5Oc9Y88Kx4wiZ6JAFYFeXwKrMS8jNph9ENVWG3oim1E,3444
|
||||
logilab/common/xmlutils.py,sha256=2e4FM-X1PLKBaTG6etLHsAIrtZQiDEA9U7WqM3KjNks,2273
|
||||
logilab/common/ureports/__init__.py,sha256=b3_8f4mAm6T3O_-klutleWZ99XjlR-AELfuLEyCbzQ8,6113
|
||||
logilab/common/ureports/docbook_writer.py,sha256=KSkIk0W4C4E6DR-Ul_Y9jgnd4_tgVVu15LnU8p2RoeM,5706
|
||||
logilab/common/ureports/html_writer.py,sha256=Ee_x9rXjx2NZp290e-0C7nu7VYuKpkCsrl79m4HLI5g,4956
|
||||
logilab/common/ureports/nodes.py,sha256=t2NQiL6LQV94D8ugitklVnZRVbz6kP5QkUrl8zGsmMQ,5838
|
||||
logilab/common/ureports/text_writer.py,sha256=cMBHbA36_1NrKKnx5LBKczGQmBRg4aObkpr1d581ORU,5212
|
||||
../../bin/pytest,sha256=vkYcOC21mDzGBrz4-ajilr8TGxa9tRabxQhyYyXeEDE,124
|
||||
logilab_common-1.0.2.dist-info/DESCRIPTION.rst,sha256=bMLyPRBRS-tSzW5zhchxcLlPbYHRv0XEMqs6Oln2z5U,4426
|
||||
logilab_common-1.0.2.dist-info/METADATA,sha256=3_iFYhN84fXSjkdjzHv3grHBY2xIZVLSkmuBeTSnLQE,4934
|
||||
logilab_common-1.0.2.dist-info/metadata.json,sha256=dTwpZUieC7dZFkKiNdtgVExm2w1B44k4ZDSaCP3ASXo,742
|
||||
logilab_common-1.0.2.dist-info/namespace_packages.txt,sha256=xXemaIbd-285ANf3yiCDkMHRTZSuLvlqL_MTLEJKMuk,8
|
||||
logilab_common-1.0.2.dist-info/RECORD,,
|
||||
logilab_common-1.0.2.dist-info/top_level.txt,sha256=xXemaIbd-285ANf3yiCDkMHRTZSuLvlqL_MTLEJKMuk,8
|
||||
logilab_common-1.0.2.dist-info/WHEEL,sha256=54bVun1KfEBTJ68SHUmbxNPj80VxlQ0sHi4gZdGZXEY,92
|
||||
logilab/common/logging_ext.pyc,,
|
||||
logilab/common/date.pyc,,
|
||||
logilab/common/modutils.pyc,,
|
||||
logilab/common/ureports/__init__.pyc,,
|
||||
logilab/common/sphinxutils.pyc,,
|
||||
logilab/common/ureports/text_writer.pyc,,
|
||||
logilab/common/optik_ext.pyc,,
|
||||
logilab/common/visitor.pyc,,
|
||||
logilab/common/debugger.pyc,,
|
||||
logilab/common/compat.pyc,,
|
||||
logilab/common/decorators.pyc,,
|
||||
logilab/common/textutils.pyc,,
|
||||
logilab/common/ureports/docbook_writer.pyc,,
|
||||
logilab/common/shellutils.pyc,,
|
||||
logilab/common/changelog.pyc,,
|
||||
logilab/common/interface.pyc,,
|
||||
logilab/common/ureports/nodes.pyc,,
|
||||
logilab/common/pytest.pyc,,
|
||||
logilab/common/sphinx_ext.pyc,,
|
||||
logilab/common/xmlutils.pyc,,
|
||||
logilab/common/__init__.pyc,,
|
||||
logilab/common/tree.pyc,,
|
||||
logilab/common/umessage.pyc,,
|
||||
logilab/common/registry.pyc,,
|
||||
logilab/common/proc.pyc,,
|
||||
logilab/common/urllib2ext.pyc,,
|
||||
logilab/common/testlib.pyc,,
|
||||
logilab/common/clcommands.pyc,,
|
||||
logilab/common/ureports/html_writer.pyc,,
|
||||
logilab/common/vcgutils.pyc,,
|
||||
logilab/common/daemon.pyc,,
|
||||
logilab/common/table.pyc,,
|
||||
logilab/common/optparser.pyc,,
|
||||
logilab/common/deprecation.pyc,,
|
||||
logilab/common/tasksqueue.pyc,,
|
||||
logilab/common/fileutils.pyc,,
|
||||
logilab/common/graph.pyc,,
|
||||
logilab/common/cache.pyc,,
|
||||
logilab/common/configuration.pyc,,
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.24.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py2-none-any
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"license": "LGPL", "name": "logilab-common", "metadata_version": "2.0", "generator": "bdist_wheel (0.24.0)", "test_requires": [{"requires": ["pytz"]}], "summary": "collection of low-level Python packages and modules used by Logilab projects", "run_requires": [{"requires": ["setuptools", "six (>=1.4.0)"]}], "version": "1.0.2", "extensions": {"python.details": {"project_urls": {"Home": "http://www.logilab.org/project/logilab-common"}, "document_names": {"description": "DESCRIPTION.rst"}, "contacts": [{"role": "author", "email": "contact@logilab.fr", "name": "Logilab"}]}}, "classifiers": ["Topic :: Utilities", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3"], "extras": []}
|
||||
|
|
@ -0,0 +1 @@
|
|||
logilab
|
||||
|
|
@ -0,0 +1 @@
|
|||
logilab
|
||||
Loading…
Add table
Add a link
Reference in a new issue