{ "info": { "author": "Eduardo Arada", "author_email": "eduardo.arada@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Security" ], "description": "Asyncio library for Avast Antivirus\n===================================\n\nasyncio (PEP 3156) Avast Linux support\n\nFeatures\n--------\n\n- Scanning files and/or directories.\n- Checking URLs.\n- Exclude files from the scanning.\n- Get and set the list of enabled or disabled pack and flags.\n\n\nRequirements\n------------\n\n- Python >= 3.3\n- asyncio https://pypi.python.org/pypi/asyncio\n\n\nLicense\n-------\n\n``aioavast`` is offered under the MIT license.\n\n\nSource code\n------------\n\nThe latest developer version is available in a github repository:\nhttps://github.com/earada/aioavast\n\nGetting started\n---------------\n\nScanning\n^^^^^^^^\n\nScan a file and prints its output:\n\n.. code-block:: python\n\n import asyncio\n from aioavast import Avast\n\n @asyncio.coroutine\n def scan(item):\n av = Avast()\n yield from av.connect()\n return (yield from av.scan(item))\n\n if __name__ == '__main__':\n loop = asyncio.get_event_loop()\n results = loop.run_until_complete(scan('/bin/ls'))\n print(results)\n\n\nYou can check an url too:\n\n.. code-block:: python\n\n return (yield from av.checkurl('http://python.org'))\n\n\nExclude items\n^^^^^^^^^^^^^\n\nThere is also a possibility to exclude certain files from being scanned.\n\n.. code-block:: python\n\n import asyncio\n from aioavast import Avast\n\n @asyncio.coroutine\n def dont_scan(item):\n av = Avast()\n yield from av.connect()\n yield from av.exclude(item)\n return (yield from av.scan(item))\n\n if __name__ == '__main__':\n loop = asyncio.get_event_loop()\n results = loop.run_until_complete(scan('/bin/ls'))\n print(results)\n\nYou can retrieve excluded items by:\n\n.. code-block:: python\n\n excluded = yield from av.exclude()\n\n\nOther methods\n^^^^^^^^^^^^^\n\nYou could modify Flags and Packs too.\n\n.. code-block:: python\n\n flags = yield from av.flags()\n yield from av.flags(\"-allfiles\")\n\n packs = yield from av.pack()\n yield from av.flags(\"-ole\")", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/aioavast", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/earada/aioavast", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "aioavast", "package_url": "https://pypi.org/project/aioavast/", "platform": "POSIX", "project_url": "https://pypi.org/project/aioavast/", "project_urls": { "Download": "https://pypi.python.org/pypi/aioavast", "Homepage": "http://github.com/earada/aioavast" }, "release_url": "https://pypi.org/project/aioavast/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Asyncio library for Avast antivirus", "version": "1.0.1" }, "last_serial": 1674188, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8fda96227ee5196183ef2d8453d20d78", "sha256": "bf68973fdcb87e32d465205341956b9aba015ad7c5a6c7684feb93fe6ccfa928" }, "downloads": -1, "filename": "aioavast-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8fda96227ee5196183ef2d8453d20d78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2949, "upload_time": "2015-08-12T08:48:27", "url": "https://files.pythonhosted.org/packages/2f/35/7c134de84c4dae084e4aff4ac94e8919c7912d1f69fed9a44fe4afadbf40/aioavast-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "04baeb52ac730798a4732a56c29bc9c3", "sha256": "14839faa2b08b2e6ce985c09192a3191496c20a268b3c226405f0b507a269698" }, "downloads": -1, "filename": "aioavast-1.0.1.tar.gz", "has_sig": false, "md5_digest": "04baeb52ac730798a4732a56c29bc9c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2965, "upload_time": "2015-08-12T09:52:37", "url": "https://files.pythonhosted.org/packages/d9/27/544a02e1bda34f6afc86a15122711dca37064a2617baaa13fc41331bf66e/aioavast-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04baeb52ac730798a4732a56c29bc9c3", "sha256": "14839faa2b08b2e6ce985c09192a3191496c20a268b3c226405f0b507a269698" }, "downloads": -1, "filename": "aioavast-1.0.1.tar.gz", "has_sig": false, "md5_digest": "04baeb52ac730798a4732a56c29bc9c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2965, "upload_time": "2015-08-12T09:52:37", "url": "https://files.pythonhosted.org/packages/d9/27/544a02e1bda34f6afc86a15122711dca37064a2617baaa13fc41331bf66e/aioavast-1.0.1.tar.gz" } ] }