{ "info": { "author": "Artsiom Kushnariou", "author_email": "kushnerovartem@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "[![Build Status](https://travis-ci.com/ArtemKushnerov/az.svg?branch=master)](https://travis-ci.com/ArtemKushnerov/az)\n\nDownloads specified number of **randomly chosen** apks satisfying specified criteria from androzoo repository. \nSaves specified metadata to *metadata.csv*. dexdate, apksize and vtdetection require specifying lower and upper bounds in format lower:upper, both inclusive. \nOne of the bounds can be omitted (i.e. you can write :upper or lower:) \npkgname, markets, metadata, sha256, sha1, md5 can be either single values or comma separated lists. \nKey and input file can be specified as options or via local or global config file.\nAllows downloading in the multiple threads.\n\n### PREREQUISITES\n- Python 3.6\n\n### INSTALLATION\n\n1. `pip install azoo`\n\n2. create *.az* file in your home directory (~ on Linux \nand macOS, C:\\Users\\%USERNAME% on Windows) or in the directory where you want to invoke `az` from with the following contents: \n```\nkey=%API_KEY% \ninput_file=%PATH_TO_INPUT_FILE%\n```\nAlternatively, use cli options `-k` and `-i`\n\nRequest the api key from androzoo, download and uncompress the input file from here https://androzoo.uni.lu/lists\n\n### CONFIGURATION\nYou can configure api key and input file either using cli options or *.az* configuration file. The file can be placed locally (in directory where you want to invoke `az` from) or globally (in your home directory).\nThe precedence for reading config values is as follows: cli -> local-> global.\n\n### SAMPLE USAGE \n\n `az -n 10 -d 2015-12-11: -s :3000000 -m play.google.com,appchina`\n\nThis means: download 10 apks with the dexdate starting from the\n2015-12-11 (inclusive), size up to 3000000 bytes (inclusive) and present on either play.google.com or appchina\n\n##### Options: \n```\n -n, --number INTEGER Number of apks to download.\n -d, --dexdate TEXT The date on a dex file, format %Y-%m-%d, e.g. 2015-10-03.\n -s, --apksize TEXT Apk size, in bytes.\n -vt, --vtdetection TEXT Virus total rating, integer.\n -pn, --pkgname TEXT Package names.\n -m, --markets TEXT Markets, e.g. play.google.com. Possible values (can differ, since repository is updating): 1mobile,angeeks,anzhi,apk_bang,appchina,fdroid,freewarelovers,genome,hiapk,markets,mi.com,play.google.com,proandroid,slideme,torrents.\n --sha256 TEXT SHA256 hashes.\n --sha1 TEXT SHA1 hashes of apks to download.\n --md5 TEXT MD5 hashes of apks to download.\n -md, --metadata TEXT Metadata. This is a subset of latest.csv column names to keep in metadata.csv. By default sha256,pkg_name,apk_size,dex_date,markets. \n -o, --out TEXT Output folder name. By default current directory.\n -sd, --seed INTEGER Seed for a random algorithm.\n -k, --key TEXT Androzoo api key.\n -i, --input-file TEXT Path to input csv.\n -t, --threads INTEGER Number of threads for concurrent download. 4 by default.\n --version Show the version and exit.\n --help Show this message and exit. \n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ArtemKushnerov/az", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "azoo", "package_url": "https://pypi.org/project/azoo/", "platform": "", "project_url": "https://pypi.org/project/azoo/", "project_urls": { "Homepage": "https://github.com/ArtemKushnerov/az" }, "release_url": "https://pypi.org/project/azoo/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "Downloads apks from androzoo repository https://androzoo.uni.lu/", "version": "1.3.1" }, "last_serial": 5545612, "releases": { "1.2.2": [ { "comment_text": "", "digests": { "md5": "44a70daef3a78269f7a0b2a21db6f7a7", "sha256": "d19fbd6bac882e76514d03319851f1be40df1601b5d4cd9f35ed8d3ccd8de8be" }, "downloads": -1, "filename": "azoo-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "44a70daef3a78269f7a0b2a21db6f7a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16603, "upload_time": "2019-05-24T11:24:08", "url": "https://files.pythonhosted.org/packages/85/be/33d3331294b319898bfdf993dc859aa88622a40ddff03570d23af97c19da/azoo-1.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fcdc240c4d68996ea51555efe30f30bb", "sha256": "64848c736f1708a237021dd8ef112da5129b73b142bd05fb149127ef5366bec2" }, "downloads": -1, "filename": "azoo-1.2.2.tar.gz", "has_sig": false, "md5_digest": "fcdc240c4d68996ea51555efe30f30bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9816, "upload_time": "2019-05-24T11:24:10", "url": "https://files.pythonhosted.org/packages/3a/36/3657162a9a4f421175550f90094aa54f66f765ced4d41e6d46153abf8589/azoo-1.2.2.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "75ae43e79679e347aa475de54c4d9e5a", "sha256": "4083d8f6a8c7c1c1f748094938cb3207b29de3b0427af4af59589da6df4f3879" }, "downloads": -1, "filename": "azoo-1.3.0.tar.gz", "has_sig": false, "md5_digest": "75ae43e79679e347aa475de54c4d9e5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9805, "upload_time": "2019-05-27T17:38:00", "url": "https://files.pythonhosted.org/packages/0c/7a/8151521de5f695ecb52528c448ec8e0940125ffd890dd5e48eb3aa1f4a82/azoo-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "0e2a2b0789f2fbcf2f9567e7dd28fa25", "sha256": "25c40385d72f3572839647acf793a524200a24bf048b73a32a71e64c1478ba6b" }, "downloads": -1, "filename": "azoo-1.3.1.tar.gz", "has_sig": false, "md5_digest": "0e2a2b0789f2fbcf2f9567e7dd28fa25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9911, "upload_time": "2019-07-17T12:26:57", "url": "https://files.pythonhosted.org/packages/39/b6/1ce8d4ff62ebe9e913f5ffe088e818763009f061b1565f967db4a6279758/azoo-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e2a2b0789f2fbcf2f9567e7dd28fa25", "sha256": "25c40385d72f3572839647acf793a524200a24bf048b73a32a71e64c1478ba6b" }, "downloads": -1, "filename": "azoo-1.3.1.tar.gz", "has_sig": false, "md5_digest": "0e2a2b0789f2fbcf2f9567e7dd28fa25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9911, "upload_time": "2019-07-17T12:26:57", "url": "https://files.pythonhosted.org/packages/39/b6/1ce8d4ff62ebe9e913f5ffe088e818763009f061b1565f967db4a6279758/azoo-1.3.1.tar.gz" } ] }