Metadata-Version: 2.0
Name: AIS.py
Version: 0.2.2
Summary: Python interface for the Swisscom All-in Signing Service
Home-page: https://pypi.python.org/pypi/AIS.py
Author: Camptocamp
Author-email: info@camptocamp.com
License: GNU Affero General Public License v3 or later (AGPLv3+)
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: requests (>=2.0)
Requires-Dist: PyPDF2

AIS.py
======

.. image:: https://travis-ci.org/camptocamp/AIS.py.svg?branch=master
    :target: https://travis-ci.org/camptocamp/AIS.py

.. image:: https://readthedocs.org/projects/aispy/badge/?version=latest
    :target: http://aispy.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

AIS.py: a Python interface for the Swisscom All-in Signing Service (aka AIS).

AIS.py works like this:

.. code-block:: python

    >>> from AIS import AIS, PDF
    >>> client = AIS('alice', 'a_secret', 'a.crt', 'a.key')
    >>> pdf = PDF('source.pdf')
    >>> client.sign_one_pdf(pdf)
    >>> print(pdf.out_filename)
    /tmp/.../T/tmpexkdrlkm.pdf

For more information, check out the `Documentation`_.

.. _Documentation: http://aispy.readthedocs.io

License
-------

Copyright (C) 2016 Camptocamp SA

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.


.. :changelog:

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

0.2.2 (2018-10-22)
++++++++++++++++++

- Store the last created request_id on the AIS instance
- Use a proper test matrix on Travis to test various Python releases
- Add Python 3.6 to test matrix

0.2.1 (2016-06-16)
++++++++++++++++++

- Return in batch mode timestamp and revocation information with the signature.
- Fix python3 bugs.
- Refactoring.

0.2.0 (2016-05-19)
++++++++++++++++++

**Documentation**

- Added sections for introduction, installation, testing, project status, API
  reference.

0.1 (2016-05-17)
++++++++++++++++

Initial release. It is possible to start with a batch of pdf files that do not
yet have a prepared signature, and sign them.


