Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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

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

Metadata

Release files for sflib 1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102

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

Source distribution (sdist)

Source distribution for sflib 1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102
File Size Uploaded Provenance
sflib-1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102.tar.gz 31.8 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for sflib 1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102
File Interpreter ABI Platform
sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.5.egg Legacy Egg format - - Details
sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.4.egg Legacy Egg format - - Details

Total release size: 165.0 kB

Release files / sflib-1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102.tar.gz

Download URL sflib-1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b2c03e81dd4d35d2193203b920463d1f1ed1f369a584c969e5c4997407519dbc
BLAKE2b-256 checksum
How to use checksums
7ae99fdaf4c6128f7e595e384cacc78bc3d9e7089997ee826900197f22781ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.5.egg

Download URL sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.5.egg
Size 66.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
f9068132bdce242b0bb47df167d5969595b22e63e2d6b3b243a940b1769f9e96
BLAKE2b-256 checksum
How to use checksums
22ce2be5329edde7d37bfbd1f0fe1914199a4d3042ef0283be7dfc660b6819eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.4.egg

Download URL sflib-1.0dev_BZR_r35_panta_elasticworld.org_20081217105838_wg2o50uwu3sj5102-py2.4.egg
Size 66.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
03c6e9975e5f5c0dafdc7c135a8e8f7653e499797d7b87977013ad88a8a5d282
BLAKE2b-256 checksum
How to use checksums
cc5fbf75c839efec7b52ba9199b26721e51a6fb6cf569c72ec38fba9206af69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sflib 1.0dev-BZR-r35-panta-elasticworld.org-20081217105838-wg2o50uwu3sj5102

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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