Skip to main content

Foundation library for SoftwareFabrica projects

Project description

Python sflib
============

A library of (hopefully) useful python modules.

SoftwareFabrica sflib is a library of (hopefully) useful python modules. It
provides support for object-oriented HTML generation, an ultra-simple DOM
library, graph classes and algorithms, object-oriented Patterns, and more.

Your help and feedback is precious. Please get in touch with us for your
suggestions.

If you want to actively collaborate and provide code, documentation, tests or
bug fixes, please feel free to create a new Bazaar branch in Launchpad, and tell
us about it! See the collaboration_ section for more information.


*Marco Pantaleoni*

.. contents::

.. _installation:

INSTALLATION
------------

You can download and install the most up-to-date version in one step
using EasyInstall_. For example, on a unix-like system:

::

$ su
# easy_install sflib

If you are using Ubuntu, to install system-wide:

::

$ sudo easy_install sflib

Otherwise you can just download the source package (eg. from PyPI_),
extract it and run the usual ``setup.py`` commands:

::

$ su
# python setup.py install

.. _EasyInstall: http://peak.telecommunity.com/DevCenter/EasyInstall
.. _PyPI: http://pypi.python.org/pypi

.. _download:

DOWNLOAD
--------

If you don't want or cannot install using EasyInstall_, download the
package from Cheese Shop:

http://pypi.python.org/pypi/sflib/

http://cheeseshop.python.org/pypi/sflib/

In a future, it will be possible to download also from:

http://www.softwarefabrica.org/projects/sflib/


.. _documentation:

DOCUMENTATION
-------------

Documentation is included in the form of *docstrings*, inside the library source
code.

For some advanced examples, please see also the included automatic tests.

.. _collaboration:

COLLABORATION
-------------

As said, your help is precious. We'll warmly appreciate any help you'll want to
give. Just using this library is a reward for us, but if you want to become more
actively involved, tell us!

The project has a `development home page`_ at `LaunchPad`_:

https://launchpad.net/sflib

There you can file `bugs`_, follow development or ask to become an active team
member.

You can checkout the development branch using `Bazaar`_:

::

bzr branch lp:sflib

We'll appreciate very much if you'll want to contribute back any changes. Just
register your branch with `LaunchPad`_ and tell us!

Source code can also be browsed `online`_.

.. _`development home page`: https://launchpad.net/sflib
.. _`bugs`: https://bugs.launchpad.net/sflib
.. _`LaunchPad`: http://launchpad.net
.. _`Bazaar`: http://bazaar-vcs.org/
.. _`online`: http://bazaar.launchpad.net/~softwarefabrica/sflib/trunk/changes

.. _contacts:

CONTACTS
--------

It's possible to contact the team by e-mail at the following address:

team at softwarefabrica.it

It's possible to contact the author by e-mail at the following addresses:

m.pantaleoni at softwarefabrica.org

panta at elasticworld.org

marco.pantaleoni at gmail.com


.. _license:

LICENSE
-------

This software is covered by the GNU General Public License version 2.
If you want to use this software in a closed source application, you
need to buy a commercial license from the author.

This open source version is:

Copyright (C) 2007-2008 Marco Pantaleoni. All rights reserved.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


CHANGES
-------

2009-02-24 Marco Pantaleoni <panta@elasticworld.org>

* daemonize.py lockfile.py: added.

2009-01-08 Marco Pantaleoni <panta@elasticworld.org>

* dictclass.py: added.

2008-12-17 Marco Pantaleoni <panta@elasticworld.org>

* setup.py: fix for python 2.6

* sflib/version.py (get_bzr_info_cached): safer and more correct
handling of bzrcachedrev loading.

2008-12-11 Marco Pantaleoni <panta@elasticworld.org>

* README.txt: updated with launchpad info.

2008-11-24 Marco Pantaleoni <panta@elasticworld.org>

* sflib/version.py (get_version_setuptools): use '-' instead of
'_'.
Made get_version() and get_version_setuptools() more generic.

* Improved setuptools versioning.

2008-11-20 Marco Pantaleoni <panta@elasticworld.org>

* integrated nose testing framework.

* README.txt: added installation instructions.

* removed ez_setup.py and setuptools bootstrapping since it seemed
to cause problems with virtualenv.

* changed directory layout, to allow easy packaging.

* integrated setuptools support.

2008-11-19 Marco Pantaleoni <panta@elasticworld.org>

* udom: added - a micro DOM library.

* delegate.py: added - a modern delegate pattern library.

* fileconf: added - this is a flexible configuration
file support library.

2008-06-12 Marco Pantaleoni <panta@elasticworld.org>

* ps.py: added (library to handle/access processes using /proc).

* dictclass.py: added ("a base class that acts like a
dictionary, but saves to instance variables.")

2008-04-26 Marco Pantaleoni <panta@elasticworld.org>

* html.py: renamed getElementName() into getElementTagName().

2008-04-25 Marco Pantaleoni <panta@elasticworld.org>

* html.py: added some DOM navigation functions.

2008-04-06 Marco Pantaleoni <panta@elasticworld.org>

* visitor.py: implemented fallback operations.

2008-04-05 Marco Pantaleoni <panta@elasticworld.org>

* html.py: made fieldset and legend line entities.

* visitor.py: added. This implements a modern version of the
visitor pattern.

2008-04-02 Marco Pantaleoni <panta@elasticworld.org>

* html.py: added output indentation.

2008-03-09 Marco Pantaleoni <panta@elasticworld.org>

* aviation.py: implemented and added.
Added lat_hms, lon_hms keyword construction to Point.

2008-03-07 Marco Pantaleoni <panta@elasticworld.org>

* html.py: added empty tags class generation.
Added COMMENT().
Added some tests.

* added graph and queues.

* html.py: Created.

* Created.

Project details


Download files

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

Source Distribution

Built Distributions

File details

Details for the file sflib-1.0dev-BZR-r39-panta-elasticworld.org-20090225205004-k1t3ax25kpi8qem6.tar.gz.

File metadata

File hashes

Hashes for sflib-1.0dev-BZR-r39-panta-elasticworld.org-20090225205004-k1t3ax25kpi8qem6.tar.gz
Algorithm Hash digest
SHA256 a4043ff2861ea7a0ff006a09d2ecc5c84dece4842ef035681a8e8bd51a1350f1
MD5 248bfe01dfa7a96b1dcf32b278e9dfae
BLAKE2b-256 3321094b6007efcdca38dcc31e8a8954f77996c72bdc80573ce2fbd8ea10e1d7

See more details on using hashes here.

File details

Details for the file sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.6.egg.

File metadata

File hashes

Hashes for sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.6.egg
Algorithm Hash digest
SHA256 37a7efb5f1524f9f4d35e7df91a7a916f595a731983e08d999ff65dc8c094995
MD5 d3c933c8804ce704eabf35fadfec93ff
BLAKE2b-256 3203faf69bcd0f23cc823b847d9ceaca00a4dcd9057e9d4a7a139845dee73f80

See more details on using hashes here.

File details

Details for the file sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.5.egg.

File metadata

File hashes

Hashes for sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.5.egg
Algorithm Hash digest
SHA256 bfbc76843575985913bf598025e12454ef91ee5003970ca314df90d2c2a25f33
MD5 37d3aa6df18974b744bdc248e2a38706
BLAKE2b-256 9921f2625749247841fb010e6206a521b55310ffad3091c962b89664ca88c6d7

See more details on using hashes here.

File details

Details for the file sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.4.egg.

File metadata

File hashes

Hashes for sflib-1.0dev_BZR_r39_panta_elasticworld.org_20090225205004_k1t3ax25kpi8qem6-py2.4.egg
Algorithm Hash digest
SHA256 fba60328c840394f8a65674104a820c979a5d1cd6f0d9e3d53b33d8ecd1a18f0
MD5 d121d32a1260c8e45d4ac791b832f141
BLAKE2b-256 72a5dca0031b15ced1c3f57e1c5f62a92613b341c49344810c55c0958a9c9c81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page