Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
mixbox/ | H | 20-Nov-2020 | - | 4,738 | 3,428 | |
mixbox.egg-info/ | H | 03-May-2022 | - | 74 | 57 | |
PKG-INFO | H A D | 20-Nov-2020 | 2.7 KiB | 74 | 57 | |
README.rst | H A D | 20-May-2020 | 1.5 KiB | 52 | 36 | |
setup.cfg | H A D | 20-Nov-2020 | 402 | 25 | 19 | |
setup.py | H A D | 10-Nov-2020 | 2.6 KiB | 79 | 57 |
README.rst
1mixbox 2====== 3 4A library of common code leveraged by python-cybox, python-maec, and python-stix. 5 6|travis_badge| |landscape_io_badge| |version_badge| 7 8.. |travis_badge| image:: https://api.travis-ci.org/CybOXProject/mixbox.svg?branch=master 9 :target: https://travis-ci.org/CybOXProject/mixbox 10 :alt: Build Status 11.. |landscape_io_badge| image:: https://landscape.io/github/CybOXProject/mixbox/master/landscape.svg?style=flat 12 :target: https://landscape.io/github/CybOXProject/mixbox/master 13 :alt: Code Health 14.. |version_badge| image:: https://img.shields.io/pypi/v/mixbox.svg?maxAge=3600 15 :target: https://pypi.python.org/pypi/mixbox/ 16 :alt: Version 17 18 19Developing 20---------- 21 22To set up an environment to develop `mixbox`: 23 24.. code:: bash 25 26 # Create a new virtualenv 27 $ mkvirtualenv mixbox 28 29 # Change to this directory and install requirements 30 $ cd /path/to/mixbox 31 $ pip install -r requirements.txt 32 33 # Install python-cybox, python-maec, and python-stix in "develop" mode. 34 $ pip install -e /path/to/python-cybox 35 $ pip install -e /path/to/python-maec 36 $ pip install -e /path/to/python-stix 37 38 39Then you can make changes to the `mixbox` library and ensure the test cases for 40the corresponding projects continue to pass (using `tox` or `nosetests`). 41 42Releasing 43--------- 44 45.. code:: bash 46 47 $ bumpversion patch 48 $ git push origin master --tags 49 $ rm dist/* 50 $ python setup.py sdist bdist_wheel 51 $ twine upload dist/* 52