1Installation
2============
3
4Requirements
5------------
6
7-  `Python <https://www.python.org>`__ 2.7 or 3.4+
8-  ANTLR grammar runtime (4.7 or newer):
9
10   -  `antlr4-python2-runtime <https://pypi.org/project/antlr4-python2-runtime>`__
11      (Python 2.7)
12   -  `antlr4-python3-runtime <https://pypi.org/project/antlr4-python3-runtime>`__
13      (Python 3)
14
15-  `six <https://pypi.org/project/six>`__
16-  `typing <https://pypi.org/project/typing>`__ (Python 3.4)
17
18Install Package
19---------------
20
21Using `pip <https://pip.pypa.io>`__ is highly recommended:
22
23.. code:: bash
24
25    $ pip install stix2-patterns
26
27For more information about installing Python packages, see the `Python
28Packaging User Guide
29<https://packaging.python.org/tutorials/installing-packages/>`__.
30