IP-specific methods for akimbo
Project description
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.
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
Built Distributions
Hashes for akimbo_ip-0.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cefb17280b09583ceea37db06e1dfbe0f96459cc947dc296b16f9f936b5e5a02 |
|
MD5 | 935784f3aece01bc9846e18a224f8554 |
|
BLAKE2b-256 | a7cfefd134eb418414def08770f2dd4a808623a2765c96b4ef6fd8025faf358c |
Hashes for akimbo_ip-0.2.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed682a32d31c07c296ee06bd4d3064afa467ed9f86e997d1bfb821a04142225d |
|
MD5 | aa9ae97f1291db2d470f39729a31bb68 |
|
BLAKE2b-256 | e5666d6d1ee60ad67702feeccefa14baaabc84604c62265dd409fb1c6eb48716 |
Hashes for akimbo_ip-0.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8f171961241d09caea811271eb59d458093f8dcf92c534913d8c58b5f6e940 |
|
MD5 | a962ff87726c85634f224fdb1b86d637 |
|
BLAKE2b-256 | aea18c92a3985ce72df6d0df66bdfbdf782e82a4c1a6bad9dee705fe366ede17 |
Hashes for akimbo_ip-0.2.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7caeb908c26d7972552c18238256c398d4f70faf46f84af0c6b79eaa089873 |
|
MD5 | f85eef7278cf5dac29dce36db86e5586 |
|
BLAKE2b-256 | fc2b0f8870b385d9ceb02dba8f33224d00e7f425c1a30c781f8974b4a999ca20 |
Hashes for akimbo_ip-0.2.0-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33be4733c9d6ba4d7f88edab27cf7c402580016b46cdffd4cb920c1539ac1804 |
|
MD5 | aabffdd458237854cf3daf8ed4f7d1f8 |
|
BLAKE2b-256 | a2e04998425faa856da84e0873838b34d208d3e49bada45566f6828e3690ee44 |
Hashes for akimbo_ip-0.2.0-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02772fbeaff9db6f7b98cdd7122de39d58fbd501a950d250c34dac1abd6296c0 |
|
MD5 | afef63a3a1df00a11f9cb2059fe08227 |
|
BLAKE2b-256 | 67359ec35a2d9a1a00db20714e53fecf3cf29825befa55d648413c461191ab4c |
Hashes for akimbo_ip-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb317b252814a3ca1f055f1de84a24abf7eb065f5fdb248e44aea1fc27ea9472 |
|
MD5 | 0355ac7b428be1dd92e8e10bd3ced3d9 |
|
BLAKE2b-256 | ddbdc42ffe7163e297d1e3d40dc202b28ed8637b4bbac11967b2fd9c068442e1 |
Hashes for akimbo_ip-0.2.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a312cbe7a257cdc6274a782eaa65737ac4890f128f2cb4929e233e5f58d5b2e0 |
|
MD5 | 8c7f29f5983136cfcc936791ad264fd0 |
|
BLAKE2b-256 | 8aff5c4c25c7c5e8fa64541b97ce7eba235521587330d2ad8fc808665107f350 |
Hashes for akimbo_ip-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23a8889c5f71d1ba453aa3bd17d0618455c44860d4be30db3be50bcdfa6b5287 |
|
MD5 | 2f8a456f3aa1bbdd7a7905ae3577dd07 |
|
BLAKE2b-256 | c4fd3bf32a6fc75b4ad694ce7bfe747164fcd478f1777158651e043ba8c2f599 |
Hashes for akimbo_ip-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8def79ecc08ef057f4adc8af6a4c6a41070951a1a44d321b12a73f3df49137 |
|
MD5 | d2660d2e7309c7e1488ed45bd0dd45c7 |
|
BLAKE2b-256 | 8a425864d673f34ff31a2a84527ad8c62c9a02c9ad1f71ff3ba273742674976c |
Hashes for akimbo_ip-0.2.0-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc63c635215ba9439c3366751110c5a9b1ca0aee506ac8836679bb2c5aafe814 |
|
MD5 | cae276eeebcb80a7cdecbe2b51fef3c2 |
|
BLAKE2b-256 | 79b1a58e1008438b55620cbb5f1f12111f17e7c41abe33b96d1912984bf28cb9 |
Hashes for akimbo_ip-0.2.0-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40dcec6a34c935245df32b988f3f7378247cc9302a71f264611252b8c0dffa0d |
|
MD5 | 62574322815ef7a0ef7cbb803a257b14 |
|
BLAKE2b-256 | 8f5bc7959d7b48954fa5f089d55c951ca5b5607e83f94acb66ae58f351a3db1b |
Hashes for akimbo_ip-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0603d0fe668bb78d458989657e6465287b357485f6d11480d2030da37282f9a6 |
|
MD5 | 3782a1cc29c97674a0189e38e354b5fc |
|
BLAKE2b-256 | db04cba85e2389ad4b4e7a98e612efdc1dd2f5db4795c1289255fb7c6d536061 |
Hashes for akimbo_ip-0.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab0a11fe9c8df4f090cfd109f58ae14919d7983a911f9b93b32718f65741ad0 |
|
MD5 | 09859a2b0ac903e5500b2602c4b3803c |
|
BLAKE2b-256 | ad45516fc010da261ed555c2f25763ac5ab3a9f95fc283299e3790b7ca3bacd2 |
Hashes for akimbo_ip-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 284891f5f504e544ef778c94bea2b5ae1613fb3fc0ac7ce0128a5cc53ae53fad |
|
MD5 | 1724d2069688942087b1c2d7dbcb20bb |
|
BLAKE2b-256 | 25e38ed1880a115583ed3ab2e703d4bad726ef8830e5aa72da42e2ef92b1438b |
Hashes for akimbo_ip-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c25912869453ce3d91db5eefab5de21323430185716ff44b9e34ec9a6f7343b |
|
MD5 | 83e015f9bd2aa201268e51aa55d9585c |
|
BLAKE2b-256 | 21e8bdb80ddda3e07285b54829d203e70edf6341c8cde7cced0bb86a451baf50 |
Hashes for akimbo_ip-0.2.0-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0673c0199f1d026a9bca395cfee4c98186f5b8553c543c98a522b32b33960d7a |
|
MD5 | a1ebfbfc696ddd7d6adc4575e8c99020 |
|
BLAKE2b-256 | 2eef75579c2ec2eae0dae4d569562d8ea8315f4a36656ef0b4423acc0cf1acd4 |
Hashes for akimbo_ip-0.2.0-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2bcc419979230b0f144df98faa7341b6d747b0c1b4fb08fa939616dfb9393c |
|
MD5 | 0f6312786ce237771fe65ba81bdfba7d |
|
BLAKE2b-256 | eacde3225c7b02ed6c7c7a336bdb4e2dbdf2bfa919d372d544cd23711dbeff3c |
Hashes for akimbo_ip-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6130dec3982902ff41c54f1ec3f9bc86da86753d93c2e6b8c29374c0064d323 |
|
MD5 | d19548bd649c10bdffe0b12a59ffdff2 |
|
BLAKE2b-256 | 53ff7a1a3a87b9600efc68a33146bdfb952ae61ba9e1f46a95084e22a7e3688d |
Hashes for akimbo_ip-0.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5cad7103e964442fa251c8f3ab44b72dc308703db30a7bc4cfe6bb2fb06eb85 |
|
MD5 | de6916692e335dbcfcba0d42c7a4cb6a |
|
BLAKE2b-256 | bbb2ece7ec1bf71c0ea3acf40754bbab941b78e2093d122e89fb5379a8a94570 |
Hashes for akimbo_ip-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb9e3731123c1233dca210a2e8523d414148dc29f3e2ef40c957b95d8422651 |
|
MD5 | ecafcea02afacae51946ef36095fdd08 |
|
BLAKE2b-256 | ae36a397af5e4bf4f6f44811325043c81050841a2edeb5c713e4805719c41f3a |
Hashes for akimbo_ip-0.2.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4be3c0a0535b41c90bef7dfbfc9b79ec670cac8a4f2ad49a43e767b55e1642 |
|
MD5 | 7c0b316da3849c56363a80e4a8907ae3 |
|
BLAKE2b-256 | 09bdecac04acd22072a3098846fa77de0b11a6b401ecd7c4cfbf6ac3e255506e |
Hashes for akimbo_ip-0.2.0-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58af67c6e668f36ae09e1d5c99d0d137610d921fadf05721ea832a94777b15fc |
|
MD5 | 8ea5558b8654d1c23cd7e5dfd9b18511 |
|
BLAKE2b-256 | c84ef96fca3f9f522b35e7a69a14eede4dda2ac6f9e23a7a49a5c0bdb541802f |
Hashes for akimbo_ip-0.2.0-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f188d1ae6c7219751332f484083c2228b6320fd412deb51675171dcf6ac961 |
|
MD5 | e8057056a4616ea15dfdbb938cef5b7b |
|
BLAKE2b-256 | b794cb75a262b44e81ac090a9c59ac11258bacfa95c075e9e102c9280ec227f8 |
Hashes for akimbo_ip-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3146fc2887897984d6b4b6ef3b567a92e534d581f777a416e9fb27a28edb54 |
|
MD5 | 8312bcaaa9a67816e2b7978f2fb29894 |
|
BLAKE2b-256 | 58a8cf231163eea601254b2cb1009c6b1c777abb5129e50b852b2a043dda44a4 |
Hashes for akimbo_ip-0.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f31c92748751035bc5fcb99312c406069b3f714c0864ab7faf6149c5c36a8e8 |
|
MD5 | 2d5858b7e6ff4a36c6485adc779d2c71 |
|
BLAKE2b-256 | f3368326df3d60f116591d35707ed60394023c5cc34f454d67e4bc814360b5a0 |
Hashes for akimbo_ip-0.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e9cefbebf289ab153d5a712a86519862f755b24972950276e846e202ba63fd |
|
MD5 | eb836fe89e6aa040d86ec757f9117224 |
|
BLAKE2b-256 | 03170c4f2a67a1dcaa490130b2cd766a4bd1dd6419c2295b3a3a6d98855bbc6e |
Hashes for akimbo_ip-0.2.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cab428c52c5aadd47e8ebe35832487b2a1c95a188becbaf5951ebac23f6d56e |
|
MD5 | 2a572bfc29ca206fe08e3471f1a674cc |
|
BLAKE2b-256 | 65d47b738e396d39a156e225ab74889f226cdbf5f362a61be336b41bbbc35333 |