semvec/pypi-packages huggingface dataset:
WorldMill 0.1
Access and transform geospatial feature data
License: BSD
Keywords: gis vector feature data

WorldMill
=========

WorldMill provides a smoother and more productive Python interface to the open
source GIS community's most trusted geodata access library; doing for libgdal_
what lxml does for libxml2. WorldMill integrates readily with other Python GIS
packages such as pyproj_, Rtree_, and Shapely_.


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

WorldMill requires libgdal 1.3.2+.


Building
--------

From the distribution root::

  $ ./cypsrc
  $ python setup.py build_ext --inplace
  $ PYTHONPATH=src python tests.py

If you have ogr.py installed, you can compare to WorldMill::

  $ PYTHONPATH=src python benchmark.py


Usage
-----

See `docs/reading-data.txt`_ for examples.

.. _libgdal: http://www.gdal.org
.. _pyproj: http://pypi.python.org/pypi/pyproj/
.. _Rtree: http://pypi.python.org/pypi/Rtree/
.. _Shapely: http://pypi.python.org/pypi/Shapely/
.. _docs/reading-data.txt: http://trac.gispython.org/projects/PCL/browser/WorldMill/trunk/docs/reading-data.txt
IrssiNotifier 0.2.0RC5
Irssi Real Time Remote Visual Notification.
License: BSD
Keywords: irssi,visual notification,notification

Irssi Notifier is a real-time remote visual notification of private messages,
messages sent to the user and messages where the user is addressed using
irssi's proxy module. Also notifies of friends joins, parts, quits and nick
changes, ie, it's common a user to change it's nick from 'foo' to 'foo_away'
when he's set as away.

For more information or if you'd like to comment about the tool please visit:
    http://blog.ufsoft.org/index.php/category/irssi-notification/
Or, to submit bugs/new features:
    http://irssinotifier.ufsoft.org/
wsgistate 0.4.2
WSGI session and caching middleware.
License: BSD
Keywords: WSGI session caching persistence memoizing HTTP Web

Session (flup-compatible), caching, memoizing, and HTTP cache control middleware for WSGI. Supports memory, filesystem, database, and memcached based backends.

Simple memoization example::

    from wsgistate.memory import memoize

    @memoize()
    def app(environ, start_response):
        start_response('200 OK', [('Content-Type', 'text/plain')])
        return ['Hello World!']

    if __name__ == '__main__':
         from wsgiref.simple_server import make_server
         http = make_server('', 8080, app)
         http.serve_forever()

Simple session example::

    from wsgistate.memory import session

    @session()
    def app(environ, start_response):
         session = environ['com.saddi.service.session'].session
         count = session.get('count', 0) + 1
         session['count'] = count
         start_response('200 OK', [('Content-Type', 'text/plain')])
         return ['You have been here %d times!' % count]

    if __name__ == '__main__':
        from wsgiref.simple_server import make_server
        http = make_server('', 8080, app)
        http.serve_forever()
Oort 0.4
A toolkit for accessing RDF graphs as plain objects.
License: BSD
Keywords: rdf graph toolkit database orm programming

========================================================================
Oort
========================================================================

Oort is a a Python_-based toolkit for accessing RDF_ graphs as plain objects.

It uses RDFLib_ for the heavy lifting.

.. _RDF: http://www.rdfabout.net
.. _Python: http://python.org
.. _RDFLib: http://rdflib.net

Overview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``oort.rdfview``
    Contains classes and functions used for defining RDF queries and selectors, 
    i.e. declarations used to pick properties and associated sub-queries from a
    chosen resource (similar to how many ORM-toolkits work).

``oort.util.queries``
    Some basic base ``RdfQuery`` subtypes for common use (e.g. getting at 
    localized annotation properties such as ``rdfs:label`` and similar).

``oort.util.graphs``
    A collection of basic "filesystem-to-graph" utilities.

How?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

By subclassing ``oort.rdfview.RdfQuery`` and adding attributes which are 
instances of one of the Selector subclasses from that package, you define a set 
of rdf properties which are to be retrieved about a given subject (from a given 
graph, in a given language). The selectors are given a ``URIRef`` which 
determines the property. Or a ``Namespace``, in which case the name of the 
attribute will be used.

These are some of the predefined classes from ``oort.util.queries``::

    class Typed(RdfQuery):
        rdfType = one(RDF.type)

    class Labelled(RdfQuery):
        label = localized(RDFS)

    class Annotated(Labelled):
        comment = localized(RDFS)

    class Resource(Annotated, Typed):
        pass

Selectors can also be given ``RdfQuery`` types (or names of types, to enable 
e.g. cyclic references) which are used to describe their selected resources 
recursively. Use like this::

    SIOC = Namespace("http://rdfs.org/sioc/ns#")

    class Item(Annotated):
        _rdfbase_ = SIOC # sets default namespace base for this RdfQuery
        name = localized()
        description = localized()
        seeAlso = each(RDFS) >> Annotated

The overloaded ``>>`` is just sugar for::

        seeAlso = each(RDFS).viewed_as(Annotated)

Predefined selectors in ``oort.rdfview`` are: ``one``, ``each``, 
``one_where_self_is``, ``each_where_self_is``, ``collection``, ``localized``, 
``i18n_dict``, ``each_localized`` and ``localized_xml``.

RdfQueries are either directly instantiated with an RDFLib ``Graph`` instance, 
language (string) and ``URIRef`` instance, or used via ``QueryContext``, which 
facilitates this and other things.

Se more examples (and test source code) at the `Oort Website`_.

.. _`Oort Website`: http://oort.to

The latest development version can be installed from the
`Oort SVN Trunk <http://oort.googlecode.com/svn/Oort/trunk#egg=Oort-dev>`_.