Skip to main content

No project description provided

Project description

Akimbo-ip

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

(experimental)

Installation


```bash
> pip install git+https://github.com/intake/akimbo-ip
```

Model
~~~~~

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

We can convert between hostmasks, netmasks and prefix lengths.

Some methods 

Usage
~~~~~

```python
>>> 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.

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

akimbo_ip-0.1.0.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distributions

akimbo_ip-0.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (302.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl (308.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (302.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl (308.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-cp312-none-win_amd64.whl (155.9 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

akimbo_ip-0.1.0-cp312-none-win32.whl (147.0 kB view hashes)

Uploaded CPython 3.12 Windows x86

akimbo_ip-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl (307.9 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (254.3 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

akimbo_ip-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (259.1 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

akimbo_ip-0.1.0-cp311-none-win_amd64.whl (156.4 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

akimbo_ip-0.1.0-cp311-none-win32.whl (147.5 kB view hashes)

Uploaded CPython 3.11 Windows x86

akimbo_ip-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (302.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl (308.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (255.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

akimbo_ip-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (260.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

akimbo_ip-0.1.0-cp310-none-win_amd64.whl (156.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

akimbo_ip-0.1.0-cp310-none-win32.whl (147.5 kB view hashes)

Uploaded CPython 3.10 Windows x86

akimbo_ip-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (302.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl (308.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (255.3 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

akimbo_ip-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (260.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

akimbo_ip-0.1.0-cp39-none-win_amd64.whl (156.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

akimbo_ip-0.1.0-cp39-none-win32.whl (147.6 kB view hashes)

Uploaded CPython 3.9 Windows x86

akimbo_ip-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (303.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

akimbo_ip-0.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl (308.7 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.5+ i686

akimbo_ip-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (256.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

akimbo_ip-0.1.0-cp39-cp39-macosx_10_12_x86_64.whl (261.3 kB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

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