{ "info": { "author": "OASIS Cyber Threat Intelligence Technical Committee", "author_email": "cti-users@lists.oasis-open.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Security" ], "description": "|Build_Status| |Coverage| |Version|\n\n================\ncti-taxii-client\n================\n\nNOTE: This is an `OASIS TC Open Repository\n`_. See the\n`Governance`_ section for more information.\n\ncti-taxii-client is a minimal client implementation for the TAXII 2.0 server.\nIt supports the following TAXII 2.0 API services:\n\n- Server Discovery\n- Get API Root Information\n- Get Status\n- Get Collections\n- Get a Collection\n- Get Objects\n- Add Objects\n- Get an Object\n- Get Object Manifests\n\nInstallation\n============\n\nThe easiest way to install the TAXII client is with pip::\n\n $ pip install taxii2-client\n\n\nUsage\n=====\n\nThe TAXII client is intended to be used as a Python library. There are no\ncommand line clients at this time.\n\n``taxii2-client`` provides four classes:\n\n- ``Server``\n- ``ApiRoot``\n- ``Collection``\n- ``Status``\n\nEach can be instantiated by passing a `url`, and (optional) `user` and\n`password` arguments. The authorization information is stored in the instance,\nso it need not be supplied explicitly when requesting services.\n\n.. code:: python\n\n from taxii2client import Server\n server = Server('https://example.com/taxii/', user='user_id', password='user_password')\n\nOnce you have instantiated a ``Server`` object, you can get all metadata about\nits contents via its properties:\n\n.. code:: python\n\n print(server.title)\n\nThis will lazily load and cache the server's information in the instance:\n\n- ``api_roots``\n- ``title``\n- ``description``\n- ``default`` (i.e. the default API root)\n- ``contact``\n\nYou can follow references to ``ApiRoot`` objects,\n``Collection`` objects, and (STIX) objects in those collections.\n\n.. code:: python\n\n api_root = server.api_roots[0]\n collection = api_root.collections[0]\n collection.add_objects(stix_bundle)\n\nEach ``ApiRoot`` has attributes corresponding to its meta data\n\n- ``title``\n- ``description``\n- ``max_content_length``\n- ``collections``\n\nEach ``Collection`` has attributes corresponding to its meta data:\n\n- ``id``\n- ``title``\n- ``description``\n- ``can_write``\n- ``can_read``\n- ``media_types``\n\nA ``Collection`` can also be instantiated directly:\n\n.. code:: python\n\n from taxii2client import Collection\n collection = Collection('https://example.com/api1/collections/91a7b528-80eb-42ed-a74d-c6fbd5a26116')\n collection.get_object('indicator--252c7c11-daf2-42bd-843b-be65edca9f61')\n\nIn addition to the object-specific properties and methods, all classes have a\n``refresh()`` method that reloads the URL corresponding to that resource, to\nensure properties have the most up-to-date values.\n\nGovernance\n==========\n\nThis GitHub public repository (\n**https://github.com/oasis-open/cti-taxii-client** ) was created at the request\nof the `OASIS Cyber Threat Intelligence (CTI) TC\n`__ as an `OASIS TC Open Repository\n`__ to support\ndevelopment of open source resources related to Technical Committee work.\n\nWhile this TC Open Repository remains associated with the sponsor TC, its\ndevelopment priorities, leadership, intellectual property terms, participation\nrules, and other matters of governance are `separate and distinct\n`__\nfrom the OASIS TC Process and related policies.\n\nAll contributions made to this TC Open Repository are subject to open source\nlicense terms expressed in the `BSD-3-Clause License\n`__.\nThat license was selected as the declared `\"Applicable License\"\n`__ when the\nTC Open Repository was created.\n\nAs documented in `\"Public Participation Invited\n`__\",\ncontributions to this OASIS TC Open Repository are invited from all parties,\nwhether affiliated with OASIS or not. Participants must have a GitHub account,\nbut no fees or OASIS membership obligations are required. Participation is\nexpected to be consistent with the `OASIS TC Open Repository Guidelines and\nProcedures\n`__, the open\nsource `LICENSE\n`__\ndesignated for this particular repository, and the requirement for an\n`Individual Contributor License Agreement\n`__\nthat governs intellectual property.\n\nMaintainers\n-----------\n\nTC Open Repository `Maintainers\n`__\nare responsible for oversight of this project's community development\nactivities, including evaluation of GitHub `pull requests\n`__\nand `preserving\n`__\nopen source principles of openness and fairness. Maintainers are recognized and\ntrusted experts who serve to implement community goals and consensus design\npreferences.\n\nInitially, the associated TC members have designated one or more persons to\nserve as Maintainer(s); subsequently, participating community members may select\nadditional or substitute Maintainers, per `consensus agreements\n`__.\n\nCurrent Maintainers of this TC Open Repository\n----------------------------------------------\n\n- `Chris Lenk `__; GitHub ID:\n https://github.com/clenk/; WWW: `MITRE\n Corporation `__\n- `Rich Piazza `__; GitHub ID:\n https://github.com/rpiazza/; WWW: `MITRE\n Corporation `__\n- `Emmanuelle Vargas-Gonzalez `__; GitHub ID:\n https://github.com/emmanvg/; WWW: `MITRE\n Corporation `__\n\nAbout OASIS TC Open Repositories\n--------------------------------\n\n- `TC Open Repositories: Overview and\n Resources `__\n- `Frequently Asked\n Questions `__\n- `Open Source\n Licenses `__\n- `Contributor License Agreements\n (CLAs) `__\n- `Maintainers' Guidelines and\n Agreement `__\n\nFeedback\n--------\n\nQuestions or comments about this TC Open Repository's activities should be composed\nas GitHub issues or comments. If use of an issue/comment is not possible or\nappropriate, questions may be directed by email to the Maintainer(s) `listed\nabove <#currentMaintainers>`__. Please send general questions about Open\nRepository participation to OASIS Staff at repository-admin@oasis-open.org and\nany specific CLA-related questions to repository-cla@oasis-open.org.\n\n.. |Build_Status| image:: https://travis-ci.org/oasis-open/cti-taxii-client.svg?branch=master\n :target: https://travis-ci.org/oasis-open/cti-taxii-client\n.. |Coverage| image:: https://codecov.io/gh/oasis-open/cti-taxii-client/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/oasis-open/cti-taxii-client\n.. |Version| image:: https://img.shields.io/pypi/v/taxii2-client.svg?maxAge=3600\n :target: https://pypi.python.org/pypi/taxii2-client/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/oasis-open/cti-taxii-client", "keywords": "taxii taxii2 client json cti cyber threat intelligence", "license": "BSD", "maintainer": "Greg Back", "maintainer_email": "gback@mitre.org", "name": "taxii2-client", "package_url": "https://pypi.org/project/taxii2-client/", "platform": "", "project_url": "https://pypi.org/project/taxii2-client/", "project_urls": { "Homepage": "https://github.com/oasis-open/cti-taxii-client" }, "release_url": "https://pypi.org/project/taxii2-client/0.5.0/", "requires_dist": [ "pytz", "requests", "six", "sphinx; extra == 'docs'", "sphinx-prompt; extra == 'docs'", "coverage; extra == 'test'", "pytest; extra == 'test'", "pytest-cov; extra == 'test'", "responses; extra == 'test'", "tox; extra == 'test'" ], "requires_python": "", "summary": "TAXII 2 Client Library", "version": "0.5.0" }, "last_serial": 4470846, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e929a84660eb13c53a4b9b091d18d29f", "sha256": "f9c7b53b1384c90b7b0475c0300931f6255ff89692ee97df74188f76181ebeea" }, "downloads": -1, "filename": "taxii2_client-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e929a84660eb13c53a4b9b091d18d29f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15758, "upload_time": "2017-08-21T22:12:27", "url": "https://files.pythonhosted.org/packages/44/be/783d5f6548be4e4cdf5cb349fc6ee08ad88dcc7dc82b393933eab1ba19fc/taxii2_client-0.1.0-py2.py3-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3705902b8ac32fa71fa8a7b107cba03e", "sha256": "279f14ed4a37fecac075e478a771de0e577ed699157d0ef297c33b98c6c900bd" }, "downloads": -1, "filename": "taxii2_client-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3705902b8ac32fa71fa8a7b107cba03e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18245, "upload_time": "2017-11-07T21:20:24", "url": "https://files.pythonhosted.org/packages/7d/c8/4351ddaede63ab6366aceb9dfab6333850442a691492cb8834b5b1bef333/taxii2_client-0.2.0-py2.py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e019079430e4ec7fa7f2140c257d0314", "sha256": "40a5cde7e9cb11c5c978344ec2efcaceeafec16367bbe4d82d65571981c99b58" }, "downloads": -1, "filename": "taxii2_client-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e019079430e4ec7fa7f2140c257d0314", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15685, "upload_time": "2018-04-12T12:31:43", "url": "https://files.pythonhosted.org/packages/6e/92/d64fba1a341b36efb7349c8c46e495a8a92db68f3e4018de66c352055ec2/taxii2_client-0.3.0-py2.py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "77fe1d1bdbd1b721b37e8d66b48a49cc", "sha256": "c9dc31fb450bf1fd640f40a02a0b03e1d6ea28091e0733010cb09a2eb34c4625" }, "downloads": -1, "filename": "taxii2_client-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "77fe1d1bdbd1b721b37e8d66b48a49cc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15678, "upload_time": "2018-04-12T13:15:37", "url": "https://files.pythonhosted.org/packages/80/4a/2cd360d5dde6a52e6d8ee4200abfa0c67976932cb56e607df7ed2757cf35/taxii2_client-0.3.1-py2.py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "3ccf805dfe41e8c58e7b9350068a0c0a", "sha256": "73c64cc2c7e47ddcd43de9b9dab4ec7fd017dd38d4dcf9d6057a27b2d399056d" }, "downloads": -1, "filename": "taxii2_client-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ccf805dfe41e8c58e7b9350068a0c0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18119, "upload_time": "2018-10-31T15:53:41", "url": "https://files.pythonhosted.org/packages/64/7c/5f4357aa0ad7622a9b6d89325585873c43a4553b5eccaed55929607073ae/taxii2_client-0.4.0-py2.py3-none-any.whl" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "6f00b0a2a6d4a17f8c39a01129dd052e", "sha256": "c9a63e336c062918eb6c4e40e31dddadf7570d583f09bdb25fc5d6f9b7137f23" }, "downloads": -1, "filename": "taxii2_client-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6f00b0a2a6d4a17f8c39a01129dd052e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18401, "upload_time": "2018-11-09T21:16:15", "url": "https://files.pythonhosted.org/packages/57/a3/6453567a24cad2e2b5f0b4d3c34a2cca8364bc136b0fdc4ca011b6a5949c/taxii2_client-0.5.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f00b0a2a6d4a17f8c39a01129dd052e", "sha256": "c9a63e336c062918eb6c4e40e31dddadf7570d583f09bdb25fc5d6f9b7137f23" }, "downloads": -1, "filename": "taxii2_client-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6f00b0a2a6d4a17f8c39a01129dd052e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18401, "upload_time": "2018-11-09T21:16:15", "url": "https://files.pythonhosted.org/packages/57/a3/6453567a24cad2e2b5f0b4d3c34a2cca8364bc136b0fdc4ca011b6a5949c/taxii2_client-0.5.0-py2.py3-none-any.whl" } ] }