<commit_before>
# The extra lightweight dependencies installer

You define your dependencies in a file named `dependencies.json` at top
of your project. This file is an object with properties defining the
folders that needs code and values pointing to
urls of third-party release artifacts (with optional checksum).
The fragment part in the url can be added to point a subdirectory
in the release (eg a src/ folder).

Then run `install-dependencies`.

The archives are downloaded only once and saved to
`~/.install-dependencies` but you can change
the location with `env INSTALL_DEPENDENCIES_HOME`.

```bash
cat << 'JSON' > dependencies.json
{
  "library/Zend":
    "https://github.com/zendframework/zf1/archive/release-1.12.3.zip#library/Zend",
  "library/PHPThumb":
    "https://github.com/masterexploder/PHPThumb/archive/v1.0-final.zip#src",<commit_msg>Update title in README.md<commit_after># Install Dependencies

You define your dependencies in a file named `dependencies.json` at top
of your project. This file is an object with properties defining the
files that needs code and values pointing to
urls of third-party release artifacts (with optional checksum).
The fragment part in the url can be added to point a subdirectory
in the release zip (eg a src/ folder).

Then run `install-dependencies`.

The archives are downloaded only once and saved to
`~/.install-dependencies` but you can change
the location with `env INSTALL_DEPENDENCIES_HOME`.

```bash
cat << 'JSON' > dependencies.json
{
  "library/Zend":
    "https://github.com/zendframework/zf1/archive/release-1.12.3.zip#library/Zend",
  "library/PHPThumb":
    "https://github.com/masterexploder/PHPThumb/archive/v1.0-final.zip#src",
{'fraction_non_alphanumeric': 0.09347442680776014, 'fraction_numerical': 0.00823045267489712, 'mean_word_length': 4.598684210526316, 'pattern_counts': {'":': 4, '<': 7, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1932395', 'n_tokens_mistral': 511, 'n_tokens_neox': 495, 'n_words': 190}