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'))
Release files for infvariation 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| infvariation-0.1.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| infvariation-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / infvariation-0.1.2.tar.gz
| Download URL | infvariation-0.1.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c7f92841203b9a4e1d18ef2386bdf99f876ad64e30998c335ae03bb4d1f0aac
|
|
BLAKE2b-256 checksum How to use checksums |
e8053fe132a1a223484047a3cbe88e76e436e2e1c313570d6e21aee130d5304c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / infvariation-0.1.2-py3-none-any.whl
| Download URL | infvariation-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bd8e8c70a39536d9c81e0a2f818bcec3a630dd28caac16938cd9cd86bd19b8e
|
|
BLAKE2b-256 checksum How to use checksums |
460583d065ccf01a9bf0339a806b98b5bcd67f8fd33312a1d9d2d5be497f6fa4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|