A python wrapper for the Signal Sciences API - https://docs.signalsciences.net/api/
Project description
Signal Sciences
==================
.. image:: https://img.shields.io/pypi/v/pysigsci.svg
:target: https://pypi.python.org/pypi/pysigsci/
:alt: Latest Version
.. image:: https://travis-ci.org/foospidy/pysigsci.svg?branch=master
:target: https://travis-ci.org/foospidy/pysigsci
``pysigsci`` is a Python wrapper and CLI tool for the `Signal Sciences REST API`_.
Installation
------------
.. code-block:: bash
$ pip install pysigsci
CLI usage
---------
.. code-block:: bash
$ pysigsci --get requests
To see all options run: $ pysigsci --help
CLI configuration audit tool
---------
.. code-block:: bash
$ pysigscia --get-config
$ pysigscia --compare site1 --to site2
To see all options run: $ pysigscia --help
Module usage
------------
.. code-block:: python
from pysigsci import sigsciapi
sigsci = sigsciapi.SigSciApi("myemail", "mypassword")
sigsci.corp = "mycorp"
sigsci.site = "mysite"
params = {"q": "from:-1d tag:XSS"}
print(sigsci.get_requests(parameters=params))
More details and the latest updates can be found on the `GitHub Project Page`_.
.. _Signal Sciences REST API: https://docs.signalsciences.net/api/
.. _GitHub Project Page: https://github.com/foospidy/pysigsci
==================
.. image:: https://img.shields.io/pypi/v/pysigsci.svg
:target: https://pypi.python.org/pypi/pysigsci/
:alt: Latest Version
.. image:: https://travis-ci.org/foospidy/pysigsci.svg?branch=master
:target: https://travis-ci.org/foospidy/pysigsci
``pysigsci`` is a Python wrapper and CLI tool for the `Signal Sciences REST API`_.
Installation
------------
.. code-block:: bash
$ pip install pysigsci
CLI usage
---------
.. code-block:: bash
$ pysigsci --get requests
To see all options run: $ pysigsci --help
CLI configuration audit tool
---------
.. code-block:: bash
$ pysigscia --get-config
$ pysigscia --compare site1 --to site2
To see all options run: $ pysigscia --help
Module usage
------------
.. code-block:: python
from pysigsci import sigsciapi
sigsci = sigsciapi.SigSciApi("myemail", "mypassword")
sigsci.corp = "mycorp"
sigsci.site = "mysite"
params = {"q": "from:-1d tag:XSS"}
print(sigsci.get_requests(parameters=params))
More details and the latest updates can be found on the `GitHub Project Page`_.
.. _Signal Sciences REST API: https://docs.signalsciences.net/api/
.. _GitHub Project Page: https://github.com/foospidy/pysigsci
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pysigsci-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd10a6423be962ac0a9f06e67ccd59915db3c2d2785907cd3043da66500dd9e5 |
|
MD5 | 70b9aca9a2d107c893430d0c1ef5a0d5 |
|
BLAKE2b-256 | d6cdc404fe020a5f870d0e7fb00ea4c6ddb6f7fdc5674176a85136237d9476d1 |