semvec/pypi-packages huggingface dataset:
vudo.skinsetup 0.1
Package which provides API and scripts to manage a skin directory of a VUDO app.
License: BSD
Keywords: wsgi web bfg repoze vudo

Introduction
============


This package provides an light-weight API for ``vudo`` packages which provide
user-changeable skins.  These packages may advertise their skin directory using
``setuptools entry points``.

Additionally, this package provides a script to manage the skin directory of a
``vudo`` project in a convenient way.

Usage
=====

Developers, which want to make ``vudo`` packages which provide skins, need to
include their skin resources in the EGG, and include a entry point.

Skin Resources
--------------

Depending whether or not a SCM system supported by setuptools (currently SVN)
is used or not, developers may need to include their resources manually using
``package_data``::

    setup(name='vudo.compositepage',
          ...
          packages=find_packages('src'),
          package_dir = {'': 'src'},
          package_data = {
              "vudo.compositepage": [
                  "skin/*.zcml",
                  "skin/compositepage/*.zcml",
                  "skin/compositepage/ajax/*.pt",
                  "skin/region/*.pt",
                  ]
              },
          ...
          )

Entry Point
-----------

Additionally to include the skin resources in the package egg, the skin needs
to be advertized using a ``entry point``::

    setup(name='vudo.compositepage',
          ...
          entry_points="""
          # -*- Entry points: -*-
          [vudo.skin]
          compositepage=vudo.compositepage:provide_skin [skin]
          """,
          extras_require={
              "skin": "vudo.skinsetup",
          },
          ...
      )

The ``provide_skin`` mentioned above needs to call the ``vudo.skinsetup``
package API to return the skin information::

    def provide_skin():
        import os
        from vudo.skinsetup import provide_skin
        return provide_skin(
                package="vudo.compositepage",
                name="compositepage",
                skin_path="skin")

the parameters to the ``provide_skin`` method are as follows:

package
  The package name which provides the skin

name
  The skin name

skin_path
  The ``path`` to the skin within the package.  Note, this is usually a
  ``setuptools`` resource path, and thus always "/" separated.  Do not use
  ``os.path``.

Links
=====

Pkg resources and Entry Points
  http://peak.telecommunity.com/DevCenter/PkgResources#entry-points
  http://peak.telecommunity.com/DevCenter/PkgResources#resourcemanager-api

Quick tutorial
  http://wiki.pylonshq.com/display/pylonscookbook/Using+Entry+Points+to+Write+Plugins


Change history
==============

Changelog
=========

0.1 (2008-12-08)
----------------

- Script entry point for ``vudoskin`` script. [seletz]

- Very basic API for vudo packages which want to provide a skin [seletz]

- Initial package setup. [seletz]

Contributors
============

Stefan Eletzhofer, Author

Download
========
xml_compare 1.0.5
xml_compare is a XML tree comparer.
License: BSD
Keywords: xml compare library testing

The xml_compare library allows to easily test two XML trees if they
have the same content. This is especially valuable when unit testing
XML based systems. 

If the trees differ, xml_compare tries to give a good indication on
the nature and location of difference.

It should work with any etree implementation, but it has been developed
with lxml.

It was inspired by the xml_compare method of formencode_ (
http://formencode.org/module-formencode.doctest_xml_compare.html#xml_compare )
ClientForm 0.2.10
Client-side HTML form handling.
License: BSD

This project is obsolete.  PyPI project mechanize provides the same API (code should continue to work after changing import statements to refer to mechanize instead of ClientForm).

ClientForm is a Python module for handling HTML forms on the client
side, useful for parsing HTML forms, filling them in and returning the
completed forms to the server.  It developed from a port of Gisle Aas'
Perl module HTML::Form, from the libwww-perl library, but the
interface is not the same.