<commit_before>****************************************
HTTPie: a CLI, cURL-like tool for humans
****************************************


HTTPie is a **command line HTTP client**. Its goal is to make CLI interaction
with web services as **human-friendly** as possible. It provides a
simple ``http`` command that allows for sending arbitrary HTTP requests using a
simple and natural syntax, and displays colorized responses. HTTPie can be used
for **testing, debugging**, and generally **interacting** with HTTP servers.


.. image:: https://github.com/jkbr/httpie/raw/master/httpie.png
    :alt: HTTPie compared to cURL
    :width: 835
    :height: 835
    :align: center


------


.. image:: https://raw.github.com/claudiatd/httpie-artwork/master/images/httpie_logo_simple.png
    :alt: HTTPie logo
    :align: center

HTTPie is written in Python, and under the hood it uses the excellent
`Requests`_ and `Pygments`_ libraries.


**Table of Contents**


.. contents::
    :local:
    :depth: 1
    :backlinks: none


=============
Main Features
=============

* Expressive and intuitive syntax
* Formatted and colorized terminal output
* Built-in JSON support
* Forms and file uploads
* HTTPS, proxies, and authentication
* Arbitrary request data
* Custom headers
* Persistent sessions
* Wget-like downloads
* Python 2.6, 2.7 and 3.x support
* Linux, Mac OS X and Windows support
* Documentation
* Test coverage


============
Installation
============

The latest **stable version** of HTTPie can always be installed or updated
to via `pip`_ (prefered) or ``easy_install``:

.. code-block:: bash

    $ pip install --upgrade httpie


If the above doesn't work:

.. code-block:: bash

    $ easy_install httpie


Or, you can install the **development version** directly from GitHub:


.. image:: https://secure.travis-ci.org/jkbr/httpie.png
    :target: http://travis-ci.org/jkbr/httpie
    :alt: Build Status of the master branch


.. code-block:: bash

    $ pip install --upgrade https://github.com/jkbr/httpie/tarball/master


Many Linux distributions provide an ``httpie`` package that can be installed
via the system package manager (e.g. ``yum install httpie`` or
``apt-get install httpie``).


=====
Usage
=====

<commit_msg>Updated installation instructions.<commit_after>****************************************
HTTPie: a CLI, cURL-like tool for humans
****************************************


HTTPie is a **command line HTTP client**. Its goal is to make CLI interaction
with web services as **human-friendly** as possible. It provides a
simple ``http`` command that allows for sending arbitrary HTTP requests using a
simple and natural syntax, and displays colorized responses. HTTPie can be used
for **testing, debugging**, and generally **interacting** with HTTP servers.


.. image:: https://github.com/jkbr/httpie/raw/master/httpie.png
    :alt: HTTPie compared to cURL
    :width: 835
    :height: 835
    :align: center


------


.. image:: https://raw.github.com/claudiatd/httpie-artwork/master/images/httpie_logo_simple.png
    :alt: HTTPie logo
    :align: center

HTTPie is written in Python, and under the hood it uses the excellent
`Requests`_ and `Pygments`_ libraries.


**Table of Contents**


.. contents::
    :local:
    :depth: 1
    :backlinks: none


=============
Main Features
=============

* Expressive and intuitive syntax
* Formatted and colorized terminal output
* Built-in JSON support
* Forms and file uploads
* HTTPS, proxies, and authentication
* Arbitrary request data
* Custom headers
* Persistent sessions
* Wget-like downloads
* Python 2.6, 2.7 and 3.x support
* Linux, Mac OS X and Windows support
* Documentation
* Test coverage


============
Installation
============

The latest **stable version** of HTTPie can always be installed or updated
to via `pip`_ (prefered) or ``easy_install``:

.. code-block:: bash

    $ pip install --upgrade httpie


If the above doesn't work:

.. code-block:: bash

    $ easy_install httpie


Many Linux distributions also provide an ``httpie`` package that can be
installed via the system package manager (e.g. ``yum install httpie`` or
``apt-get install httpie``).


You can install the **development version** of HTTPie directly from GitHub
|travis-master|:


.. |travis-master| image:: https://secure.travis-ci.org/jkbr/httpie.png
    :target: http://travis-ci.org/jkbr/httpie
    :alt: Build Status of the master branch


.. code-block:: bash

    $ pip install --upgrade https://github.com/jkbr/httpie/tarball/master


=====
Usage
=====


{'fraction_non_alphanumeric': 0.15866020273248127, 'fraction_numerical': 0.005288673424416042, 'mean_word_length': 3.966083150984683, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '3451830', 'n_tokens_mistral': 1371, 'n_tokens_neox': 1270, 'n_words': 494}