Installation¶
Requirements¶
- Python 2.7 or 3.4+
- ANTLR grammar runtime (4.7 or newer):
- antlr4-python2-runtime (Python 2.7)
- antlr4-python3-runtime (Python 3)
- six
- typing (Python 3.4)
Install Package¶
Using pip is highly recommended:
$ pip install stix2-patterns
For more information about installing Python packages, see the Python Packaging User Guide.