Skip to main content

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

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


Download files

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

Source Distribution

dominions-0.0.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

dominions-0.0.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file dominions-0.0.3.tar.gz.

File metadata

  • Download URL: dominions-0.0.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.5

File hashes

Hashes for dominions-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e10cbcb7cc9a32791c013dc2ad59e62997512e833b4ffe50d00e4fd3d279f6a3
MD5 923684de33331d35bc4aa40bd5b7109d
BLAKE2b-256 7db2f472f68e68df5be48722c07c6750047587d6073504c9dfb4cc656f3954d3

See more details on using hashes here.

File details

Details for the file dominions-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dominions-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.5

File hashes

Hashes for dominions-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d2274a81b982c7f0a68b0f0734249bc3a7d6842820fa7c8ab7b6308bbcdde6
MD5 1a5c174894766e4e0bd1566dd976ea4e
BLAKE2b-256 02528a92c11507f9b5a4d60617ba9a2506fb8627ab304c5162b992fd4f8ee96e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page