Skip to main content

Python interface for the Swisscom All-in Signing Service

Project description

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

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

AIS.py works like this:

>>> 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.

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.

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.

Project details


Download files

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

Source Distribution

AIS.py-0.2.2.linux-x86_64.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

AIS.py-0.2.2-py2.py3-none-any.whl (2.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file AIS.py-0.2.2.linux-x86_64.tar.gz.

File metadata

  • Download URL: AIS.py-0.2.2.linux-x86_64.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.11.1 setuptools/20.7.0 requests-toolbelt/0.7.0 clint/0.5.1 CPython/2.7.12 Linux/4.15.0-36-generic

File hashes

Hashes for AIS.py-0.2.2.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 cb66924b2acff86758818d649745b1e3802139f562bbf03905e74187bbb94f49
MD5 f3e70f8adce80f87905afd03f6bc756b
BLAKE2b-256 8965156811606a17a579a577cba79ec1f191931c68bf3c03f426f7ce65370501

See more details on using hashes here.

File details

Details for the file AIS.py-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: AIS.py-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.8.1 pkginfo/1.4.1 requests/2.11.1 setuptools/20.7.0 requests-toolbelt/0.7.0 clint/0.5.1 CPython/2.7.12 Linux/4.15.0-36-generic

File hashes

Hashes for AIS.py-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1106518716852948a8064c973e0d0604b96600abdd63c592ec5d0ed6579787e
MD5 01109078011e466bc6dfc87df9ea552e
BLAKE2b-256 ca62061e4dff284cae4bf287a63f815acdb94bbf12e94cd3d7ff751e1b3160a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page