Skip to main content

Analysis of Python libraries and code that uses them.

Project description

Library Analyzer

PyPI Main codecov Documentation Status

Analysis of Python libraries and code that uses them.


You can find the full documentation here.


Get the latest version from PyPI:

pip install library-analyzer

Example usage

  1. Analyze the API of a library:
    analyze-library api -p sklearn -o out
  2. Analyze client code of a library:
    analyze-library usages -p sklearn -c "Kaggle Kernels" -o out
  3. Generate annotations for the library:
    analyze-library annotations -a data/api/sklearn__api.json -u data/usages/sklearn__usage_counts.json -o out/annotations.json
  4. Migrate annotations for a new version of the library:
    analyze-library migrate -a1 data/api/scikit-learn_v0.24.2_api.json -a2 data/api/sklearn__apiv2.json -a data/annotations/annotations.json -o out

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

library_analyzer-0.1.1.tar.gz (94.6 kB view hashes)

Uploaded source

Built Distribution

library_analyzer-0.1.1-py3-none-any.whl (125.9 kB view hashes)

Uploaded py3

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