Skip to main content

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 POST request
# Add an indicator and ignore any 409 Conflict error if the indicator already exists.
try:
    data = {'type': 'IP', 'value': '127.0.0.1'}
    sip_client.post('/api/indicators', data)
except pysip.ConflictError:
    pass

# Example GET request
# Get all of the indicators with the "Analyzed" status in "bulk" mode.
indicators = sip_client.get('/api/indicators?status=Analyzed&bulk=true')

# Example PUT request
# Update an indicator's status.
data = {'status': 'Informational'}
result = sip_client.put('/api/indicators/1', data)

# Example DELETE request
# Delete an indicator.
result = sip_client.delete('/api/indicators/1')

Metadata

Release files for pysip 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysip 1.1.0
File Size Uploaded Provenance
pysip-1.1.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pysip 1.1.0
File Interpreter ABI Platform
pysip-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / pysip-1.1.0.tar.gz

Download URL pysip-1.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb0af62d5bde6e1f1be48abd47c1641cc894f08a15cdc67e14b4eb9c95a2b15f
BLAKE2b-256 checksum
How to use checksums
8021a95c6cc02e1f4b59b1231eeff0cdf13c20713181cc56fd4b1e6f02afad89
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pysip-1.1.0-py3-none-any.whl

Download URL pysip-1.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42476a2fbf812e2594d9dc26226adeb6c308281373febde310cef2d720c9e48f
BLAKE2b-256 checksum
How to use checksums
bfc2ae20b42126e638f009bc4f936db3e38696570186961f230efa14a9e2e746
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pysip 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page