• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

mixbox/H20-Nov-2020-4,7383,428

mixbox.egg-info/H03-May-2022-7457

PKG-INFOH A D20-Nov-20202.7 KiB7457

README.rstH A D20-May-20201.5 KiB5236

setup.cfgH A D20-Nov-2020402 2519

setup.pyH A D10-Nov-20202.6 KiB7957

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