Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Anora is a simple_tag for Django that determines whether or not a word should have an "a" or "an" in front of it. Adds either one of these depending on the phoentic value of the given text.

Project Description

Anora
==========================
Anora is a Django template filter that determines whether or not a word should have an "a" or "an" in front of it. Adds either one of these depending on the phoenetic value of the given text. It will also automatically add one space before the text.

Install
-------

1. ``pip install anora``
2. Add ``anora`` to your ``INSTALLED_APPS``
3. Add ``{% load anora %}`` to the top of templates you wish to use these tags in.

Usage
-------
``{% load anora %}``

``I was taking a walk in the woods today. I came across {{ animal_type|anora }}.``

Possible outcomes from the above:
-------

I was taking a walk in the woods today. I came across a raccoon.

I was taking a walk in the woods today. I came across an owl.

Credits
-------
Original template filter can he found [here](http://djangosnippets.org/snippets/1519/).

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
anora-0.1.2.tar.gz
(2.3 kB) Copy SHA256 Hash SHA256
Source None Jul 12, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting