<commit_before># Requirements File Format

Requirements files serve as a list of items to be installed by pip, when
using {ref}`pip install`.

```{note}
This is NOT a format that other tools should try to consume.

It depends on various internal details of how pip works (eg: pip's CLI
options) and is not designed for interoperability.
```

## Structure

Each line of the requirements file indicates something to be installed,
or arguments to {ref}`pip install`. The following forms are supported:

- `[[--option]...]`
- `<requirement specifier> [; markers] [[--option]...]`
- `<archive url/path>`
- `[-e] <local project path>`
- `[-e] <vcs project url>`
<commit_msg>Explicitly mention requirements.txt, to perform better in web searches<commit_after># Requirements File Format

Requirements files serve as a list of items to be installed by pip, when
using {ref}`pip install`. Files that use this format are often called
"pip requirements.txt files", since `requirements.txt` is usually what
these files are named (although, that is not a requirement).

```{note}
This is NOT a format that other tools should try to consume.

It depends on various internal details of how pip works (eg: pip's CLI
options) and is not designed for interoperability.
```

## Structure

Each line of the requirements file indicates something to be installed,
or arguments to {ref}`pip install`. The following forms are supported:

- `[[--option]...]`
- `<requirement specifier> [; markers] [[--option]...]`
- `<archive url/path>`
- `[-e] <local project path>`
- `[-e] <vcs project url>`

{'fraction_non_alphanumeric': 0.11536010197578075, 'fraction_numerical': 0.0, 'mean_word_length': 4.3583617747440275, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '4618914', 'n_tokens_mistral': 459, 'n_tokens_neox': 431, 'n_words': 216}