Skip to main content

Add your description here

Project description

IPv4Mutate

performs various mutations on IPv4 addresses, such as converting to binary, hex, octal, urlencoded, and more

Installation

uv add ipv4mutate
# or
pip install ipv4mutate

Usage

from ipv4mutate import IPv4Mutate
i = IPv4Mutate("127.0.5.7")
print(i.mutate_hex)

Available Attributes

mutate_binary
mutate_dotted_hex
mutate_hex
mutate_octal
mutate_octal_padded
mutate_zero_padded
mutate_zero_stripped
mutate_urlencoded
mutate_decimal

Example Output (via tests/test_ipv4mutate.py)

IP: 127.0.5.7
        mutate_binary            01111111.00000000.00000101.00000111
        mutate_dotted_hex        0x7f.0x0.0x5.0x7
        mutate_hex               0x7f000507
        mutate_octal             0177.00.05.07
        mutate_octal_padded      0000000000000000000177.000000000000000000000.00000005.00000000007
        mutate_zero_padded       127.000.005.007
        mutate_zero_stripped     127.5.7
        mutate_urlencoded        %31%32%37%2e%30%2e%35%2e%37
        mutate_decimal           2130707719

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

ipv4mutate-0.9.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipv4mutate-0.9.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ipv4mutate-0.9.2.tar.gz.

File metadata

  • Download URL: ipv4mutate-0.9.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for ipv4mutate-0.9.2.tar.gz
Algorithm Hash digest
SHA256 3778232e77ad1c4e462269c3353bd8b458f17831e620fa1334dc0e439a6bedce
MD5 ce93e4bfe494e5468c45fe953513da2e
BLAKE2b-256 4dcf94a8faa9b095938a7fdeaa09b615710a664f972ad0bdfb2ed67016123f5a

See more details on using hashes here.

File details

Details for the file ipv4mutate-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ipv4mutate-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fac39319ab51b1204976eead8a7881184f100fb9033f9e120c3e45e03d66bed5
MD5 0becc8695d1cce748a23cb88edc60a6a
BLAKE2b-256 48f1783c04522b4819fcbfc5e3c64d8b6801355fa5a1c4537a4d262de755e0c5

See more details on using hashes here.

Supported by

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