A Python library for generating information variations, such as typo-squatting domains, leet transformations, and custom text variations.
Project description
infvariation
The library is easy to use and can be integrated into larger projects or used as a standalone tool for data variation tasks.
infVariation currently provides three main functions:
** typosquatting: ** This function generates variations of URLs to simulate common typing errors, helping to identify potential vulnerabilities. The input is a URL, and the output is alternative versions of that URL.
** leet: ** This function converts text into a modified form by replacing letters with numbers and other symbols, creating a "leet" (1337) version of the original text.
** generate_variations: ** This function generates various text variations by applying different modification patterns.
Installation
pip installation
$ pip install infvariation==0.1.2
$ uv pip install infvariation==0.1.2
Example usage as a library:
from infvariation import Variation
genvar = Variation()
print("-----------")
print(genvar.typosquatting('mydomain.com'))
print("-----------")
print(genvar.generate_leet('mydomain'))
print("-----------")
print(genvar.generate_variations('mydomain'))
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infvariation-0.1.2.tar.gz.
File metadata
- Download URL: infvariation-0.1.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c7f92841203b9a4e1d18ef2386bdf99f876ad64e30998c335ae03bb4d1f0aac
|
|
| MD5 |
d6a56c5d0418751b3351377bfc9f0117
|
|
| BLAKE2b-256 |
e8053fe132a1a223484047a3cbe88e76e436e2e1c313570d6e21aee130d5304c
|
File details
Details for the file infvariation-0.1.2-py3-none-any.whl.
File metadata
- Download URL: infvariation-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bd8e8c70a39536d9c81e0a2f818bcec3a630dd28caac16938cd9cd86bd19b8e
|
|
| MD5 |
f84e29153356d867f4e3698732804a45
|
|
| BLAKE2b-256 |
460583d065ccf01a9bf0339a806b98b5bcd67f8fd33312a1d9d2d5be497f6fa4
|