Metadata-Version: 2.0
Name: ABN
Version: 0.3.6
Summary: Validate Australian Business Numbers.
Home-page: https://gitlab.com/Sturm/python-abn
Author: Ben Sturmfels
Author-email: ben@sturm.com.au
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Office/Business
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4

===
ABN
===

This package validates Australian Business Numbers (ABNs) and converts Australian Company Numbers (ACNs) or Australian Registered Body Numbers (ARBNs) to ABNs.

The following example show checking of a valid and an invalid ABN::\

.. code-block:: python

    >>> import abn
    >>> abn.validate('53004085616')
    '53 004 085 616'

    >>> abn.validate('99999999999')
    False


To calculate the ABN based on an existing ACN or ARBN:

.. code-block:: python

    >>> abn.acn_to_abn('004085616')
    '53 004 085 616'


To run the tests:

.. code-block:: bash

    $ tox


Release History
---------------

0.3.6 (2015-08-03)
++++++++++++++++++

**Bug fixes**

 - Enable tests for Python 2.7, 3.3 and 3.4.


