Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/_templates/autosummary/module.rst5
-rw-r--r--docs/conf.py188
-rw-r--r--docs/index.rst121
-rw-r--r--docs/stdnum.at.uid.rst5
-rw-r--r--docs/stdnum.be.vat.rst5
-rw-r--r--docs/stdnum.bg.egn.rst5
-rw-r--r--docs/stdnum.bg.pnf.rst5
-rw-r--r--docs/stdnum.bg.vat.rst5
-rw-r--r--docs/stdnum.br.cpf.rst5
-rw-r--r--docs/stdnum.cy.vat.rst5
-rw-r--r--docs/stdnum.cz.dic.rst5
-rw-r--r--docs/stdnum.cz.rc.rst5
-rw-r--r--docs/stdnum.de.vat.rst5
-rw-r--r--docs/stdnum.dk.cpr.rst5
-rw-r--r--docs/stdnum.dk.cvr.rst5
-rw-r--r--docs/stdnum.ean.rst5
-rw-r--r--docs/stdnum.ee.kmkr.rst5
-rw-r--r--docs/stdnum.es.cif.rst5
-rw-r--r--docs/stdnum.es.dni.rst5
-rw-r--r--docs/stdnum.es.nie.rst5
-rw-r--r--docs/stdnum.es.nif.rst5
-rw-r--r--docs/stdnum.eu.vat.rst5
-rw-r--r--docs/stdnum.fi.alv.rst5
-rw-r--r--docs/stdnum.fi.hetu.rst5
-rw-r--r--docs/stdnum.fr.siren.rst5
-rw-r--r--docs/stdnum.fr.tva.rst5
-rw-r--r--docs/stdnum.gb.vat.rst5
-rw-r--r--docs/stdnum.gr.vat.rst5
-rw-r--r--docs/stdnum.grid.rst5
-rw-r--r--docs/stdnum.hr.oib.rst5
-rw-r--r--docs/stdnum.hu.anum.rst5
-rw-r--r--docs/stdnum.iban.rst5
-rw-r--r--docs/stdnum.ie.pps.rst5
-rw-r--r--docs/stdnum.ie.vat.rst5
-rw-r--r--docs/stdnum.imei.rst5
-rw-r--r--docs/stdnum.imsi.rst5
-rw-r--r--docs/stdnum.isan.rst5
-rw-r--r--docs/stdnum.isbn.rst5
-rw-r--r--docs/stdnum.isil.rst5
-rw-r--r--docs/stdnum.ismn.rst5
-rw-r--r--docs/stdnum.iso7064.rst40
-rw-r--r--docs/stdnum.issn.rst5
-rw-r--r--docs/stdnum.it.iva.rst5
-rw-r--r--docs/stdnum.lt.pvm.rst5
-rw-r--r--docs/stdnum.lu.tva.rst5
-rw-r--r--docs/stdnum.luhn.rst5
-rw-r--r--docs/stdnum.lv.pvn.rst5
-rw-r--r--docs/stdnum.meid.rst5
-rw-r--r--docs/stdnum.mt.vat.rst5
-rw-r--r--docs/stdnum.nl.bsn.rst5
-rw-r--r--docs/stdnum.nl.btw.rst5
-rw-r--r--docs/stdnum.nl.onderwijsnummer.rst5
-rw-r--r--docs/stdnum.pl.nip.rst5
-rw-r--r--docs/stdnum.pt.nif.rst5
-rw-r--r--docs/stdnum.ro.cf.rst5
-rw-r--r--docs/stdnum.ro.cnp.rst5
-rw-r--r--docs/stdnum.se.vat.rst5
-rw-r--r--docs/stdnum.si.ddv.rst5
-rw-r--r--docs/stdnum.sk.dph.rst5
-rw-r--r--docs/stdnum.sk.rc.rst5
-rw-r--r--docs/stdnum.us.ssn.rst5
-rw-r--r--docs/stdnum.verhoeff.rst5
-rw-r--r--setup.cfg3
63 files changed, 647 insertions, 0 deletions
diff --git a/docs/_templates/autosummary/module.rst b/docs/_templates/autosummary/module.rst
new file mode 100644
index 0000000..9a74f8d
--- /dev/null
+++ b/docs/_templates/autosummary/module.rst
@@ -0,0 +1,5 @@
+{{ fullname }}
+{{ underline }}
+
+.. automodule:: {{ fullname }}
+ :members:
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 0000000..b10a97d
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,188 @@
+# -*- coding: utf-8 -*-
+#
+# python-stdnum documentation build configuration file, created by
+# sphinx-quickstart
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys, os
+
+import stdnum
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#sys.path.insert(0, os.path.abspath('..'))
+
+# -- General configuration -----------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.autosummary']
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+source_encoding = 'utf-8'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'python-stdnum'
+copyright = u'2012, Arthur de Jong'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = stdnum.__version__
+# The full version, including alpha/beta/rc tags.
+release = version
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = ['_*', '.svn']
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+modindex_common_prefix = ['stdnum.', ]
+
+# Automatically generate stub pages for autosummary entries.
+autosummary_generate = True
+
+
+# -- Options for HTML output ---------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+#html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+html_show_sourcelink = False
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Suffix for generated links to HTML files.
+#html_link_suffix = ''
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'python-stdnumdoc'
+
+
+# -- Options for manual page output --------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('index', 'python-stdnum', u'python-stdnum Documentation',
+ [u'Arthur de Jong'], 1)
+]
+
+# If true, show URL addresses after external links.
+#man_show_urls = False
diff --git a/docs/index.rst b/docs/index.rst
new file mode 100644
index 0000000..d1ec703
--- /dev/null
+++ b/docs/index.rst
@@ -0,0 +1,121 @@
+.. module:: stdnum
+
+python-stdnum
+=============
+
+A Python module to parse, validate and reformat standard numbers and codes
+in different formats. It contains a large collection of number formats.
+
+Basically any number or code that has some validation mechanism available
+or some common formatting is eligible for inclusion in this library.
+
+http://arthurdejong.org/python-stdnum/
+
+Common Interface
+----------------
+
+Most of the number format modules implement the following functions:
+
+.. function:: is_valid(number)
+
+ Returns either True or False depending on whether the passed number is
+ in any supported and valid form and passes all embedded checks of the
+ number.
+
+.. function:: compact(number)
+
+ Returns a compact representation of the number or code. This function
+ generally does not do validation but may raise exceptions for wildly
+ invalid numbers.
+
+.. function:: format(number)
+
+ Returns a formatted version of the number in the preferred format.
+ This function generally expects to be passed a valid number or code.
+
+The check digit modules generally also provide the following functions:
+
+.. function:: checksum(number)
+
+ Calculate the checksum over the provided number.
+
+.. function:: calc_check_digit(number)
+
+ Calculate the check digit that should be added to the number to make it
+ valid.
+
+Apart from the above, the modules may add extra parsing, validation or
+conversion functions.
+
+Generic check digit algorithms
+------------------------------
+
+.. autosummary::
+ :toctree:
+
+ iso7064
+ luhn
+ verhoeff
+
+Available formats
+-----------------
+
+.. autosummary::
+ :toctree:
+
+ at.uid
+ be.vat
+ bg.egn
+ bg.pnf
+ bg.vat
+ br.cpf
+ cy.vat
+ cz.dic
+ cz.rc
+ de.vat
+ dk.cpr
+ dk.cvr
+ ean
+ ee.kmkr
+ es.cif
+ es.dni
+ es.nie
+ es.nif
+ eu.vat
+ fi.alv
+ fi.hetu
+ fr.siren
+ fr.tva
+ gb.vat
+ gr.vat
+ grid
+ hr.oib
+ hu.anum
+ iban
+ ie.pps
+ ie.vat
+ imei
+ imsi
+ isan
+ isbn
+ isil
+ ismn
+ issn
+ it.iva
+ lt.pvm
+ lu.tva
+ lv.pvn
+ meid
+ mt.vat
+ nl.bsn
+ nl.btw
+ nl.onderwijsnummer
+ pl.nip
+ pt.nif
+ ro.cf
+ ro.cnp
+ se.vat
+ si.ddv
+ sk.dph
+ sk.rc
+ us.ssn
diff --git a/docs/stdnum.at.uid.rst b/docs/stdnum.at.uid.rst
new file mode 100644
index 0000000..035323e
--- /dev/null
+++ b/docs/stdnum.at.uid.rst
@@ -0,0 +1,5 @@
+stdnum.at.uid
+=============
+
+.. automodule:: stdnum.at.uid
+ :members:
diff --git a/docs/stdnum.be.vat.rst b/docs/stdnum.be.vat.rst
new file mode 100644
index 0000000..a39180c
--- /dev/null
+++ b/docs/stdnum.be.vat.rst
@@ -0,0 +1,5 @@
+stdnum.be.vat
+=============
+
+.. automodule:: stdnum.be.vat
+ :members:
diff --git a/docs/stdnum.bg.egn.rst b/docs/stdnum.bg.egn.rst
new file mode 100644
index 0000000..dd216c5
--- /dev/null
+++ b/docs/stdnum.bg.egn.rst
@@ -0,0 +1,5 @@
+stdnum.bg.egn
+=============
+
+.. automodule:: stdnum.bg.egn
+ :members:
diff --git a/docs/stdnum.bg.pnf.rst b/docs/stdnum.bg.pnf.rst
new file mode 100644
index 0000000..b1d79b2
--- /dev/null
+++ b/docs/stdnum.bg.pnf.rst
@@ -0,0 +1,5 @@
+stdnum.bg.pnf
+=============
+
+.. automodule:: stdnum.bg.pnf
+ :members:
diff --git a/docs/stdnum.bg.vat.rst b/docs/stdnum.bg.vat.rst
new file mode 100644
index 0000000..de86604
--- /dev/null
+++ b/docs/stdnum.bg.vat.rst
@@ -0,0 +1,5 @@
+stdnum.bg.vat
+=============
+
+.. automodule:: stdnum.bg.vat
+ :members:
diff --git a/docs/stdnum.br.cpf.rst b/docs/stdnum.br.cpf.rst
new file mode 100644
index 0000000..d7e1523
--- /dev/null
+++ b/docs/stdnum.br.cpf.rst
@@ -0,0 +1,5 @@
+stdnum.br.cpf
+=============
+
+.. automodule:: stdnum.br.cpf
+ :members:
diff --git a/docs/stdnum.cy.vat.rst b/docs/stdnum.cy.vat.rst
new file mode 100644
index 0000000..749cc0f
--- /dev/null
+++ b/docs/stdnum.cy.vat.rst
@@ -0,0 +1,5 @@
+stdnum.cy.vat
+=============
+
+.. automodule:: stdnum.cy.vat
+ :members:
diff --git a/docs/stdnum.cz.dic.rst b/docs/stdnum.cz.dic.rst
new file mode 100644
index 0000000..ef6fd43
--- /dev/null
+++ b/docs/stdnum.cz.dic.rst
@@ -0,0 +1,5 @@
+stdnum.cz.dic
+=============
+
+.. automodule:: stdnum.cz.dic
+ :members:
diff --git a/docs/stdnum.cz.rc.rst b/docs/stdnum.cz.rc.rst
new file mode 100644
index 0000000..de7c120
--- /dev/null
+++ b/docs/stdnum.cz.rc.rst
@@ -0,0 +1,5 @@
+stdnum.cz.rc
+============
+
+.. automodule:: stdnum.cz.rc
+ :members:
diff --git a/docs/stdnum.de.vat.rst b/docs/stdnum.de.vat.rst
new file mode 100644
index 0000000..7de45c8
--- /dev/null
+++ b/docs/stdnum.de.vat.rst
@@ -0,0 +1,5 @@
+stdnum.de.vat
+=============
+
+.. automodule:: stdnum.de.vat
+ :members:
diff --git a/docs/stdnum.dk.cpr.rst b/docs/stdnum.dk.cpr.rst
new file mode 100644
index 0000000..e023223
--- /dev/null
+++ b/docs/stdnum.dk.cpr.rst
@@ -0,0 +1,5 @@
+stdnum.dk.cpr
+=============
+
+.. automodule:: stdnum.dk.cpr
+ :members:
diff --git a/docs/stdnum.dk.cvr.rst b/docs/stdnum.dk.cvr.rst
new file mode 100644
index 0000000..9056b20
--- /dev/null
+++ b/docs/stdnum.dk.cvr.rst
@@ -0,0 +1,5 @@
+stdnum.dk.cvr
+=============
+
+.. automodule:: stdnum.dk.cvr
+ :members:
diff --git a/docs/stdnum.ean.rst b/docs/stdnum.ean.rst
new file mode 100644
index 0000000..1fbf304
--- /dev/null
+++ b/docs/stdnum.ean.rst
@@ -0,0 +1,5 @@
+stdnum.ean
+==========
+
+.. automodule:: stdnum.ean
+ :members:
diff --git a/docs/stdnum.ee.kmkr.rst b/docs/stdnum.ee.kmkr.rst
new file mode 100644
index 0000000..6b1c66c
--- /dev/null
+++ b/docs/stdnum.ee.kmkr.rst
@@ -0,0 +1,5 @@
+stdnum.ee.kmkr
+==============
+
+.. automodule:: stdnum.ee.kmkr
+ :members:
diff --git a/docs/stdnum.es.cif.rst b/docs/stdnum.es.cif.rst
new file mode 100644
index 0000000..39f247e
--- /dev/null
+++ b/docs/stdnum.es.cif.rst
@@ -0,0 +1,5 @@
+stdnum.es.cif
+=============
+
+.. automodule:: stdnum.es.cif
+ :members:
diff --git a/docs/stdnum.es.dni.rst b/docs/stdnum.es.dni.rst
new file mode 100644
index 0000000..3c82faa
--- /dev/null
+++ b/docs/stdnum.es.dni.rst
@@ -0,0 +1,5 @@
+stdnum.es.dni
+=============
+
+.. automodule:: stdnum.es.dni
+ :members:
diff --git a/docs/stdnum.es.nie.rst b/docs/stdnum.es.nie.rst
new file mode 100644
index 0000000..c789f15
--- /dev/null
+++ b/docs/stdnum.es.nie.rst
@@ -0,0 +1,5 @@
+stdnum.es.nie
+=============
+
+.. automodule:: stdnum.es.nie
+ :members:
diff --git a/docs/stdnum.es.nif.rst b/docs/stdnum.es.nif.rst
new file mode 100644
index 0000000..61bef0f
--- /dev/null
+++ b/docs/stdnum.es.nif.rst
@@ -0,0 +1,5 @@
+stdnum.es.nif
+=============
+
+.. automodule:: stdnum.es.nif
+ :members:
diff --git a/docs/stdnum.eu.vat.rst b/docs/stdnum.eu.vat.rst
new file mode 100644
index 0000000..ed8e15f
--- /dev/null
+++ b/docs/stdnum.eu.vat.rst
@@ -0,0 +1,5 @@
+stdnum.eu.vat
+=============
+
+.. automodule:: stdnum.eu.vat
+ :members:
diff --git a/docs/stdnum.fi.alv.rst b/docs/stdnum.fi.alv.rst
new file mode 100644
index 0000000..9f84575
--- /dev/null
+++ b/docs/stdnum.fi.alv.rst
@@ -0,0 +1,5 @@
+stdnum.fi.alv
+=============
+
+.. automodule:: stdnum.fi.alv
+ :members:
diff --git a/docs/stdnum.fi.hetu.rst b/docs/stdnum.fi.hetu.rst
new file mode 100644
index 0000000..39f607a
--- /dev/null
+++ b/docs/stdnum.fi.hetu.rst
@@ -0,0 +1,5 @@
+stdnum.fi.hetu
+==============
+
+.. automodule:: stdnum.fi.hetu
+ :members:
diff --git a/docs/stdnum.fr.siren.rst b/docs/stdnum.fr.siren.rst
new file mode 100644
index 0000000..0a4aa1d
--- /dev/null
+++ b/docs/stdnum.fr.siren.rst
@@ -0,0 +1,5 @@
+stdnum.fr.siren
+===============
+
+.. automodule:: stdnum.fr.siren
+ :members:
diff --git a/docs/stdnum.fr.tva.rst b/docs/stdnum.fr.tva.rst
new file mode 100644
index 0000000..beb1527
--- /dev/null
+++ b/docs/stdnum.fr.tva.rst
@@ -0,0 +1,5 @@
+stdnum.fr.tva
+=============
+
+.. automodule:: stdnum.fr.tva
+ :members:
diff --git a/docs/stdnum.gb.vat.rst b/docs/stdnum.gb.vat.rst
new file mode 100644
index 0000000..a3c8181
--- /dev/null
+++ b/docs/stdnum.gb.vat.rst
@@ -0,0 +1,5 @@
+stdnum.gb.vat
+=============
+
+.. automodule:: stdnum.gb.vat
+ :members:
diff --git a/docs/stdnum.gr.vat.rst b/docs/stdnum.gr.vat.rst
new file mode 100644
index 0000000..0bfe1e1
--- /dev/null
+++ b/docs/stdnum.gr.vat.rst
@@ -0,0 +1,5 @@
+stdnum.gr.vat
+=============
+
+.. automodule:: stdnum.gr.vat
+ :members:
diff --git a/docs/stdnum.grid.rst b/docs/stdnum.grid.rst
new file mode 100644
index 0000000..54a74a9
--- /dev/null
+++ b/docs/stdnum.grid.rst
@@ -0,0 +1,5 @@
+stdnum.grid
+===========
+
+.. automodule:: stdnum.grid
+ :members:
diff --git a/docs/stdnum.hr.oib.rst b/docs/stdnum.hr.oib.rst
new file mode 100644
index 0000000..bef4f3d
--- /dev/null
+++ b/docs/stdnum.hr.oib.rst
@@ -0,0 +1,5 @@
+stdnum.hr.oib
+=============
+
+.. automodule:: stdnum.hr.oib
+ :members:
diff --git a/docs/stdnum.hu.anum.rst b/docs/stdnum.hu.anum.rst
new file mode 100644
index 0000000..e0a7328
--- /dev/null
+++ b/docs/stdnum.hu.anum.rst
@@ -0,0 +1,5 @@
+stdnum.hu.anum
+==============
+
+.. automodule:: stdnum.hu.anum
+ :members:
diff --git a/docs/stdnum.iban.rst b/docs/stdnum.iban.rst
new file mode 100644
index 0000000..74b516d
--- /dev/null
+++ b/docs/stdnum.iban.rst
@@ -0,0 +1,5 @@
+stdnum.iban
+===========
+
+.. automodule:: stdnum.iban
+ :members:
diff --git a/docs/stdnum.ie.pps.rst b/docs/stdnum.ie.pps.rst
new file mode 100644
index 0000000..0225891
--- /dev/null
+++ b/docs/stdnum.ie.pps.rst
@@ -0,0 +1,5 @@
+stdnum.ie.pps
+=============
+
+.. automodule:: stdnum.ie.pps
+ :members:
diff --git a/docs/stdnum.ie.vat.rst b/docs/stdnum.ie.vat.rst
new file mode 100644
index 0000000..528d566
--- /dev/null
+++ b/docs/stdnum.ie.vat.rst
@@ -0,0 +1,5 @@
+stdnum.ie.vat
+=============
+
+.. automodule:: stdnum.ie.vat
+ :members:
diff --git a/docs/stdnum.imei.rst b/docs/stdnum.imei.rst
new file mode 100644
index 0000000..4e83a01
--- /dev/null
+++ b/docs/stdnum.imei.rst
@@ -0,0 +1,5 @@
+stdnum.imei
+===========
+
+.. automodule:: stdnum.imei
+ :members:
diff --git a/docs/stdnum.imsi.rst b/docs/stdnum.imsi.rst
new file mode 100644
index 0000000..179b92e
--- /dev/null
+++ b/docs/stdnum.imsi.rst
@@ -0,0 +1,5 @@
+stdnum.imsi
+===========
+
+.. automodule:: stdnum.imsi
+ :members:
diff --git a/docs/stdnum.isan.rst b/docs/stdnum.isan.rst
new file mode 100644
index 0000000..0012eb9
--- /dev/null
+++ b/docs/stdnum.isan.rst
@@ -0,0 +1,5 @@
+stdnum.isan
+===========
+
+.. automodule:: stdnum.isan
+ :members:
diff --git a/docs/stdnum.isbn.rst b/docs/stdnum.isbn.rst
new file mode 100644
index 0000000..e583a0d
--- /dev/null
+++ b/docs/stdnum.isbn.rst
@@ -0,0 +1,5 @@
+stdnum.isbn
+===========
+
+.. automodule:: stdnum.isbn
+ :members:
diff --git a/docs/stdnum.isil.rst b/docs/stdnum.isil.rst
new file mode 100644
index 0000000..82effdd
--- /dev/null
+++ b/docs/stdnum.isil.rst
@@ -0,0 +1,5 @@
+stdnum.isil
+===========
+
+.. automodule:: stdnum.isil
+ :members:
diff --git a/docs/stdnum.ismn.rst b/docs/stdnum.ismn.rst
new file mode 100644
index 0000000..4938977
--- /dev/null
+++ b/docs/stdnum.ismn.rst
@@ -0,0 +1,5 @@
+stdnum.ismn
+===========
+
+.. automodule:: stdnum.ismn
+ :members:
diff --git a/docs/stdnum.iso7064.rst b/docs/stdnum.iso7064.rst
new file mode 100644
index 0000000..b2749bb
--- /dev/null
+++ b/docs/stdnum.iso7064.rst
@@ -0,0 +1,40 @@
+stdnum.iso7064
+==============
+
+.. automodule:: stdnum.iso7064
+ :members:
+
+Mod 11, 10
+----------
+:mod:`stdnum.iso7064.mod_11_10`
+
+.. automodule:: stdnum.iso7064.mod_11_10
+ :members:
+
+Mod 11, 2
+---------
+:mod:`stdnum.iso7064.mod_11_2`
+
+.. automodule:: stdnum.iso7064.mod_11_2
+ :members:
+
+Mod 37, 2 (Mod x, 2)
+--------------------
+:mod:`stdnum.iso7064.mod_37_2`
+
+.. automodule:: stdnum.iso7064.mod_37_2
+ :members:
+
+Mod 37, 36 (Mod x+1, x)
+-----------------------
+:mod:`stdnum.iso7064.mod_37_36`
+
+.. automodule:: stdnum.iso7064.mod_37_36
+ :members:
+
+Mod 97, 10
+----------
+:mod:`stdnum.iso7064.mod_97_10`
+
+.. automodule:: stdnum.iso7064.mod_97_10
+ :members:
diff --git a/docs/stdnum.issn.rst b/docs/stdnum.issn.rst
new file mode 100644
index 0000000..16c3f4d
--- /dev/null
+++ b/docs/stdnum.issn.rst
@@ -0,0 +1,5 @@
+stdnum.issn
+===========
+
+.. automodule:: stdnum.issn
+ :members:
diff --git a/docs/stdnum.it.iva.rst b/docs/stdnum.it.iva.rst
new file mode 100644
index 0000000..0d41818
--- /dev/null
+++ b/docs/stdnum.it.iva.rst
@@ -0,0 +1,5 @@
+stdnum.it.iva
+=============
+
+.. automodule:: stdnum.it.iva
+ :members:
diff --git a/docs/stdnum.lt.pvm.rst b/docs/stdnum.lt.pvm.rst
new file mode 100644
index 0000000..018c5eb
--- /dev/null
+++ b/docs/stdnum.lt.pvm.rst
@@ -0,0 +1,5 @@
+stdnum.lt.pvm
+=============
+
+.. automodule:: stdnum.lt.pvm
+ :members:
diff --git a/docs/stdnum.lu.tva.rst b/docs/stdnum.lu.tva.rst
new file mode 100644
index 0000000..8e57b56
--- /dev/null
+++ b/docs/stdnum.lu.tva.rst
@@ -0,0 +1,5 @@
+stdnum.lu.tva
+=============
+
+.. automodule:: stdnum.lu.tva
+ :members:
diff --git a/docs/stdnum.luhn.rst b/docs/stdnum.luhn.rst
new file mode 100644
index 0000000..a6ccc4e
--- /dev/null
+++ b/docs/stdnum.luhn.rst
@@ -0,0 +1,5 @@
+stdnum.luhn
+===========
+
+.. automodule:: stdnum.luhn
+ :members:
diff --git a/docs/stdnum.lv.pvn.rst b/docs/stdnum.lv.pvn.rst
new file mode 100644
index 0000000..7abea5b
--- /dev/null
+++ b/docs/stdnum.lv.pvn.rst
@@ -0,0 +1,5 @@
+stdnum.lv.pvn
+=============
+
+.. automodule:: stdnum.lv.pvn
+ :members:
diff --git a/docs/stdnum.meid.rst b/docs/stdnum.meid.rst
new file mode 100644
index 0000000..5e53cd1
--- /dev/null
+++ b/docs/stdnum.meid.rst
@@ -0,0 +1,5 @@
+stdnum.meid
+===========
+
+.. automodule:: stdnum.meid
+ :members:
diff --git a/docs/stdnum.mt.vat.rst b/docs/stdnum.mt.vat.rst
new file mode 100644
index 0000000..e89599a
--- /dev/null
+++ b/docs/stdnum.mt.vat.rst
@@ -0,0 +1,5 @@
+stdnum.mt.vat
+=============
+
+.. automodule:: stdnum.mt.vat
+ :members:
diff --git a/docs/stdnum.nl.bsn.rst b/docs/stdnum.nl.bsn.rst
new file mode 100644
index 0000000..63bbaf1
--- /dev/null
+++ b/docs/stdnum.nl.bsn.rst
@@ -0,0 +1,5 @@
+stdnum.nl.bsn
+=============
+
+.. automodule:: stdnum.nl.bsn
+ :members:
diff --git a/docs/stdnum.nl.btw.rst b/docs/stdnum.nl.btw.rst
new file mode 100644
index 0000000..2ce973e
--- /dev/null
+++ b/docs/stdnum.nl.btw.rst
@@ -0,0 +1,5 @@
+stdnum.nl.btw
+=============
+
+.. automodule:: stdnum.nl.btw
+ :members:
diff --git a/docs/stdnum.nl.onderwijsnummer.rst b/docs/stdnum.nl.onderwijsnummer.rst
new file mode 100644
index 0000000..03844a8
--- /dev/null
+++ b/docs/stdnum.nl.onderwijsnummer.rst
@@ -0,0 +1,5 @@
+stdnum.nl.onderwijsnummer
+=========================
+
+.. automodule:: stdnum.nl.onderwijsnummer
+ :members:
diff --git a/docs/stdnum.pl.nip.rst b/docs/stdnum.pl.nip.rst
new file mode 100644
index 0000000..290024f
--- /dev/null
+++ b/docs/stdnum.pl.nip.rst
@@ -0,0 +1,5 @@
+stdnum.pl.nip
+=============
+
+.. automodule:: stdnum.pl.nip
+ :members:
diff --git a/docs/stdnum.pt.nif.rst b/docs/stdnum.pt.nif.rst
new file mode 100644
index 0000000..3483258
--- /dev/null
+++ b/docs/stdnum.pt.nif.rst
@@ -0,0 +1,5 @@
+stdnum.pt.nif
+=============
+
+.. automodule:: stdnum.pt.nif
+ :members:
diff --git a/docs/stdnum.ro.cf.rst b/docs/stdnum.ro.cf.rst
new file mode 100644
index 0000000..e74a325
--- /dev/null
+++ b/docs/stdnum.ro.cf.rst
@@ -0,0 +1,5 @@
+stdnum.ro.cf
+============
+
+.. automodule:: stdnum.ro.cf
+ :members:
diff --git a/docs/stdnum.ro.cnp.rst b/docs/stdnum.ro.cnp.rst
new file mode 100644
index 0000000..e0f7470
--- /dev/null
+++ b/docs/stdnum.ro.cnp.rst
@@ -0,0 +1,5 @@
+stdnum.ro.cnp
+=============
+
+.. automodule:: stdnum.ro.cnp
+ :members:
diff --git a/docs/stdnum.se.vat.rst b/docs/stdnum.se.vat.rst
new file mode 100644
index 0000000..408caca
--- /dev/null
+++ b/docs/stdnum.se.vat.rst
@@ -0,0 +1,5 @@
+stdnum.se.vat
+=============
+
+.. automodule:: stdnum.se.vat
+ :members:
diff --git a/docs/stdnum.si.ddv.rst b/docs/stdnum.si.ddv.rst
new file mode 100644
index 0000000..1f52f8b
--- /dev/null
+++ b/docs/stdnum.si.ddv.rst
@@ -0,0 +1,5 @@
+stdnum.si.ddv
+=============
+
+.. automodule:: stdnum.si.ddv
+ :members:
diff --git a/docs/stdnum.sk.dph.rst b/docs/stdnum.sk.dph.rst
new file mode 100644
index 0000000..6c7fcde
--- /dev/null
+++ b/docs/stdnum.sk.dph.rst
@@ -0,0 +1,5 @@
+stdnum.sk.dph
+=============
+
+.. automodule:: stdnum.sk.dph
+ :members:
diff --git a/docs/stdnum.sk.rc.rst b/docs/stdnum.sk.rc.rst
new file mode 100644
index 0000000..5677356
--- /dev/null
+++ b/docs/stdnum.sk.rc.rst
@@ -0,0 +1,5 @@
+stdnum.sk.rc
+============
+
+.. automodule:: stdnum.sk.rc
+ :members:
diff --git a/docs/stdnum.us.ssn.rst b/docs/stdnum.us.ssn.rst
new file mode 100644
index 0000000..aa548cf
--- /dev/null
+++ b/docs/stdnum.us.ssn.rst
@@ -0,0 +1,5 @@
+stdnum.us.ssn
+=============
+
+.. automodule:: stdnum.us.ssn
+ :members:
diff --git a/docs/stdnum.verhoeff.rst b/docs/stdnum.verhoeff.rst
new file mode 100644
index 0000000..62a577f
--- /dev/null
+++ b/docs/stdnum.verhoeff.rst
@@ -0,0 +1,5 @@
+stdnum.verhoeff
+===============
+
+.. automodule:: stdnum.verhoeff
+ :members:
diff --git a/setup.cfg b/setup.cfg
index 9c42586..9962704 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,3 +10,6 @@ cover-package=stdnum
cover-erase=true
cover-html=true
cover-html-dir=coverage
+
+[build_sphinx]
+all_files = 1