Skip to main content

A Python library for API

Project description

stronglib is an Apache2 licensed Python library for the API.


  • token authentication

  • get, create, and delete blackholed domains


The latest release can be installed from PyPI:

$ pip install --upgrade stronglib

The latest development version can be installed directly from GitHub:

$ pip install --upgrade


import strongarm

# token authentication
strongarm.api_key = 'your_api_token'

# get (ie, search) a single Domain
domain = strongarm.Domain.get('')

# list all blackholed domains
for domain in strongarm.Domain.all():

# list just blacklisted domains
for domain in strongarm.Domain.filter(statuses=strongarm.Domain.BLACKLISTED)

# create a new blackholed domain
domain = strongarm.Domain.create(name='')

# create a new whitelisted domain
domain = strongarm.Domain.create(name='',
                                 description='Our Company Website')

# delete a blackholed domain


In order to develop stronglib you must install the requirements files.

pip install -r requirements.txt

Use pytest to run the test suite:



  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.

  2. If you feel uncomfortable or uncertain about an issue or your changes, feel free to email and we will happily help you.

  3. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).

  4. Write a test which shows that the bug was fixed or that the feature works as expected.

  5. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

stronglib-0.3.0-py2.py3-none-any.whl (6.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page