{ "info": { "author": "Genaro Madrid", "author_email": "genmadrid@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Mifiel Python Library\n=====================\n\n|Coverage Status| |Build Status| |PyPI version|\n\nPyton library for `Mifiel `__ API. Please read\nour `documentation `__ for instructions on how\nto start using the API.\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install mifiel\n\nUsage\n-----\n\nTo start using the API you will need an APP\\_ID and a APP\\_SECRET which\nwill be provided upon request (contact us at hola@mifiel.com).\n\nYou will first need to create an account in\n`mifiel.com `__ since the APP\\_ID and\nAPP\\_SECRET will be linked to your account.\n\nDocument methods:\n~~~~~~~~~~~~~~~~~\n\nFor now, the only methods available are **find** and **create**.\nContributions are greatly appreciated.\n\n- Find:\n\n.. code:: python\n\n from mifiel import Document, Client\n client = Client(app_id='APP_ID', secret_key='APP_SECRET')\n\n doc = Document.find(client, 'id')\n document.original_hash\n document.file\n document.file_signed\n # ...\n\n- Create:\n\n.. code:: python\n\n from mifiel import Document, Client\n client = Client(app_id='APP_ID', secret_key='APP_SECRET')\n\n signatories = [\n { \n 'name': 'Signer 1', \n 'email': 'signer1@email.com', \n 'tax_id': 'AAA010101AAA' \n },\n { \n 'name': 'Signer 2', \n 'email': \n 'signer2@email.com', \n 'tax_id': 'AAA010102AAA'\n }\n ]\n # Providde the SHA256 hash of the file you want to sign.\n doc = Document.create(client, signatories, dhash='some-sha256-hash')\n # Or just send the file and we'll take care of everything.\n # We will store the file for you. \n doc = Document.create(client, signatories, file='test/fixtures/example.pdf')\n\n doc.id # -> '7500e528-ac6f-4ad3-9afd-74487c11576a'\n doc.id # -> '7500e528-ac6f-4ad3-9afd-74487c11576a'\n\n- Save Document related files\n\n.. code:: python\n\n from mifiel import Document, Client\n client = Client(app_id='APP_ID', secret_key='APP_SECRET')\n\n doc = Document.find(client, 'id')\n # save the original file\n doc.save_file('path/to/save/file.pdf')\n # save the signed file (original file + signatures page)\n doc.save_file_signed('path/to/save/file-signed.pdf')\n # save the signed xml file\n doc.save_xml('path/to/save/xml.xml')\n\nDevelopment\n-----------\n\nInstall dependencies\n~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n pip install -r requirements.txt\n\nTest\n----\n\nJust clone the repo, install dependencies as you would in development\nand run ``nose2`` or ``python setup.py test``\n\nContributing\n------------\n\n1. Fork it ( https://github.com/Mifiel/python-api-client/fork )\n2. Create your feature branch (``git checkout -b my-new-feature``)\n3. Commit your changes (``git commit -am 'Add some feature'``)\n4. Push to the branch (``git push origin my-new-feature``)\n5. Create a new Pull Request\n\n.. |Coverage Status| image:: https://coveralls.io/repos/github/Mifiel/python-api-client/badge.svg?branch=master\n :target: https://coveralls.io/github/Mifiel/python-api-client?branch=master\n.. |Build Status| image:: https://travis-ci.org/Mifiel/python-api-client.svg?branch=master\n :target: https://travis-ci.org/Mifiel/python-api-client\n.. |PyPI version| image:: https://badge.fury.io/py/mifiel.svg\n :target: https://badge.fury.io/py/mifiel", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/Mifiel/python-api-client/tarball/v0.0.6", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mifiel/python-api-client", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mifiel", "package_url": "https://pypi.org/project/mifiel/", "platform": "", "project_url": "https://pypi.org/project/mifiel/", "project_urls": { "Download": "https://github.com/Mifiel/python-api-client/tarball/v0.0.6", "Homepage": "http://github.com/mifiel/python-api-client" }, "release_url": "https://pypi.org/project/mifiel/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "Python API Client library for Mifiel.com", "version": "0.0.6" }, "last_serial": 4462969, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4c5cd078c3402474dd3050322488b6fa", "sha256": "8590b6ba2de002d55f234df5245f4587213ac9afad6c20a3f315e9904a317ad5" }, "downloads": -1, "filename": "mifiel-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4c5cd078c3402474dd3050322488b6fa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6941, "upload_time": "2016-06-13T15:38:26", "url": "https://files.pythonhosted.org/packages/71/85/5a4f71d8c55cad1dc445dbfc49e4d33140cd468f5b7776c04c5d9486e225/mifiel-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "692f7e7c2c2c9419de32476cd3336f59", "sha256": "99cdcd7057435c4004802fb395cf10ec7a2020933c714e95a8ac117ce90f0adb" }, "downloads": -1, "filename": "mifiel-0.0.1.tar.gz", "has_sig": false, "md5_digest": "692f7e7c2c2c9419de32476cd3336f59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3690, "upload_time": "2016-06-13T15:16:26", "url": "https://files.pythonhosted.org/packages/5f/4f/ea8c3064e5e2d3194822bb7c317d777f539edbd2bee61f772d10d27688ea/mifiel-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "dc9ea24363560b5321a3346725fa59d8", "sha256": "b78ceb44f4a40cfec3c5bd501bf47809b85554da6c294d62a5a096e121fbe903" }, "downloads": -1, "filename": "mifiel-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "dc9ea24363560b5321a3346725fa59d8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6942, "upload_time": "2016-06-13T15:53:00", "url": "https://files.pythonhosted.org/packages/3d/cf/21285c1ef37f4ebddae44febc4db596bf73791c9ed050718ec493ba1a3ca/mifiel-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7a7c5cbceb6f649795de203b271a37d1", "sha256": "323b24a7ce368571b29992a670392dddc1d71c783f0184a19633cb5a5ec50d4e" }, "downloads": -1, "filename": "mifiel-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7a7c5cbceb6f649795de203b271a37d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4661, "upload_time": "2016-06-15T02:12:47", "url": "https://files.pythonhosted.org/packages/9d/1c/734d82c4d3c9ae3799f8b667b3fe5d8d12a07e35e660233e45cbb9348f40/mifiel-0.0.3.tar.gz" } ], "0.0.4": [], "0.0.5": [ { "comment_text": "", "digests": { "md5": "66409be0678d696ea25a582857486ae3", "sha256": "cb28989c4df85b5a9556684521195a5873a21fcbb77b4eca64790cdfacc67129" }, "downloads": -1, "filename": "mifiel-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "66409be0678d696ea25a582857486ae3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8633, "upload_time": "2018-10-03T02:15:31", "url": "https://files.pythonhosted.org/packages/42/d5/730b68d4bd7fab6c8ccabf789a81f7ec79d27c2bbd7ce171d13c84d19652/mifiel-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1efd4dfdde5ec9b25b180a9369f8d6bc", "sha256": "19d1525d000bb4badd7296407f7a6e989d46fb5b63b09dfadc9a4795177e9886" }, "downloads": -1, "filename": "mifiel-0.0.5.tar.gz", "has_sig": false, "md5_digest": "1efd4dfdde5ec9b25b180a9369f8d6bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5525, "upload_time": "2018-10-03T02:15:32", "url": "https://files.pythonhosted.org/packages/e6/15/c3ae998f768a6c9f0833d0d9b47fd255ac8f445a7fd93c90f944bca74a15/mifiel-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "9464920013df5af394f4ea666b71a4e8", "sha256": "515366a1f69a9455b8d121dacdc0586534d92d0de995a0e4cf245a7c820c2f5c" }, "downloads": -1, "filename": "mifiel-0.0.6.tar.gz", "has_sig": false, "md5_digest": "9464920013df5af394f4ea666b71a4e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5727, "upload_time": "2018-11-07T20:40:10", "url": "https://files.pythonhosted.org/packages/c4/88/775dcc342973a1365c1dc499124d52afcd1102a514686ff2407c1e8ddb9d/mifiel-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9464920013df5af394f4ea666b71a4e8", "sha256": "515366a1f69a9455b8d121dacdc0586534d92d0de995a0e4cf245a7c820c2f5c" }, "downloads": -1, "filename": "mifiel-0.0.6.tar.gz", "has_sig": false, "md5_digest": "9464920013df5af394f4ea666b71a4e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5727, "upload_time": "2018-11-07T20:40:10", "url": "https://files.pythonhosted.org/packages/c4/88/775dcc342973a1365c1dc499124d52afcd1102a514686ff2407c1e8ddb9d/mifiel-0.0.6.tar.gz" } ] }