<commit_before>***************************************************
PackMap - Python Package Dependency Finding Utility
***************************************************

PackMap is a simple utility which finds all dependent packages for a given Python package. It does this by installing the package and all of its dependencies into a clean temporary virtual environment and probing installed components for their actual requirements.

* |PYPI| **GitHub:** `jmvrbanac/PackMap <https://github.com/jmvrbanac/PackMap>`_

.. |PYPI| image:: https://badge.fury.io/py/packmap.svg
	:target: http://badge.fury.io/py/packmap

Installation:
==============
PackMap is available on PyPI and can be installed with pip:
	pip install packmap


Usage:
=======

Checking the dependencies of a package on PyPI:
	packmap lplight --pdf-results

Checking the dependencies of a package on your hard drive:
	packmap lplight --install-type path --install-path /path/to/package --pdf-results


Results:
=========

PackMap output's two different type of results; JSON and PDF.

* JSON results: Gives you the ability to parse through the results for yourself to find changes in version numbers or requirement specs.
* PDF results: Produces an graph for easier viewing and consumption.

.. note::
	The PDF results functionality requires the graphviz system package to be installed.
<commit_msg>README: Be 100% clear about the dependency direction<commit_after>***************************************************
PackMap - Python Package Dependency Finding Utility
***************************************************

PackMap is a simple utility which finds all packages required by a given Python package. It does this by installing the package and all of its dependencies into a clean temporary virtual environment and probing installed components for their actual requirements.

* |PYPI| **GitHub:** `jmvrbanac/PackMap <https://github.com/jmvrbanac/PackMap>`_

.. |PYPI| image:: https://badge.fury.io/py/packmap.svg
	:target: http://badge.fury.io/py/packmap

Installation:
==============
PackMap is available on PyPI and can be installed with pip:
	pip install packmap


Usage:
=======

Checking the dependencies of a package on PyPI:
	packmap lplight --pdf-results

Checking the dependencies of a package on your hard drive:
	packmap lplight --install-type path --install-path /path/to/package --pdf-results


Results:
=========

PackMap output's two different type of results; JSON and PDF.

* JSON results: Gives you the ability to parse through the results for yourself to find changes in version numbers or requirement specs.
* PDF results: Produces an graph for easier viewing and consumption.

.. note::
	The PDF results functionality requires the graphviz system package to be installed.

{'fraction_non_alphanumeric': 0.1559003969686034, 'fraction_numerical': 0.0010826416456153013, 'mean_word_length': 4.923076923076923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6215856', 'n_tokens_mistral': 724, 'n_tokens_neox': 682, 'n_words': 321}