semvec/pypi-packages huggingface dataset:
django-revcanonical 1.0
An implementation of rev=canonical url shortening for Django.
License: BSD

.. -*- mode: rst -*-

=================================
 RevCanonical Django application
=================================

This is an implementation of rev=canonical `url shortening`_ in the form of
Django application. Basically rev=canonical is nice idea about that site should
give you two links to actual page: one is human-readable, and another is short
version, intented to use in limited conditions.

This implementation is modelled after Simon Willison's `post`_ and returns 301
permanent redirect for your short urls.

.. _url shortening: http://revcanonical.appspot.com/
.. _post: http://simonwillison.net/2009/Apr/11/revcanonical/


Configuration
-------------

Installation is simple - use it like any another Django application, basically:
put it where other application of your project are residing and add
``'revcanonical'`` to ``INSTALLED_APPS`` in ``settings.py``. Then edit your
``urls.py`` and add inclusion of revcanonical's urls to urlpatterns::

    url(r'', include('revcanonical.urls')),

Use ``r'^someprefix/'`` instead of first argument if you'd like to see prefixed
urls.

By default revcanonical uses internal Django's Site model to determine your site
domain, but you can set it manually in ``settings.py`` as ``REVCANONICAL_SITE``
variable.


Usage
-----

Include such code in your template between ``<head>`` and ``</head>`` tags::

    {% load revcanontags %}
    {% revcanonical object %}

Of course, you should replace ``object`` with your own object variable. And,
naturally, it should have ``get_absolute_url()`` method.

Additionally you can set your `<a href>` links to short urls::

    {% load revcanontags %}
    <a href="{% shorturl object %}">...</a>
pyExcelerator 0.6.4a
generating Excel 97+ files; importing Excel 95+ files; Excel files dumper; OLE2 files dumper; xls2txt, xls2csv, xls2html
License: BSD
Keywords: xls openoffice excel spreadsheet workbook database table unicode

pyExcelerator  is a   library  for  generating  Excel  97/2000/XP/2003  and
OpenOffice    Calc   compatible     spreadsheets.     pyExcelerator     has
full-blown   support   for  UNICODE  in Excel and Calc spreadsheets, allows
using variety of formatting features,   provides   interface   to  printing
options   of   Excel   and OpenOffice  Calc.  pyExcelerator  contains  also
Excel BIFF8 dumper and MS compound  documents  dumper.  Main  advantage  is
possibility  of generating Excel  spreadsheets  without  COM  servers.  The
only requirement -- Python 2.4b2 or higher.
From version 0.5 pyExcelerator can import data from Excel spreadsheets.