{ "info": { "author": "Scott Blevins", "author_email": "sblevins@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "PyScanii\n========\n\nA Python module for using the `scanii.com `__ API.\n\nInstalling / Upgrading\n----------------------\n\n``$ pip install -U PyScanii``\n\nUsage\n-----\n\n.. code:: python\n\n >>> from PyScanii import PyScanii\n >>> pyscanii = PyScanii('SOMEAPIKEY', 'SECRET', verbose=True) # Verbose is good while integrating / debugging.\n\n # You can ping to see if things are set up properly.\n >>> pyscanii.ping()\n {u'message': u'pong', u'key': u'SOMEAPIKEY'}\n\n # There is a .test method that sends the EICAR test string.\n # WARNING: Costs a scan credit.\n\n >>> pyscanii.test()\n\n # It will populate the files list like any other scan.\n >>> pyscanii.files[0].infected\n True\n\n # .scan() is the main method.\n # It can accept single strings or paths.\n # It can also accept a list or tuple of either of those things.\n >>> pyscanii.scan('X5O!P%@AP[4\\\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*')\n # The files property contains a list of ScanFile instances:\n\n >>> pyscanii.files[0]\n (563ef4b7836060b3bb9d0cba3e6a5f84) string.bin - Infected: True - Findings: [u'av.eicar-test-signature']\n\n >>> str(pyscanii.files[0])\n '{\"content_length\": 68, \"infected\": true, \"name\": \"string.bin\", \"content_type\": \"text/plain\", \"checksum\": \"3395856ce81f2b7382dee72602f798b642f14140\", \"metadata\": {}, \"id\": \"563ef4b7836060b3bb9d0cba3e6a5f84\", \"findings\": [\"av.eicar-test-signature\"], \"creation_date\": \"2016-04-05T14:57:35.989Z\"}'\n\n >>> pyscanii.files[0].infected\n True\n\n >>> pyscanii.files[0].findings\n [u'av.eicar-test-signature']\n\n # You can also, of course, scan file paths:\n\n >>> pyscanii.scan('~/Desktop/IMG_0011.jpeg')\n\n >>> pyscanii.files[0].infected\n False\n\n >>> pyscanii.files[0].findings\n []\n\n # The last_file property is good when you've only scanned one file:\n >>> pyscanii.last_file\n (d0e6345ea2ceb9c1f260c8e249f933df) ~/Desktop/IMG_0011.jpeg - Infected: False - Findings: []\n\n >>> pyscanii.last_file.infected\n False\n\nCHANGES\n=======\nVersion 1.1.3 - 06 April 2016\n\n * First production version.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/smeggingsmegger/PyScanii", "keywords": "Scan,Virus,Scanii,API", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "PyScanii", "package_url": "https://pypi.org/project/PyScanii/", "platform": "OS Independent", "project_url": "https://pypi.org/project/PyScanii/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/smeggingsmegger/PyScanii" }, "release_url": "https://pypi.org/project/PyScanii/1.1.4/", "requires_dist": null, "requires_python": null, "summary": "A Python wrapper for Scanii.com", "version": "1.1.4" }, "last_serial": 2050434, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0c9c9a5d0a65a990c96cbe1bce9a95d7", "sha256": "e85067526e0a6850737adcb9c91a550b40eb6ef4dce8eaeceb5b99ae29b686c3" }, "downloads": -1, "filename": "PyScanii-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0c9c9a5d0a65a990c96cbe1bce9a95d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2166, "upload_time": "2016-04-04T18:22:54", "url": "https://files.pythonhosted.org/packages/cb/92/29fa7a5e84cccecb11d57a6cb03db5e2233a2ef0f91847bff5e58ff52696/PyScanii-1.0.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "a948ebcf0a6776653ff17999cc736541", "sha256": "1762fe3713afb0ffe4c96815db0e018edb0d19b2b4c3502d4180b66c13ae67a5" }, "downloads": -1, "filename": "PyScanii-1.1.1.tar.gz", "has_sig": false, "md5_digest": "a948ebcf0a6776653ff17999cc736541", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2558, "upload_time": "2016-04-05T14:42:49", "url": "https://files.pythonhosted.org/packages/02/ce/c6f684e8ce4749cd6fd2aa771b52fb11b7e1b3d6c1e42325f0d5ce45ebfa/PyScanii-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "019b7096e8711808037986dab399b019", "sha256": "8ca1e7073ed15787404660b2663b32062f7bace9d15c075ed05880110df37ae1" }, "downloads": -1, "filename": "PyScanii-1.1.2.tar.gz", "has_sig": false, "md5_digest": "019b7096e8711808037986dab399b019", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3519, "upload_time": "2016-04-07T01:11:28", "url": "https://files.pythonhosted.org/packages/a2/5b/f4abdbed91e507203ba7b3b43180e657d26e8a4dc3175a091eef8c9ade86/PyScanii-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "2e827ca491543a436bbc491a5e6b70f0", "sha256": "e775bf00bf386b58fa4f136b9625e1cd0ebe6fda457ca2f9abb69a0072591b59" }, "downloads": -1, "filename": "PyScanii-1.1.3.tar.gz", "has_sig": false, "md5_digest": "2e827ca491543a436bbc491a5e6b70f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3755, "upload_time": "2016-04-07T01:30:46", "url": "https://files.pythonhosted.org/packages/74/04/af7375f09bcb6b82123cf1850d24ad6764b90b05f116cb7cf010f7f8bd01/PyScanii-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "fed9745ba0a764342351b5df291537bf", "sha256": "0b7befba9f425d37032feeed492463e92808e54a9a4f7ed42d8bbdd78cbf74f5" }, "downloads": -1, "filename": "PyScanii-1.1.4.tar.gz", "has_sig": false, "md5_digest": "fed9745ba0a764342351b5df291537bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3740, "upload_time": "2016-04-07T01:32:17", "url": "https://files.pythonhosted.org/packages/ed/b9/c8284fd789f73c885bc0c099e168091d542ea31f8f502826811cda5f4ed7/PyScanii-1.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fed9745ba0a764342351b5df291537bf", "sha256": "0b7befba9f425d37032feeed492463e92808e54a9a4f7ed42d8bbdd78cbf74f5" }, "downloads": -1, "filename": "PyScanii-1.1.4.tar.gz", "has_sig": false, "md5_digest": "fed9745ba0a764342351b5df291537bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3740, "upload_time": "2016-04-07T01:32:17", "url": "https://files.pythonhosted.org/packages/ed/b9/c8284fd789f73c885bc0c099e168091d542ea31f8f502826811cda5f4ed7/PyScanii-1.1.4.tar.gz" } ] }