semvec/pypi-packages huggingface dataset:
django-robots-txt 0.4
Simple robots.txt app for django
License: BSD

======
README
======

This is a simple application to create a ``robots.txt`` file for django. It has no models at all and you're supposed to edit a template to update the ``robots.txt`` file. I got tired of having to add this view to each and every project because Django doesn't have a built in ``text/plain`` view.

See the `robots page <http://www.robotstxt.org/>`_ for details what the file should look like.

.. image:: https://api.travis-ci.org/nkuttler/django-robots-txt.png
  :target: https://travis-ci.org/nkuttler/django-robots-txt

Usage
-----

Get ``django-robots-txt`` into your python path::

    pip install django-robots-txt

Create your custom robots.txt file in one of your template directories as ``robots_txt/robots.txt``.

Add a ``robots.txt`` view to your root ``urls.py``::

    from django.conf.urls.defaults import patterns, include, url
    from robots_txt.views import RobotsTextView

    urlpatterns = patterns('',
        ...,
        url(r'^robots.txt$', RobotsTextView.as_view()),
        ...,
    )

That's it, your robots.txt template will be served.

This urlconf entry is also supported if you prefer to keep it short::

    urlpatterns = patterns('',
        ...,
        url(r'', include('robots_txt.urls')),
        ...,
    )

You can add ``robots_txt`` to your INSTALLED_APPS in settings.py if you don't want to create your own template and don't mind having an empty ``robots.txt``::

    INSTALLED_APPS = (
        ...,
        'robots_txt',
        ...,
    )

Changes
-------
0.4:
- Refactor tests
- Updates for Django 1.6

0.3:
- Bugfix for included urlconfig
django-money-rates 0.3.1
Currency conversion for money
License: BSD
Keywords: django-money-rates

=============================
django-money-rates
=============================

.. image:: https://badge.fury.io/py/django-money-rates.png
    :target: http://badge.fury.io/py/django-money-rates
    
.. image:: https://travis-ci.org/evonove/django-money-rates.png?branch=master
        :target: https://travis-ci.org/evonove/django-money-rates


.. image:: https://coveralls.io/repos/evonove/django-money-rates/badge.png
  :target: https://coveralls.io/r/evonove/django-money-rates

.. image:: https://pypip.in/d/django-money-rates/badge.png
        :target: https://crate.io/packages/django-money-rates?version=latest


Currency conversion for money

Documentation
-------------

The full documentation is at http://django-money-rates.rtfd.org.

Quickstart
----------

Install django-money-rates::

    pip install django-money-rates

Then use it in a project::

    import djmoney_rates

In order to save exchange rates to your database, add `djmoney_rates` to your INSTALLED_APPS in your project's settings::

    INSTALLED_APPS = (
        ...
        'djmoney_rates',
        ...
    )

Setup the Open Exchange Rates backend
-------------------------------------

Open an account at https://openexchangerates.org/ if you don't have one already. Then, add this to your project's settings::

    DJANGO_MONEY_RATES = {
        'DEFAULT_BACKEND': 'djmoney_rates.backends.OpenExchangeBackend',
        'OPENEXCHANGE_URL': 'http://openexchangerates.org/api/latest.json',
        'OPENEXCHANGE_APP_ID': 'YOUR APP ID HERE',
        'OPENEXCHANGE_BASE_CURRENCY': 'USD',
    }

For more information on the Open Exchange Rates API, see https://openexchangerates.org/

Pull the latest Exchange Rates
------------------------------

Once your backend is setup, get the latest exchange rates::

    $ ./manage.py update_rates

Convert from one currency to another
------------------------------------

Here's an example of converting 10 Euros to Brazilian Reais:

.. code-block:: python

    from moneyed import Money
    from djmoney_rates.utils import convert_money
    brl_money = convert_money(10, "EUR", "BRL")

Features
--------

* Convert money from one currency to another with an easy to use API.

TODO List
---------

* Add money converter wrapper for util's `convert_money` function.
* Add celery periodic task for getting daily exchange rates.




History
-------

0.3.0 (2013-12-30)
++++++++++++++++++

* `convert_money` utility function now returns moneyed.Money instances

0.1.0 (2013-10-16)
++++++++++++++++++

* First release on PyPI.
kotti_disqus 0.1
Disqus commenting system add-on for Kotti
License: BSD
Keywords: kotti add-on

============
kotti_disqus
============

This is an extension to the Kotti CMS that adds a commenting system to your
site. It uses `Disqus <http://disqus.com/>`_, so you need to register an
account there before you can use it.

`Find out more about Kotti`_

Setup
=====

To activate the ``kotti_disqus`` add-on in your Kotti site, you need to add an
entry to the ``kotti.configurators`` setting in your Paste Deploy config. If
you don't have a ``kotti.configurators`` option, add one. ``kotti_disqus``
depends on ``kotti_settings`` so you need to add a line for this add-on too::

    kotti.configurators =
        kotti_settings.kotti_configure
        kotti_disqus.kotti_configure

You can change some settings at the settings page
(http://your.domain/@@settings or use the submenu of "Site Setup").

+------------------------+----------------------------------------------------+
| Option                 | Explanation                                        |
+========================+====================================================+
| Disqus Shortname       | The shortname you registered at Disqus.            |
|                        | **Necessary for the commenting system to work!**   |
+------------------------+----------------------------------------------------+
| Disqus Base URL        | Change the base URL - useful if you move your site |
|                        | to another URL but want to keep your comments.     |
|                        | Will use the current URL if not set.               |
+------------------------+----------------------------------------------------+
| Disqus Available Types | Select the types on which you want to enable       |
|                        | comments. You can select from all types available  |
|                        | to Kotti via ``kotti.available_types``. **If       |
|                        | nothing is selected, comments won't appear so be   |
|                        | sure to select at least one of these.**            |
+------------------------+----------------------------------------------------+

If you need to include a type not available in ``kotti.available_types`` or
want to force an option that can never be disabled, you can do so via
``kotti_disqus.extra_types``, such as::

  kotti_disqus.extra_types =
      kotti.resources.Document
      kotti.resources.Image


.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti


Changelog
=========

0.1
---

-   Initial release.