A Python package to check a domain against confusables, levenshtein distance, and more using a single interface. A Python package created using carcass
Project description
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
- Nick Tausek - Initial work
- Josh Rickard - Package - MSAdministrator
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dominions-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f79a4561dee54dea7e8ad14d8a796b80583478bfbb72890c504cfdf814b6da86 |
|
MD5 | 0068d017ab3502fddf3c5ff7bf34ffcf |
|
BLAKE2b-256 | 4f7608dff52af99cf478024e5e4e16661fb6480920bf4ec7094e1da927ac2435 |