<commit_before>python-stix
===========

A python library for parsing, manipulating, and generating STIX v1.2 content.

:Source: https://github.com/STIXProject/python-stix
:Documentation: http://stix.readthedocs.org
:Information: http://stix.mitre.org

|travis badge| |landscape.io badge| |version badge| |downloads badge|

.. |travis badge| image:: https://api.travis-ci.org/STIXProject/python-stix.png?branch=master
   :target: https://travis-ci.org/STIXProject/python-stix
   :alt: Build Status
.. |landscape.io badge| image:: https://landscape.io/github/STIXProject/python-stix/master/landscape.png
   :target: https://landscape.io/github/STIXProject/python-stix/master
   :alt: Code Health
.. |version badge| image:: https://pypip.in/v/stix/badge.png
   :target: https://pypi.python.org/pypi/stix/
.. |downloads badge| image:: https://pypip.in/d/stix/badge.png
   :target: https://pypi.python.org/pypi/stix/


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

The python-stix library can be installed via the distutils setup.py script
included at the root directory:

    $ python setup.py install

The python-stix library is also hosted on `PyPI
<https://pypi.python.org/pypi/stix/>`_ and can be installed with `pip
<https://pypi.python.org/pypi/pip>`_:<commit_msg>Updated front page link from mitre.org to github url<commit_after>python-stix
===========

A python library for parsing, manipulating, and generating STIX v1.2 content.

:Source: https://github.com/STIXProject/python-stix
:Documentation: http://stix.readthedocs.org
:Information: https://stixproject.github.io/

|travis badge| |landscape.io badge| |version badge| |downloads badge|

.. |travis badge| image:: https://api.travis-ci.org/STIXProject/python-stix.png?branch=master
   :target: https://travis-ci.org/STIXProject/python-stix
   :alt: Build Status
.. |landscape.io badge| image:: https://landscape.io/github/STIXProject/python-stix/master/landscape.png
   :target: https://landscape.io/github/STIXProject/python-stix/master
   :alt: Code Health
.. |version badge| image:: https://pypip.in/v/stix/badge.png
   :target: https://pypi.python.org/pypi/stix/
.. |downloads badge| image:: https://pypip.in/d/stix/badge.png
   :target: https://pypi.python.org/pypi/stix/


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

The python-stix library can be installed via the distutils setup.py script
included at the root directory:

    $ python setup.py install

The python-stix library is also hosted on `PyPI
<https://pypi.python.org/pypi/stix/>`_ and can be installed with `pip
<https://pypi.python.org/pypi/pip>`_:
{'fraction_non_alphanumeric': 0.15971675845790717, 'fraction_numerical': 0.0015735641227380016, 'mean_word_length': 4.035643564356436, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 23, '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': '6974003', 'n_tokens_mistral': 918, 'n_tokens_neox': 868, 'n_words': 191}