semvec/pypi-packages huggingface dataset:
collective.recipe.platform 0.1
Provide buildout variables with platform specific values.
License: BSD
Keywords: buildout development build

.. contents::

- Code repository: http://github.com/gweis/collective.recipe.platform

Limitations:
============

The recipe currently only generates platform strings for darwin10 and darwin9.
Due to the simplicity of the recipe itself, it should not be hard ta add
further platform-prefixes. (Patches and other contributions are welcome).

Example usage
=============

This recipe provides a way of defining buildout variables which can be
referenced form other parts with platform specific values. It does not try
being intelligent and guess what values it should set, but gives the user full
control, with the drawback/advantage of keeping all settings in a single or
multiple configuration sections.

But examples are probably a better explanation:

    >>> write(sample_buildout, 'buildout.cfg',
    ... """
    ... [buildout]
    ... parts = debug
    ...
    ... [platform]
    ... recipe = collective.recipe.platform
    ... environment =
    ... darwin10-environment =
    ...     CC=gcc-4.0
    ... flags =
    ... darwin9-flags =
    ...     CPP=cpp-4.0
    ...
    ... [debug]
    ... recipe = zc.buildout:debug
    ... env = ${platform:environment}
    ... flags = ${platform:flags}
    ... plname = ${platform:platform}
    ... """)

Ok, we have a part called 'debug'. This part just prints all given options
to stdout. In our case it uses values referenced in the platform part.

The platform recipe looks for options starting with a platform prefix, taxes
the remainder of the option name and replaces the value.

The result of a buildout running on OSX 10.6 (darwin10) is the following:

    >>> print system(buildout)
    Installing platform.
    Unused options for platform: 'darwin9-flags'.
    Installing debug.
      env='\nCC=gcc-4.0'
      flags=''
      plname='darwin10'
      recipe='zc.buildout:debug'


Changes:
========

0.1 (2009-10-13)
----------------

 - initial release
pydataportability.xrd 0.4
An XRD parser for pydataportability
License: BSD
Keywords: pydataportability xrd resource openweb dataportability oasis discovery metadata

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

This is an XRD parser for pydataportability. For more information
check out http://pydataportability.net

For an example you might look at pydataportability.discovery which you can also
find on PyPI.


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

Christian Scholz, COM.lounge GmbH, cs@comlounge.net, http://mrtopf.de/blog


License
=======

This project is released under a BSD license:


Copyright (c) 2009, Christian Scholz
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:

 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
   disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
   disclaimer in the documentation and/or other materials provided with the distribution.
 * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



Changelog
=========

0.4 - 12 Oct 2009
-----------------

* Initial release
pydataportability.model.resource 0.4
Model classes and interfaces for resource descriptions for pydataportability and e.g. XRD parsers
License: BSD
Keywords: dataportability openweb diso xrd resources models

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

The pydataportability.model.resource package defines models for resources.

The model entities are modelled after an XRD document, where a resource
contains certain information and a list of links to other resources which have
certain properties themselves.

Check out the documentation at http://pydataportability.net for more information.


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

Christian Scholz, COM.lounge GmbH, cs@comlounge.net, http://mrtopf.de/blog


License
=======

This project is released under a BSD license:


Copyright (c) 2009, Christian Scholz
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:

 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
   disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
   disclaimer in the documentation and/or other materials provided with the distribution.
 * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from
   this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Changelog
=========

0.4 - 12 Oct 2009
-----------------

* Initial release
django-vz-wiki 0.2.0
A Django powered wiki app
License: BSD

VZ_WIKI
===============

VZ_Wiki is a Django powered wiki app.

TODO
----

* Search
* Tag filtering
* File/Attachments

Installation
------------

`sudo easy_install django_vz_wiki`

Add the following to *urls.py*

`(r'^wiki/', include('vz_wiki.urls')),`

Add the following to *INSTALED_APPS*

`'django_vz_wiki',`

Integration Into Existing Templates
-----------------------------------

**Be sure to uncomment the the egg based templated loader in *TEMPLATE_LOADERS***

`django.template.loaders.eggs.load_template_source`

All wiki templates have the following:

`{% extends "base.html" %}`

The block tags match the suggested best practices by [Lincoln Loop](http://lincolnloop.com/django-best-practices/apps/modules/templates.html)

Template blocks include:

* **title** - full page title
* **extra_head** - for extra css/javascript
* **body** - wraps everything inside body tag
* **content_title** - title for wiki page
* **content** - wiki page contents
* **block vz_wiki_page_menu** - this is required for page options, it should be wrapped
inside `<ul></ul>`.

Settings
--------

You can add default allowed tags.  By adding **WIKI_ALLOWED_TAGS** to your settings file.  The  setting should be in form 'tag2:attr1:attr2 tag2:attr1 tag3', where tags are allowed HTML tags, and attrs are the allowed attributes for that tag.  Default is an empty string.

You can also change the default Wiki page link base (*/wiki*) by adding **WIKI_BASE** to your settings file.

Linking to Wiki Pages
---------------------

First, include **wiki_tags** template tags.

`{% load markup wiki_tags %}`

Second, link to the desired wiki page by putting something like the following inside
your text:

`Blah blah blah [[title of the wiki page]]`

Finally, add the *wiki_link* filter like this:

`{{ latest_revision.body|sanitize|wiki_link|markdown }}`

Extra Template Stuff
--------------------

You can add:

`{% block vz_wiki_page_menu %}{% endblock %}`

This will add:

`<ul>`

`    <li><a href="{% url page_list %}" title="page list">Page List</a></li>`

`    {% if perms.page.can_add %}`

`    <li><a href="{% url create_page %}" title="create a page">Create a Page</a></li>`

`    {% endif %}`

`</ul>`

You can also do this manually.

Dependencies
--------------

* [Django](http://djangoproject.com)
* [Python Markdown](http://www.freewisdom.org/projects/python-markdown)
* [Beautiful Soup](http://www.crummy.com/software/BeautifulSoup)
* [Django Tagging](http://code.google.com/p/django-tagging/)