🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

dominions

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dominions

A Python package to check a domain against confusables, levenshtein distance, and more using a single interface. A Python package created using carcass

0.0.3
PyPI
Maintainers
1

dominions

A Python package to check a domain against confusables, levenshtein distance, and more using a single interface.

Installing

In order to use this python pacakge you must first install it using:

python3.6 setup.py install

Using Package

You can use the Python package by importing it into your script:

from dominions import Dominions

dominions = Dominions()
dominions.domain = 'giphy.com'
print(dominions.contained_in())
print(dominions.confusables())
print(dominions.levenshtein())
print(dominions.all())
dominions.domain = ['giphy.com', 'swimlane.com', 'paypal.com']
print(dominions.contained_in())
print(dominions.confusables())
print(dominions.levenshtein())
print(dominions.all())

Using Command Line Utility

dominions comes with a command line utility that you can use.

dominions --domain 'giphy.com' all

Built With

  • carcass - Python packaging template

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

carcass

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