# pysip
A thin wrapper around requests to interact with the Simple Intel Platform (SIP).
## Usage
import pysip
# Connect to SIP
sip_client = pysip.Client('localhost:4443', '11111111-1111-1111-1111-111111111111', verify=False)
# Example GET request
print(sip_client.get('indicators/status'))
# Adding an indicator and ignoring any 409 Conflict error if the indicator already exists.
try:
data = {'type': 'IP', 'value': '127.0.0.1'}
sip_client.post('indicators', data)
except pysip.ConflictError:
pass
A thin wrapper around requests to interact with the Simple Intel Platform (SIP).
## Usage
import pysip
# Connect to SIP
sip_client = pysip.Client('localhost:4443', '11111111-1111-1111-1111-111111111111', verify=False)
# Example GET request
print(sip_client.get('indicators/status'))
# Adding an indicator and ignoring any 409 Conflict error if the indicator already exists.
try:
data = {'type': 'IP', 'value': '127.0.0.1'}
sip_client.post('indicators', data)
except pysip.ConflictError:
pass
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysip-1.0.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pysip-1.0.1-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file pysip-1.0.1.tar.gz.
File metadata
- Download URL: pysip-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5234196e5162a0ea62b883931c3aec32b113fbbc41742171bbb5507c805d16e0
|
|
| MD5 |
ab2fbf3f27a14c6ccc0279905ce1f15a
|
|
| BLAKE2b-256 |
7488f566693caeaa2813bf9ee2efb34b2b24ff95112e8c378d43813ff1fb7c21
|
File details
Details for the file pysip-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pysip-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d4c38f44616d45017efdbe84aae42bb5e00a85006cd16e89598cef8e22c5fc
|
|
| MD5 |
aa1118b354ef89691b4df0858cca518e
|
|
| BLAKE2b-256 |
85c1af560cb9363f90346cc328b5d72a2804d61c46c75c5bd1f4ffd5393a2b41
|