<commit_before># downloads

[![Build Status](https://travis-ci.org/audy/downloads.svg?branch=master)](https://travis-ci.org/audy/downloads)
[![PyPI version](https://badge.fury.io/py/downloads.svg)](https://badge.fury.io/py/downloads)
[![Documentation](https://readthedocs.org/projects/downloads/badge/?version=latest)](http://downloads.rtfd.io/)
[![Downloads](https://pepy.tech/badge/downloads/month)](https://pepy.tech/project/downloads)

Easier HTTP downloads in Python. Supports 2.7+ and 3.5+.

## Installation

```
pip install downloads
```

## Usage

```python
from downloads import download

download('http://i.imgur.com/ij2h06p.png')<commit_msg>rm rtfd link<commit_after># downloads

[![Build Status](https://travis-ci.org/audy/downloads.svg?branch=master)](https://travis-ci.org/audy/downloads)
[![PyPI version](https://badge.fury.io/py/downloads.svg)](https://badge.fury.io/py/downloads)
[![Downloads](https://pepy.tech/badge/downloads/month)](https://pepy.tech/project/downloads)

Easier HTTP downloads in Python. Supports 2.7+ and 3.5+.

## Installation

```
pip install downloads
```

## Usage

```python
from downloads import download

download('http://i.imgur.com/ij2h06p.png')
{'fraction_non_alphanumeric': 0.19899244332493704, 'fraction_numerical': 0.011754827875734676, 'mean_word_length': 5.478260869565218, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2668966', 'n_tokens_mistral': 462, 'n_tokens_neox': 430, 'n_words': 56}