Skip to main content

Akimbo-ip

Extension enabling fast vector processing of IPv4 and IPv6 values within nested/ragged columns of dataframes.

(experimental)

Installation

Run one of the following

> pip install git+https://github.com/intake/akimbo-ip  # dev version
> pip install akimbo-ip  # released version

Model

  • IPv4 addresses are (fixed) length 4 bytestrings, but can be represented by any 4-bye value, e.g., uint32 or fixed-4-length list of uint8
  • IPv6 addresses are (fixed) length 16 bytestrings or fixed-16-length list of uint8
  • Networks are records with an IPv4 or IPv6 field (nominally "address") and a uint8 field for the prefix length (nominally "prefix"). The field names can be overidden.

We can convert between hostmasks, netmasks and prefix lengths. Some methods require composite types like list-of-addresses, see the individual docstrings.

As with the normal functioning of akimbo, you can indicate which parts of a nested structure should be with the where= kwargs to any method.

Usage

>>> import akimbo.pandas
>>> import akimbo_ip

This will anable the .ak accessor for pandas series and dataframes (or pick a different dataframe library) and a subaccessor .ak.ip which makes available several methods that act on IP addresses and network.

Metadata

Release files for akimbo-ip 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for akimbo-ip 0.3.0
File Size Uploaded
akimbo_ip-0.3.0.tar.gz 15.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for akimbo-ip 0.3.0
File
akimbo_ip-0.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.17+ x86-64 Details
akimbo_ip-0.3.0-cp312-none-win_amd64.whl CPython 3.12 none Windows x86-64 Details
akimbo_ip-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
akimbo_ip-0.3.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
akimbo_ip-0.3.0-cp312-cp312-macosx_10_7_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.7+ x86-64 Details
akimbo_ip-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
akimbo_ip-0.3.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
akimbo_ip-0.3.0-cp311-cp311-macosx_10_7_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.7+ x86-64 Details
akimbo_ip-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details

Total release size: 2.8 MB

Release files / akimbo_ip-0.3.0.tar.gz

Download URL akimbo_ip-0.3.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
63cacadd04217b73ced10703967b524592ba26c0bb669c6f94e2d92b77dd59db
BLAKE2b-256 checksum
How to use checksums
a6f06728a1b0cfd8379adab6701e881ba57545fa5467a3c1016b552f003618ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL akimbo_ip-0.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 342.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
339ba4ffb91b1df8c20efdd95d90aa10ccd235dba805b1c0f52534076ccc449c
BLAKE2b-256 checksum
How to use checksums
47a3c478f535025467d86508e897f7913abae8f80d72ea9b230c3bb755a31818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp312-none-win_amd64.whl

Download URL akimbo_ip-0.3.0-cp312-none-win_amd64.whl
Size 186.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
969b0c53b59d17243d177347d793c8988d5ed4e837f5bdb4e18279a79e67ea41
BLAKE2b-256 checksum
How to use checksums
999ad052b0688c99b73f2a66d0337cc20ce787d0743c4622c95e57a9f1858723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL akimbo_ip-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 342.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0015439818aec2f1324c75a2d0800735ba33867bc870a9091d397192a903462b
BLAKE2b-256 checksum
How to use checksums
8e5b61d03131566e80b479c8364079225f1610237dc13cbdd3cc987460af57ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL akimbo_ip-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Size 294.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
841de28ea97191f5d3eb10ad3e8d7ee46bc1c8a9b2793d1c1b46c8e6a5da4cd4
BLAKE2b-256 checksum
How to use checksums
c87cc9378b1a0a7f295355f9451dcf37f8afc7175370bb450d68b6c98c5cd7e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp312-cp312-macosx_10_7_x86_64.whl

Download URL akimbo_ip-0.3.0-cp312-cp312-macosx_10_7_x86_64.whl
Size 299.7 kB
Tags CPython 3.12 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
f44ed57c4133a7fa2b6335ff06f012f5cca3526455ac88b042afdd2b9f8104e0
BLAKE2b-256 checksum
How to use checksums
3fe2e9ac9903b9ab98fb38694039f51bd14a2f1edc779af413b29efaf80fded9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL akimbo_ip-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 342.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9a9893dbcb10efdc2fa96e39a5f45aceb9e7fbca0c2a8d82c1f3de149df2beaa
BLAKE2b-256 checksum
How to use checksums
ed2a24713f74806cec2c7246995f8a85539abfa662dae5ab0da4a8afab0194e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL akimbo_ip-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Size 298.2 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5d81e1da44c62f7f9badcacd4f662bdf0c731e04322d8bffca0f7e3a5f081e35
BLAKE2b-256 checksum
How to use checksums
1ca1f47abed38df7dd658922137f4f0e6e579e96f0004a8256264bade6a209fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp311-cp311-macosx_10_7_x86_64.whl

Download URL akimbo_ip-0.3.0-cp311-cp311-macosx_10_7_x86_64.whl
Size 303.2 kB
Tags CPython 3.11 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
db554603c5851997aa5ec2fc26c461da099b959cbb89f445e4e4e167156c2a75
BLAKE2b-256 checksum
How to use checksums
eeeef8c5a488704d6668a695578290ba3e3a0c5b23407183d55bba2008890549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / akimbo_ip-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL akimbo_ip-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 342.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1f63328765ce7867eec0c504a0eee8c6e91533ac899a51fa99a66ec833b4936b
BLAKE2b-256 checksum
How to use checksums
315a8c8ae35349049cbcd8203077a15862c02e19d7fee786995700d37c98dcde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.3.0 This release

10 release files

0.2.0

29 release files

0.1.2

29 release files

0.1.1

29 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page