Metadata-Version: 2.1
Name: kaitaistruct
Version: 0.8
Summary: Kaitai Struct declarative parser generator for binary data: runtime library for Python
Home-page: http://kaitai.io
Author: Kaitai Project
Author-email: greycat@kaitai.io
License: MIT
Keywords: kaitai,struct,ksy,declarative,data structure,data format,file format,packet format,binary,parser,parsing,unpack,development
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy

Kaitai Struct: runtime library for Python
===========================================

This library implements Kaitai Struct API for Python.

`Kaitai Struct <http://kaitai.io>`_ is a declarative language used for
describe various binary data structures, laid out in files or in memory:
i.e. binary file formats, network stream packet formats, etc.

It is similar to `Python's Construct 2.9 <http://construct.readthedocs.org/>`_ but it is
language-agnostic. The format description is done in YAML-based .ksy
format, which then can be compiled into a wide range of target languages.

Further reading:

* `About Kaitai Struct <http://kaitai.io/>`_
* `About API implemented in this library <http://doc.kaitai.io/stream_api.html>`_
* `Python specific notes <http://doc.kaitai.io/lang_python.html>`_

Installing
------------------------------

Using `requirements.txt`
------------------------------

If you want to use Kaitai Struct runtime in your project and you use
`requirements.txt` to manage your dependencies, just add the following
line to it:

::

    kaitaistruct

and then run `pip install -r requirements.txt` to update all your
dependencies.

Using `pip` directly
------------------------------

You can use

::

    pip install kaitaistruct

to install the package manually using `pip` Python package manager.

Licensing
------------------------------

Copyright 2015-2018 Kaitai Project: MIT license

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
