Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pythreatgrid2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pythreatgrid2

Python wrapper around the Threat Grid API

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

pythreatgrid2

Python 3 wrapper for the Threat Grid API

Renamed as pythreatgrid2 because there is now another library that seems pretty good, pythreagrid

Install

Install from pypi : pip install pythreatgrid2

Or install it manually :

git clone https://github.com/Te-k/pythreatgrid2.git
cd pythreatgrid
pip install .

Use

Get indicators for all samples connecting to a domain:

from pythreatgrid2 import ThreatGrid, ThreatGridError

key = ''
tg = ThreatGrid(KEY)
samples = tg.search_samples('google.com', type='domain')
for sample in samples['items']:
    iocs = tg.get_sample_iocs(sample['id'])

Documentation

cd docs/build/html
python -m http.server 8000

Then visit http://localhost:8000/pythreatgrid.html#module-pythreatgrid

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc