{ "info": { "author": "Mariano Reingart", "author_email": "reingart@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Financial and Insurance Industry", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: Spanish", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Office/Business :: Financial :: Point-Of-Sale", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Object Brokering" ], "description": "pyafipws\n========\n\nPyAfipWs contains Python modules to operate with web services regarding\nAFIP (Argentina's \"IRS\") and other government agencies, mainly related\nto electronic invoicing, several taxes and traceability.\n\nCopyright 2008 - 2016 (C) Mariano Reingart reingart@gmail.com (creator\nand maintainter). All rights reserved.\n\nLicense: GPLv3+, with \"commercial\" exception available to include it and\ndistribute with propietary programs\n\nGeneral Information:\n--------------------\n\n- Main Project Site: https://github.com/reingart/pyafipws (git\n repository)\n- Mirror (Historic): https://code.google.com/p/pyafipws/ (mercurial\n repository)\n- User Manual:\n (http://www.sistemasagiles.com.ar/trac/wiki/ManualPyAfipWs (Spanish)\n- Documentation: https://github.com/reingart/pyafipws/wiki\n (Spanish/English)\n- Commercial Support: http://www.sistemasagiles.com.ar/ (Spanish)\n- Community Site: http://www.pyafipws.com.ar/ (Spanish)\n- Public Forum: http://groups.google.com/group/pyafipws\n\nMore information at `Python Argentina Magazine\narticle `__\n(English) and `JAIIO 2012\npaper `__\n(Spanish)\n\nProject Structure:\n------------------\n\n- `Python\n library `__\n (a helper class for each webservice for easy use of their methods and\n attributes)\n- `PyAfipWs `__:\n `OCX-like `__\n Windows Component-Object-Model interface compatible with legacy\n programming languages (VB, VFP, Delphi, PHP, VB.NET, etc.)\n- `LibPyAfipWs `__:\n `DLL/.so `__\n compiled shared library (exposing python methods to C/C++/C#)\n- `Console `__\n (command line) tools using simplified input & ouput files\n- `PyRece `__ GUI\n and\n `FacturaLibre `__\n WEB apps as complete reference implementations\n- Examples for Java, .NET (C#, VB.NET), Visual Basic, Visual Fox Pro,\n Delphi, C, PHP.\n- Minor code fragment samples for SAP (ABAP), PowerBuilder, Fujitsu Net\n Cobol, Clarion, etc.\n- Modules for\n `OpenERP/Odoo `__ -\n `Tryton `__\n\nFeatures implemented:\n---------------------\n\n- Supported alternate interchange formats: TXT (fixed lenght COBOL),\n CSV, DBF (Clipper/xBase/Harbour), XML, JSON, etc.\n- Full automation to request authentication and invoice authorization\n (CAE, COE, etc.)\n- Advanced XML manipulation, caching and proxy support.\n- Customizable PDF generation and visual designer (CSV templates)\n- Email, barcodes (PIL), installation (NSIS), configuration (.INI),\n debugging and other misc utilities\n\nWeb services supported so far:\n------------------------------\n\nAFIP:\n\n- `WSAA `__:\n authorization & authentication, including digital cryptographic\n signature\n- `WSFEv1 `__:\n domestic market (electronic invoice)\n -`English `__-\n- `WSMTXCA `__:\n domestic market (electronic invoice) -detailing articles and\n barcodes-\n- `WSBFEv1 `__:\n tax bonus (electronic invoice)\n- `WSFEXv1 `__:\n foreign trade (electronic invoice)\n -`English `__-\n- `WSCTG `__:\n agriculture (grain traceability code)\n- `WSLPG `__:\n agriculture (grain liquidation - invoice)\n- `wDigDepFiel `__:\n customs (faithful depositary)\n- `WSCOC `__:\n currency exchange operations autorization\n- `WSCDC `__:\n invoice verification\n- `Taxpayers'\n Registe `__:\n database to check sellers and buyers register\n\nARBA:\n\n- `COT `__:\n Provincial Operation Transport Code (aka electronic Shipping note)\n\nANMAT/SEDRONAR/SENASA (SNT):\n\n- `TrazaMed `__:\n National Medical Drug Traceability Program\n- `TrazaRenpre `__:\n Controlled Chemical Precursors Traceability Program\n- `TrazaFito `__:\n Phytosanitary Products Traceability Program\n\nInstallation Instructions:\n--------------------------\n\nQuick-Start\n-----------\n\nOn Ubuntu (GNU/Linux), you will need to install httplib2 and openssl\nbinding. Then you can download the compressed file, unzip it and use:\n\n::\n\n sudo apt-get install python-httplib2 python-m2crypto\n wget https://github.com/reingart/pyafipws/archive/master.zip\n unzip master.zip\n cd pyafipws-master\n sudo pip install -r requirements.txt\n\n**Note:** M2Crypto is optional, the library will use OpenSSL directly\n(using subprocess)\n\nYou'll need a digital certificate (.crt) and private key (.key) to\nauthenticate (see `certificate\ngeneration `__\nfor more information and instructions). Provisionally, you can use\nauthor's testing certificate/key:\n\n::\n\n wget https://www.sistemasagiles.com.ar/soft/pyafipws/reingart.zip\n unzip reingart.zip\n\nYou should configure ``rece.ini`` to set up paths and URLs if using\nother values than defaults.\n\nThen, you could execute ``WSAA`` script to authenticate (getting Token\nand Sign) and ``WSFEv1`` to process an electronic invoice:\n\n::\n\n python wsaa.py\n python wsfev1.py --prueba\n\nWith the last command, you should get the Electronic Autorization Code\n(CAE) for testing purposes (sample invoice data, do not use in\nproduction!).\n\nVirtual environment (testing):\n------------------------------\n\nThe following commands clone the repository, creates a virtualenv and\ninstall the packages there (including the latest versions of the\ndependencies) to avoid conflicts with other libraries:\n\n::\n\n sudo apt-get install python-dev swig python-virtualenv mercurial python-pip libssl-dev python-dulwich\n hg clone git+https://github.com/reingart/pyafipws.git --config extensions.hggit=\n cd pyafipws\n virtualenv venv\n source venv/bin/activate\n pip install -r requirements.txt\n\n**Note:** For convenience, development is done using mercurial; You\ncould use `hg-git `__ or git directly.\n\nDependency installation (development):\n--------------------------------------\n\nFor SOAP webservices\n`PySimpleSOAP `__ is\nneeded (spin-off of this library, inspired by the PHP SOAP extension):\n\n::\n\n hg clone git+https://github.com/pysimplesoap/pysimplesoap.git --config extensions.hggit=\n cd pysimplesoap\n hg up reingart\n python setup.py install\n\nUse \"stable\" branch reingart (see ``requirements.txt`` for more\ninformation)\n\nFor PDF generation, you will need the\n`PyFPDF `__ (PHP's FPDF library,\npython port):\n\n::\n\n hg clone git+https://github.com/reingart/pyfpdf.git --config extensions.hggit=\n cd pyfpdf\n python setup.py install\n\nFor the GUI app, you will need `wxPython `__:\n\n::\n\n sudo apt-get install wxpython\n\nPythonCard is being replaced by\n`gui2py `__:\n\n::\n\n pip install gui2py\n\nFor the WEB app, you will need `web2py `__.\n\nOn Windows, you can see available installers released for evaluation\npurposes on `Download\nReleases `__\n\nFor more information see the source code installation steps in the\n`wiki `__", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/reingart/pyafipws", "keywords": "webservice electronic invoice pdf traceability", "license": "GNU GPL v3+", "maintainer": null, "maintainer_email": null, "name": "PyAfipWs", "package_url": "https://pypi.org/project/PyAfipWs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyAfipWs/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/reingart/pyafipws" }, "release_url": "https://pypi.org/project/PyAfipWs/2.7.1874/", "requires_dist": null, "requires_python": null, "summary": "Interfases, tools and apps for Argentina's gov't. webservices (soap, com/dll, pdf, dbf, xml, etc.)", "version": "2.7.1874" }, "last_serial": 2335458, "releases": { "2.7.1504": [ { "comment_text": "", "digests": { "md5": "a2b35308db7dec1abd2356b9c8506568", "sha256": "73437af1ae9db974d4f1bbb5057e6aeaeb063e2af6b2ebdb1c1537429ae932c1" }, "downloads": -1, "filename": "PyAfipWs-2.7.1504.tar.gz", "has_sig": false, "md5_digest": "a2b35308db7dec1abd2356b9c8506568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 232861, "upload_time": "2015-01-21T03:40:45", "url": "https://files.pythonhosted.org/packages/73/fa/29f76d5bcab68f3f2e8fd854192ba09b1201125c678b86d34d5b0e564abc/PyAfipWs-2.7.1504.tar.gz" } ], "2.7.1512": [ { "comment_text": "", "digests": { "md5": "78a99dfb96a44d50587cfe3e94e19ddf", "sha256": "5ebadedec1543065f2d61524f63599c5c34763bbfc188b343e89ac005bc2ad8f" }, "downloads": -1, "filename": "PyAfipWs-2.7.1512.tar.gz", "has_sig": false, "md5_digest": "78a99dfb96a44d50587cfe3e94e19ddf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 233059, "upload_time": "2015-01-21T06:58:43", "url": "https://files.pythonhosted.org/packages/58/3a/d9e4ae54ff5bede482a648524bf2a951eac05bf1629825da68221b1bbdb5/PyAfipWs-2.7.1512.tar.gz" } ], "2.7.1858": [], "2.7.1859": [ { "comment_text": "", "digests": { "md5": "586b806c8a3317dcfa116ca731c7e65a", "sha256": "27e89596bc44aafe9be561e2a30cd676c9ca5f3ad6848e8bdc88cabe1012b33c" }, "downloads": -1, "filename": "PyAfipWs-2.7.1859.tar.gz", "has_sig": false, "md5_digest": "586b806c8a3317dcfa116ca731c7e65a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 257061, "upload_time": "2016-09-03T17:39:41", "url": "https://files.pythonhosted.org/packages/b4/1b/8ad87af69b1da31f11d677841cf3f16bf6c471111376993c3b43fa800116/PyAfipWs-2.7.1859.tar.gz" } ], "2.7.1874": [ { "comment_text": "", "digests": { "md5": "a8638264810892fec450e25d568638ce", "sha256": "e619f43c967066f780af43baf5f5f9fc293e730fbab4605dadf1c2e2f4adab9e" }, "downloads": -1, "filename": "PyAfipWs-2.7.1874.tar.gz", "has_sig": false, "md5_digest": "a8638264810892fec450e25d568638ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 336531, "upload_time": "2016-09-10T21:22:03", "url": "https://files.pythonhosted.org/packages/07/c3/c11be86d13d875ca23c4e892030f7f973af84f4faef8f5b86d14df326cd7/PyAfipWs-2.7.1874.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a8638264810892fec450e25d568638ce", "sha256": "e619f43c967066f780af43baf5f5f9fc293e730fbab4605dadf1c2e2f4adab9e" }, "downloads": -1, "filename": "PyAfipWs-2.7.1874.tar.gz", "has_sig": false, "md5_digest": "a8638264810892fec450e25d568638ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 336531, "upload_time": "2016-09-10T21:22:03", "url": "https://files.pythonhosted.org/packages/07/c3/c11be86d13d875ca23c4e892030f7f973af84f4faef8f5b86d14df326cd7/PyAfipWs-2.7.1874.tar.gz" } ] }