Skip to main content

parsing the Python deps and generating graph data

Project description

The py-dep provides parsing the dependencies of Python packages and generating the metadata for graph.

The graph data is for NetworkX, Linkdraw, etc.

Status

https://secure.travis-ci.org/mkouhei/py-deps.png?branch=master https://coveralls.io/repos/mkouhei/py-deps/badge.png?branch=master https://img.shields.io/pypi/v/py-deps.svg Documentation Status

Requirements

  • Python 3.8

  • setuptools 46.1.0 over

  • pip 20.0. over

  • NetworkX 2.4 over

  • pylibmc 1.6.1 over (optional)

Features

  • Generating Linkdraw data (JSON and decoded JSON).

  • Generating Networkx DiGraph object data.

  • Cache the parsed dependencies.

  • Searching packages from PyPI.

History

1.0.1 (2020-09-19)

  • Fixes raise-missing-from, super-with-arguments pylint violations.

1.0.0 (2020-05-16)

  • Updates dependencies.

  • Refactors.

  • Supports Python 3.8 only.

0.5.5 (2015-08-19)

  • Adds TimeoutError, ConnectionRefusedError / socket.error exceptions.

  • Adds error handling the PyPI service down.

  • Changes Sphinx theme to sphinx_rtd_theme.

  • Adds counter of the each depth.

0.5.4 (2015-07-22)

  • Adds latest_version function.

  • Adds link_prefix for overriding node link.

0.5.3 (2015-07-19)

  • Adds exception InvalidMetadata type.

0.5.2 (2015-07-15)

  • Fixes duplicated line of linkdraw.

  • Changes linkdraw colors by dependencies depth.

  • Adds depth property to graph nodes.

  • Adds parsing the package dependency depth.

0.5.1 (2015-07-12)

  • Changes Package.search method to a function.

  • Fixes infinity loop trace_chain.

  • Fixes None redundant second argument of dict.get().

  • Fixes len() used to check if collection has items.

  • Fixes old-style string formatting.

0.5.0 (2015-06-22)

  • Supports memcached as the backend of cache.

0.4.6 (2015-06-11)

  • Fixes not control the version of package correctly.

0.4.5 (2015-06-07)

  • Adds disable time, descr for Linkdraw.

0.4.4 (2015-06-03)

  • Removes debug print.

0.4.3 (2015-06-02)

  • Adds JSON decoder for Linkdraw.

0.4.2 (2015-05-31)

  • Fixes #7 not handling the failure of python setup egg_info.

  • Adds py_deps.exceptions module.

  • Adds py_deps.logger module.

  • Fixes issues of DistributionNotFound, InstallationErrror.

0.4.1 (2015-05-28)

  • Adds Container.list_data method.

  • Unsupports wheel format for distribution.

0.4.0 (2015-05-20)

  • Searching packages from PyPI.

0.3.0 (2015-05-12)

  • Supports NetworkX DiGraph objects.

  • Changes to use mock instead of pip.req.RequirementSet.prepare_files.

  • Coverage 98% over.

0.2.0 (2015-05-10)

  • Cache the parsed dependencies.

  • Fixes setting the url of node and targets.

0.1.1 (2015-05-08)

  • Fixes test data of pretty_print, linkdraw.

0.1.0 (2015-05-07)

  • Supports generating linkdraw data.

  • Supports pip 6.1.1 over.

  • Supports wheel format for distribution.

  • Adds unit tests.

0.0.1 (2015-04-29)

  • First release

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

py-deps-1.0.1.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

py_deps-1.0.1-py2.py3-none-any.whl (24.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file py-deps-1.0.1.tar.gz.

File metadata

  • Download URL: py-deps-1.0.1.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.6rc1

File hashes

Hashes for py-deps-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4520bb13f4550d2450ad71660b082d17c90e1b486450e1d4ee3409ef9c26c8e1
MD5 c2873d049907bb4a676200a1d438eddf
BLAKE2b-256 430bfc04485ac4f5c9409bde8ed455f1d86c3d42e62a9366e5735d552525e617

See more details on using hashes here.

File details

Details for the file py_deps-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: py_deps-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.6rc1

File hashes

Hashes for py_deps-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 28988141ba2b353f935e4c0794c4c82cceacb71d8d761004415549436cfb0e94
MD5 7af9830d82eacde553e4b8246132ab36
BLAKE2b-256 173b848ec12c34b85dafe577d162cc22c820efe3b70184c6963a001ebda3d43b

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