Metadata-Version: 2.0
Name: har-extractor
Version: 1.0.1
Summary: HTTP Archive extractor
Home-page: https://github.com/dead-beef/har-extractor
Author: dead-beef
Author-email: contact@dead-beef.tk
License: MIT
Description-Content-Type: UNKNOWN
Keywords: har http archive extractor
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: System :: Archiving
Classifier: Topic :: Utilities
Requires-Python: >=3
Requires-Dist: ijson
Provides-Extra: dev
Requires-Dist: coverage; extra == 'dev'
Requires-Dist: twine (>=1.8.1); extra == 'dev'
Requires-Dist: wheel; extra == 'dev'

har-extractor
=============

.. image:: https://img.shields.io/pypi/v/har-extractor.svg
   :target: https://pypi.python.org/pypi/har-extractor
.. image:: https://img.shields.io/pypi/status/har-extractor.svg
   :target: https://pypi.python.org/pypi/har-extractor
.. image:: https://img.shields.io/pypi/format/har-extractor.svg
   :target: https://pypi.python.org/pypi/har-extractor
.. image:: https://img.shields.io/librariesio/github/dead-beef/har-extractor.svg
   :target: https://libraries.io/pypi/har-extractor
.. image:: https://img.shields.io/pypi/pyversions/har-extractor.svg
   :target: https://python.org
.. image:: https://img.shields.io/pypi/l/har-extractor.svg
   :target: https://github.com/dead-beef/har-extractor/blob/master/LICENSE

Overview
--------

Extractor for
`HAR <https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.html>`__,
HTTP Archive format.

Requirements
------------

-  `Python 3 <https://www.python.org/>`__

Optional
~~~~~~~~

-  `YAJL 2 <https://lloyd.github.io/yajl/>`__
-  `CFFI <https://pypi.python.org/pypi/cffi>`__

Installation
------------

.. code:: bash

    pip install har-extractor

Usage
-----

::

    usage: har-extractor [-h] [-V] [-l] [-o DIRECTORY] [-v] [-nv] [-i] [-ni]
                         [-s] [-ns] [-d] [-nd]
                         FILE

    positional arguments:
      FILE                  HAR file

    optional arguments:
      -h, --help            show this help message and exit
      -V, --version         show program's version number and exit
      -l, --list            list the contents of input file
      -o DIRECTORY, --output DIRECTORY
                            set output directory (default: ./<filename>.d)
      -v, --verbose         turn on verbose output (default)
      -nv, --no-verbose     turn off verbose output
      -i, --iterative       use iterative json parser
      -ni, --no-iterative   do not use iterative json parser (default)
      -s, --strict          exit and delete extracted data after first error
      -ns, --no-strict      ignore errors (default)
      -d, --directories     create url directories (default)
      -nd, --no-directories
                            do not create url directories

Development
-----------

Installation
~~~~~~~~~~~~

.. code:: bash

    git clone https://github.com/dead-beef/har-extractor
    cd har-extractor
    pip install -e .[dev]

Building
~~~~~~~~

.. code:: bash

    ./build.sh

Testing
~~~~~~~

.. code:: bash

    ./test

Licenses
--------

-  `har-extractor <https://github.com/dead-beef/har-extractor/blob/master/LICENSE>`__



