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

HTTPie (pronounced *aitch-tee-tee-pie*) 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 output. HTTPie can be used for **testing, debugging**, and
generally **interacting** with HTTP servers.


.. image:: https://raw.githubusercontent.com/jkbrzt/httpie/master/httpie.png
    :alt: HTTPie compared to cURL
    :width: 679
    :height: 781
    :align: center


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


-----

|pypi| |unix_build| |windows_build| |coverage| |gitter|

-----


.. 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
* Plugins
* Documentation
* Test coverage


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


On **Mac OS X**, HTTPie can be installed via `Homebrew <http://brew.sh/>`_
(recommended):

.. code-block:: bash

    $ brew install httpie


A MacPorts *port* is also available:

.. code-block:: bash

    $ port install httpie


Most **Linux** distributions provide a package that can be installed using the
system package manager, e.g.:

.. code-block:: bash

    # Debian-based distributions such as Ubuntu:
    $ apt-get install httpie

    # RPM-based distributions:
    $ yum install httpie


A **universal installation method** (that works on **Windows**, Mac OS X, Linux, …,
and provides the latest version) is to use `pip`_:


.. code-block:: bash

    # Make sure we have an up-to-date version of pip and setuptools:
    $ pip install --upgrade pip setuptools

    $ pip install --upgrade httpie


(If ``pip`` installation fails for some reason, you can try
``easy_install httpie`` as a fallback.)


-------------------
Development version
-------------------

The **latest development version** can be installed directly from GitHub:

.. code-block:: bash<commit_msg>Updated README.rst to add Arch Linux install docs.<commit_after>****************************************
HTTPie: a CLI, cURL-like tool for humans
****************************************

HTTPie (pronounced *aitch-tee-tee-pie*) 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 output. HTTPie can be used for **testing, debugging**, and
generally **interacting** with HTTP servers.


.. image:: https://raw.githubusercontent.com/jkbrzt/httpie/master/httpie.png
    :alt: HTTPie compared to cURL
    :width: 679
    :height: 781
    :align: center


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


-----

|pypi| |unix_build| |windows_build| |coverage| |gitter|

-----


.. 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
* Plugins
* Documentation
* Test coverage


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


On **Mac OS X**, HTTPie can be installed via `Homebrew <http://brew.sh/>`_
(recommended):

.. code-block:: bash

    $ brew install httpie


A MacPorts *port* is also available:

.. code-block:: bash

    $ port install httpie


Most **Linux** distributions provide a package that can be installed using the
system package manager, e.g.:

.. code-block:: bash

    # Debian-based distributions such as Ubuntu:
    $ apt-get install httpie

    # RPM-based distributions:
    $ yum install httpie
    
    # Arch Linux
    $ pacman -S httpie


A **universal installation method** (that works on **Windows**, Mac OS X, Linux, …,
and provides the latest version) is to use `pip`_:


.. code-block:: bash

    # Make sure we have an up-to-date version of pip and setuptools:
    $ pip install --upgrade pip setuptools

    $ pip install --upgrade httpie


(If ``pip`` installation fails for some reason, you can try
``easy_install httpie`` as a fallback.)


-------------------
Development version
-------------------

The **latest development version** can be installed directly from GitHub:

.. code-block:: bash
{'fraction_non_alphanumeric': 0.15869565217391304, 'fraction_numerical': 0.0047430830039525695, 'mean_word_length': 3.563570784490532, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7163242', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1380, 'n_words': 589}