Skip to main content

A Python library to access the AndroZoo data set.

Project description

pyAndroZoo

pyAndroZoo is a Python library to access the AndroZoo data set.

Installation

$ sudo pip install pyAndroZoo

Usage

Retrieve APKs with asynchronous HTTP requests.

Python 3.6.1 (default, Mar 22 2017, 07:04:41)
[GCC 6.2.0 20161005] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyandrozoo
>>> androzoo = pyandrozoo.pyAndroZoo('<YOUR-API-KEY>')

>>> apks = [
    '0000003B455A6C7AF837EF90F2EAFFD856E3B5CF49F5E27191430328DE2FA670',
    '00000439A3FFA123C3F9BC45E5E821351B1A5C276871B36447AB80C74261F354',
    '00000989F3E215BA9FC3BDD5B56AF751343B540C1026BF42AEA8FEBF68874ECC',
    '00000F8EE4F64324BA04356745E946152C2F43ECB63372E89DB79830BADAF1BA',
    '00001112E046D8BBF8B5529A9ECB39920F828209EF4ABFEB95AAB46D41F56A7D',
    '0000143EF8D00E3A65C5C8C380221D00678FED906FDC2EBC483D1987457C7B2B',
    '000014F7037586315DE348D21337B90B83A1C887E247DA8E4CC043702E36DFBA',
    '00001A21E96C4D131B5DC27897E89D23FC35D6D75A4CE1B15D6D30A4E4FC60F1'
]

>>> androzoo.get(apks)

Alternatively you can set the AndroZoo API key in an environment variable:

$ export androzoo_api_key=<YOUR-API-KEY>
Python 3.6.1 (default, Mar 22 2017, 07:04:41)
[GCC 6.2.0 20161005] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyandrozoo
>>> androzoo = pyandrozoo.pyAndroZoo()
>>> androzoo.get(['<SHA256>'])

Contact

Cédric Bonhomme


Release History

0.3 (2017-03-29)

  • retrieve APKs with asynchronous HTTP requests.

0.2 (2017-03-29)

  • the AndroZoo API key can now be set as an environment variable.

0.1 (2017-03-28)

  • first working prototype.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyAndroZoo-0.3.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file pyAndroZoo-0.3.tar.gz.

File metadata

  • Download URL: pyAndroZoo-0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyAndroZoo-0.3.tar.gz
Algorithm Hash digest
SHA256 a006ebb70b529a27f152e256cf3fb9d976f9daa5696095d545dfd8c32ceda33f
MD5 99bed1dfc89f36700d25359b9ba6d407
BLAKE2b-256 bfc1e52d3f2a894240ac35db6130d07454759046f291b5fbbfee63c2dc7c35b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page