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.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 838fe3de7ed692a447ae8c0b2c72c529772a8246d575bad1bda9602f3b4ba09d |
|
MD5 | 48eb5731c2a1765e383ad6812fd4c869 |
|
BLAKE2b-256 | 8245a8dfc46727a9b4326101a331840b0762a845199fe3749845c27c739a9b53 |
Hashes for akimbo_ip-0.1.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ad114d4630ac8675622beed87b34a5ebcb4b97191c883e7e8aa261998f1101a |
|
MD5 | 9dec04bfdcf9aff37bbab8c063684806 |
|
BLAKE2b-256 | 08399b374a035e66d61d9fad949926032ea85c67c26a24808a7606bf83119efc |
Hashes for akimbo_ip-0.1.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e7fb2fb3c58725fddf019dd33f40f4cbdb61d4034ffae75344ba1742dd550c |
|
MD5 | fb324808d93676801e94f83f84711903 |
|
BLAKE2b-256 | 972386a6cf865a093f1a3a6dc90c2deae21badacaf2ca48a7832ba7e481198ab |
Hashes for akimbo_ip-0.1.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 083107680477549d8b679c3bef31da91bab89175e3b806d2bf6c64ad92e52b38 |
|
MD5 | b3293fbf6fd4ae1c72c81138c7da1590 |
|
BLAKE2b-256 | 8bc7b9a2deb27d5b01d7f3254e63788b951df8c477531a2ea09a34b5e175043f |
Hashes for akimbo_ip-0.1.1-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9baaeaecb8ff8d7a7c625daf11e0fa0af9f63680f77fa94006fa83b73706e5a |
|
MD5 | 60f9bf63acc6440a7c287ef395919832 |
|
BLAKE2b-256 | 5ce6c509f2fda16fa32b09cf8f6fbc35acdd45b3c4153a8d5a5478b13457f351 |
Hashes for akimbo_ip-0.1.1-cp312-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291e69f7cdb61e4132e4d16897b658e998c99f659115cfa7f3634542388c2ca0 |
|
MD5 | a9b7facc04da76655cf289902131f44e |
|
BLAKE2b-256 | cdb360cb81c909eb144f69e9d4ac14b4cd94b3a8992f5d6c9a238ffcfc868cde |
Hashes for akimbo_ip-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19eb0fd0e3dba2c0a0737cefbe795bdf39d095a04cab7222c0457740731dd82c |
|
MD5 | b47423503095ff8ec9a1a3d94cc6f117 |
|
BLAKE2b-256 | bc840f46981b6f1884cbc5d8235b5810a01d34752a4852da7a707aef342aa3ae |
Hashes for akimbo_ip-0.1.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8115fb3a0b17c638879c1f2b35600791821cc769495bae2ac7d8a3b011d24e02 |
|
MD5 | eb9ff8cd19b9467bc80ab5787e9e6cf8 |
|
BLAKE2b-256 | bcf234013fe7b9eb974c9714534614b647d44fb964711dac3ca660d0e81c8701 |
Hashes for akimbo_ip-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa6a80b95ef921df0081f20ff3c3ec476551b136dd6746637cb637c77ac60702 |
|
MD5 | c80641024f40e0088863359908cd1418 |
|
BLAKE2b-256 | 37136e027a1483c8d5f097a5779dd3ffbd0ad68585de5b5ac9eff6084688956e |
Hashes for akimbo_ip-0.1.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f240788f8f23d8e4b87c49c703e784b9636516c1699565b0f13174183d5683 |
|
MD5 | 03aad1d4494ae83409bb5404dab254dd |
|
BLAKE2b-256 | 476394787e4eb085966694a120eb8e14deafeecb6ca7701289ef0c248132a10b |
Hashes for akimbo_ip-0.1.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 048c0bdaa86388dd25ee693c552943ed9ccfbf9cfe88198c3e3912e245b18680 |
|
MD5 | fed0279caee829487ca2b01b3d31f47c |
|
BLAKE2b-256 | f29841b2d8f858c2dcc72ce71bc98d9e42a71ce540ade735a523d3591046bbee |
Hashes for akimbo_ip-0.1.1-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3632523ef14acbf5b97c7a0bf89536810b63f944b5d15b73d82dd3ec63e7055a |
|
MD5 | c6ce722358957285656c53539dbbe529 |
|
BLAKE2b-256 | 782412b7fe0a11a0346ae135d920dc9d75cd4e0da1a5cf8826a1b1a7f08e4954 |
Hashes for akimbo_ip-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f6abd539c00258ca1e6b2507ea7992b5984b8eef8efdf006123974e21e6045 |
|
MD5 | af87308c41acae74f52a47e07e7474ea |
|
BLAKE2b-256 | 87940211a9d884324bc07921ef4c7825f984e8df4ad0404230bc02b29a97b867 |
Hashes for akimbo_ip-0.1.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf3977e234d1d7db511b2a650aeeb5f0bbbeb85439b3db94ce2c92d7cc4d775 |
|
MD5 | 532b4fc544ce6cae523bdfc593bbfde7 |
|
BLAKE2b-256 | f745151537b0664537660838b38ea7c5f2d1d7a4b1cf9f2c2137077f22d7fce9 |
Hashes for akimbo_ip-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94fb1c2808022cc6cc328109dc2286f68fea852c154f0ba3dd121a55c48f077b |
|
MD5 | ff63048e5a1847f8e969ccf5db8794d7 |
|
BLAKE2b-256 | aec6910b84d5e20058ded875392d9dbec3f0e159c57d784453885fcf3fe04862 |
Hashes for akimbo_ip-0.1.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd3a0b62c8332584831a286e321ca9060a8f5e34e16a6bf6541e0b397c35d24 |
|
MD5 | 57866ed3c82cd38cc4936deb589b105d |
|
BLAKE2b-256 | 0340d25eb2fcbe9d975f90dd13a9f13425debadd41dad2ceaa3995c43b2c9a32 |
Hashes for akimbo_ip-0.1.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c5f943c6611471dc2e1e5d0950c2e89e4daae8a0c4bac9cb107f6165399839 |
|
MD5 | 0d62f75d0bf2e4704ed5750c7cd68f33 |
|
BLAKE2b-256 | d27fb1f39d713eccebb6ec7c31a87810ab95f27273e3bad72b8464c1e4d7d3c9 |
Hashes for akimbo_ip-0.1.1-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8580d2243c9f1eada9bb9e844b828b7e8d6f7be7d0ff6671c6900721715e7bff |
|
MD5 | f649729a64d0a48392c5c234c85ba404 |
|
BLAKE2b-256 | d0fe3210fdf1155ebce92d850268fe6c1e93b83aa595c1c9a0cb24cdd9bad6a0 |
Hashes for akimbo_ip-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8580b9936767279e44991f1ebb04c8d766d18f9288846f4508ccf8aa005d316e |
|
MD5 | 3e4827a0483f3f756aae17db1c6d0eed |
|
BLAKE2b-256 | b5faedc2b1ea21835a4f90fcbea4f88c08ee6596c154ea00a9850a2f089cae45 |
Hashes for akimbo_ip-0.1.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81852bffc58031b919df25a5caef0493a8107c75d470183ea90fb43c47fdc3a |
|
MD5 | 9e258b88000c36c9f0bdf9dd016656e9 |
|
BLAKE2b-256 | b2269ba69d3b250be38b26620981ec6a15391da4e021ebf978a462c18a0a3000 |
Hashes for akimbo_ip-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a05e3393c99a8d0193cedead2cda9e316091305f87d14bac5e02a73261f53440 |
|
MD5 | 2ef49ab04d3e69b521cf3754cf02265f |
|
BLAKE2b-256 | b8c8c3b28faa54cd4d2e748f06de4d35cf0e6f30db4f9c71538586273300e360 |
Hashes for akimbo_ip-0.1.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b1eb99cbaed35c173a0c4e3d05a28baa115e6b2b4c8496cfbb7c03c3f8b268 |
|
MD5 | c78a03d4622a61b1a51c38a43dd59696 |
|
BLAKE2b-256 | ab2c6d3bd5745571837abf68598d40cd433b8dfcd368260b6286f6c271bbe1ef |
Hashes for akimbo_ip-0.1.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93602489ae53421c965b2391ece76fcf28b7c932c95afd0eb6d285354504890 |
|
MD5 | 2157025a216d974c05dffe5ecaa7789a |
|
BLAKE2b-256 | 587dd6418e071274faca5f15c68749fa706b965862ef3f74a9498d73d6349bca |
Hashes for akimbo_ip-0.1.1-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722887b044f0ca40c0f6f7c5981ff21b3d5002f4f0638365badce62b115e8f3c |
|
MD5 | cd6d82f70f59a8bf0bf8bbcd0190cc05 |
|
BLAKE2b-256 | f0a7c3f2cad0f2c60a2f461ce432942de1fef309489e126dc732a64950a4abdd |
Hashes for akimbo_ip-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1871624bf578929963288f46f7d1e4e3ab9871bccd172f13cf256d7d57d986ed |
|
MD5 | 282c2ffe2c44170f24018ce0e8731cc7 |
|
BLAKE2b-256 | 9f903fdfd2d78799752240fff30d526b6a1321c0e09213f699bd314cd8369219 |
Hashes for akimbo_ip-0.1.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0bebb81542bf7e3f14d162b0e1c09e992d3aac7dfdde9261a69e2b7b5b6c985 |
|
MD5 | f9ae6e6895e4df3d2b0b063d7e202ea6 |
|
BLAKE2b-256 | d9116250dedb13b824c2f6b336fde752dd1a86f3dca3c5c6fbb2494b39d6a697 |
Hashes for akimbo_ip-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0897053a995b0f12a8b01b18d6572076f83cd3925247c57054e0a0598eee13d |
|
MD5 | 31ce379806f2032602c52fefdb1e6df8 |
|
BLAKE2b-256 | cc7fd47550a62f2aa8182427958f6565281624be4cdcb553e831c45c0b9d4dfe |
Hashes for akimbo_ip-0.1.1-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c62135d79a43e58c8b1bf7b3102c358394095229ee6e3bfd0940d7b14efdad9 |
|
MD5 | ed371456c58f5ec7f00ae6693fb32113 |
|
BLAKE2b-256 | eadf908f39bc3b981d9d4125cb868d6ad64fbfae31571128359206fb8529949f |