Tábuas atuariais em C++ com interface em Python.
Project description
tabatu
Definição de tábuas atuariais em python com códigos em C++ para melhor performance.
Instalação
O pacote pode ser instalado diretamente do PyPI:
pip install tabatu
Uso
O pacote fornece 3 classes para lidar com tábuas atuariais: Tabua
, TabuaMDT
e TabuaMultiplasVidas
.
Uma tábua pode ser criada diretamente a partir de um array de taxas.
>>> from tabatu import Tabua
>>> qx = [0.1, 0.2, 0.3, 0.4, 0.5, 1.0]
>>> tabua = Tabua(qx)
>>> tabua.tpx([2], [1,2,3])
array([0.7 , 0.42, 0.21])
tabua.t_qx([2], [1,2,3])
array([0.28, 0.21, 0.21])
A tábua fornece métodos para cálculo de probabilidades de sobrevivência e morte, além de fornecer algumas utilidades como tempo de vida futuro máximo e um indicador a respeito do fechamento da tábua ser platô ou não.
Documentação
A documentação está disponível aqui.
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
tabatu-0.2.0.tar.gz
(142.7 kB
view hashes)
Built Distributions
tabatu-0.2.0-cp311-cp311-win32.whl
(194.8 kB
view hashes)
tabatu-0.2.0-cp310-cp310-win32.whl
(194.6 kB
view hashes)
tabatu-0.2.0-cp39-cp39-win_amd64.whl
(206.0 kB
view hashes)
tabatu-0.2.0-cp39-cp39-win32.whl
(195.3 kB
view hashes)
tabatu-0.2.0-cp38-cp38-win_amd64.whl
(206.1 kB
view hashes)
tabatu-0.2.0-cp38-cp38-win32.whl
(195.3 kB
view hashes)
tabatu-0.2.0-cp37-cp37m-win_amd64.whl
(204.5 kB
view hashes)
tabatu-0.2.0-cp37-cp37m-win32.whl
(195.3 kB
view hashes)
Close
Hashes for tabatu-0.2.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8d153b58dc1d1cb1e3af7639482805a3f96b1a6a95e3a3cb1d65660b7405faf |
|
MD5 | f8bfe95c1a712649a3f218f66af57cdd |
|
BLAKE2b-256 | 4a5778cd28bd2ef49bf78395922dd489ca49bdeb960f038485a2da469bb59205 |
Close
Hashes for tabatu-0.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937f1676fd26afb55e8acd8287bafb1ba6a51f53c98204e240e041a94592c304 |
|
MD5 | 660992ca6286c9d0008c45367bebf2c1 |
|
BLAKE2b-256 | 1f626298dba1941e2d1e17fa2f12c9ee7d3ee4260b0a4b4f4c56071db143987b |
Close
Hashes for tabatu-0.2.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce8e290210ad0a93fdd58902195f17c08172b8c06e71db17a1faa8d5d5d72ae |
|
MD5 | 7dd471dfba5705d72e2d899f1b4291d9 |
|
BLAKE2b-256 | 0eb48fd2e74bcf73db479b3c56e628604f9c7e06a52ead97467d7a186e9da0e8 |
Close
Hashes for tabatu-0.2.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ae4348ca96070e216702d6fbda8b180243ce3915459ffce559503181ac0d24 |
|
MD5 | 257c8a4a87bc810a6a06fc0cbe8a445b |
|
BLAKE2b-256 | e38cd4361837680788e9e02d74d8a20964b2d58a314fb7f0d67262b714575613 |
Close
Hashes for tabatu-0.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3bf9f9fd85a7542ab581d7ba3489fb157df01dd1553a17e022adc34b21b8ced |
|
MD5 | e057fd063555b3c9982ecade5ab96c8d |
|
BLAKE2b-256 | faa19b9ab1c2da8c9f539a41a2aa62acde362e61ebf242dabe049d6f3bfe6c9d |
Close
Hashes for tabatu-0.2.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86bac90b66300598b951c4b6e19c91f4072ea35019de254587df1f4733d6ddbf |
|
MD5 | 2f345bfa45746c984289c0c52dffa201 |
|
BLAKE2b-256 | c22afb0e10f9e3ddef616f5e4210b25cf2bfcc632f0457d6194c26eda0b8da6b |
Close
Hashes for tabatu-0.2.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc1fc04fd39bbf351fe87555b4a865bea29db17df99bc7ac4328c31df42c388 |
|
MD5 | 90537765fcacfde94866984a66a3dec0 |
|
BLAKE2b-256 | f2023b3e202e14afda56f777cfde5c6b6e4e13e391b1eb9787895d3e80d04dce |
Close
Hashes for tabatu-0.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5af95aa05754b1fbbdb59fc757aac5d7247b78a69636b0b9ca651cd9252ee7c |
|
MD5 | 5cdb2837e0fde7dfae8f1a275f2d2454 |
|
BLAKE2b-256 | edfdcbb02ff5b3e851b3b50e8d9130e85ecdba0a10e310c06cf511abe7ae82b9 |
Close
Hashes for tabatu-0.2.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aedc7b949236af45017a1f6f53381a2d044649d0d8bd3723c0dbd4a5089ed51 |
|
MD5 | d8ea6abf69c05ac42021a9f45da60d52 |
|
BLAKE2b-256 | 944f4ee3b50a06e5f5db4e79b8533844d48662f1b557a48aeb215a9e621f4a7a |
Close
Hashes for tabatu-0.2.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e945036d62bf9c713a08e86746d9f45d46bfa0a1a218d8e493bc22e2fdab867 |
|
MD5 | 254b386a8d7d7b46ce7abc0094d25e65 |
|
BLAKE2b-256 | b3ef1e5040f61e0b46290a596076801ece9dc997606e2a18c40e1c872c406156 |
Close
Hashes for tabatu-0.2.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aa1a0a6805bfdaf4a021efacff35e2b9f20bd71964b28df490114ca169992f3 |
|
MD5 | d08ecbb56a1b258f9d8e70e6a534774a |
|
BLAKE2b-256 | b30bbb3efbbc1baa3471c3959a2e50fbda93af6abd44f9cb2cf5c2fbb98e4e80 |
Close
Hashes for tabatu-0.2.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955b17475087c2a34818b992541082e3c63d731f738140baf051e051bd72616d |
|
MD5 | 9db41699d6b657f398cdbd2d9876ce96 |
|
BLAKE2b-256 | 15b11280cf6b35cd6b9efc4c296fc2d52738c6949c9b491ad75e12bb05ecb0a0 |
Close
Hashes for tabatu-0.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b60cb55fe178341fefd9e4728c9cf37bc4d6b340fdddd92d5f687596590ca819 |
|
MD5 | 7257e9a69081999fa916894b3b305f26 |
|
BLAKE2b-256 | d0ce862b1b9f438d7dcb98552df89b872c5ed6d6de0f1fa7c5a9f593e04f04e4 |
Close
Hashes for tabatu-0.2.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebbd3f86a036c2ad85034a4810d25804049f4e4175b00ef9672e03e8fa4b9557 |
|
MD5 | 676f96bea7a6dcac7d6a23a34df9be9b |
|
BLAKE2b-256 | 69233c417dd90d82053510737e496b9bdbc9bacf7672ab78dbbfb034bb33c9dd |
Close
Hashes for tabatu-0.2.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4be56ee10d323c906a78470b5018fbe21465a2ca042a151b9e50cb75a38d76 |
|
MD5 | b01b57ac7441c1f3262dd1c736af037e |
|
BLAKE2b-256 | 4d653afca6228fa341c5a551adcb145c444e3bcf44d464f727800bd1a1713159 |
Close
Hashes for tabatu-0.2.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5c5838b2cf881672ad38d45f16a492b84d3e67247dc32f0807e3089ec02b295 |
|
MD5 | 1584a7ceff27578ec0af01431b08c006 |
|
BLAKE2b-256 | 264768fc81cfe0c811140e1bb24bb3bf7b5c27d85ab9644026fd8fe4b7f99061 |
Close
Hashes for tabatu-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43004a78f7f04e44e37cea33a4ed11f4cb8715e645f27b76a87f0384a6ae306 |
|
MD5 | 2959fbc8f6536245be4e1d6a4dcd7a09 |
|
BLAKE2b-256 | d1e2cef1268f8c7d8bcb40971570056ebdf589cf452fedf3c0cc623231fa3ec2 |
Close
Hashes for tabatu-0.2.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c8ae209ba8a959499d9337048913d01a234d41fca68f31773ab557af973c40 |
|
MD5 | 495ab223783630b64ba45926f0c76fa7 |
|
BLAKE2b-256 | aac098bc0ab43fdbcbd6d7690936b4ca92665a16c5c1c4bb835631837323411e |
Close
Hashes for tabatu-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3efd7417945a910e891ff4ff170e7fad6b2bc2e85ccbb1428864d36555b4b78 |
|
MD5 | 7bca28bcb5fa90ac858ae4a7e1f46206 |
|
BLAKE2b-256 | 8957c6859bfc2f84cd585ec25c85419ae7e684c7c7a52accf8ee2393e5f7fa03 |
Close
Hashes for tabatu-0.2.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf87b6876997fda9e0f737e413c4c48be86e253cb172543f145e1c25df2e535 |
|
MD5 | ee5f223729139de1be02bf28a64f0fd2 |
|
BLAKE2b-256 | 741276bc449481dd5153850faf470376071fb6fa3404e14bf2aaf6d74556c285 |
Close
Hashes for tabatu-0.2.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97b14d6ed64568e490247fdeb12c284d6e456c85520d6c19eafa3a70a799146 |
|
MD5 | 49a7d515168e5cd779b88b84f571f62c |
|
BLAKE2b-256 | ccafd3d07cf928474df784d4e338147ad48b1bce6aed848f11a2d890af6d46f4 |
Close
Hashes for tabatu-0.2.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ba91fdbd6468578efcc339b726833a4c68859a14e83d40cb419b25cd26276e |
|
MD5 | dfffe33d46c9fa39eb823cf5b0a54201 |
|
BLAKE2b-256 | ea04abacf26e53f0cfb834cafa70a25ab6206ca4f71b3e31a8d75c7fcb0290b5 |
Close
Hashes for tabatu-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16139b2b555eb5584b7151ec88eec2fa7c08d95edfd0995e62eb27e4d814a99 |
|
MD5 | 0b4d7ba8236f68fc8d1f2769eb72799a |
|
BLAKE2b-256 | 057f4b2e9ea50be9d86c867b108c1ad43bcbfb05cef396f609d3727af65c1a93 |
Close
Hashes for tabatu-0.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2ee980402cb2d08171a636182ae700877c7293f22f61854ecd5236cc0acf68 |
|
MD5 | e6bf2d7d7e01bfa8e0929289c0f3317a |
|
BLAKE2b-256 | dfc8924c315bc563181d7dacc3905592245c2546a7f52fd17b2b980d68abbe57 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84edc589bd494d8e51eb3531b48d0a072c4dc935c8f0fac6f572d819011bf322 |
|
MD5 | 41abc83a8dad13965193e6d0a784b068 |
|
BLAKE2b-256 | e67362f4f3c14adf41301315dc6542ee08c8bd366c71b72089aa487eece5fea0 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19f4e2073b4ed7727b6347446735fe9283d589cf9fcbb61719567daf38ad5ec |
|
MD5 | 476f68b06afdb8e5e9197cea981a2597 |
|
BLAKE2b-256 | 4a85af7dda8dd333197b7b12cc51ca3ea2d806462181fecaa436d82098c016d2 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04c1c902d128a07f91293869c5a2e94b830d1f0bad2718ed3bab7804a44a02fc |
|
MD5 | 03b6f8ef82ff6c0793ee7be72e3adf88 |
|
BLAKE2b-256 | 6f950fbee63bb6bb3c7e198e770f8c5341aa87a13d565f0da7d90d91bc9cd4d1 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8a2c4e95a6df042691c64414667d5c66ffb8d597f0fa0a699fc2b972a8d1c24 |
|
MD5 | 6f6acf81e3e5038600657914acaab527 |
|
BLAKE2b-256 | a742604772e21a14f02243d39f6b7598dd7feb244d9782be98479963779a0558 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47aeb63a1b5866216eb517b759ae67ab45bc17909ea76cece8ccd495efdfa8a1 |
|
MD5 | 31da43db1bd13b9d6faf9f60f73e5a3b |
|
BLAKE2b-256 | ab131c5d88202271e45a7432319addd7bd1dab83ade47d394b68f089b44e88f6 |
Close
Hashes for tabatu-0.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8943a469aafddb8694022fa51508bd25c51b6b5bb458ff4c9d838cfd249b200 |
|
MD5 | 7dadb17e50ada754efb40b0513da58c3 |
|
BLAKE2b-256 | fb529d7e266e2ce634561f728f845c4cbe8bcb034f11d5b874e74863d26ab9d0 |
Close
Hashes for tabatu-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1b9801c7df1d57800f1394622d5648429c220d346738a62ca3164bd06d19c7 |
|
MD5 | 29de1199ca6b5db465151712094574fd |
|
BLAKE2b-256 | 6acdaf9d598a713dca3d51c6729532af7ba59cb924a7f95c84bd08dbb8c45fbc |
Close
Hashes for tabatu-0.2.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e974015348c39fa8d4580af5dc95b5463ed826383bcd015e6cfd1216cc57c942 |
|
MD5 | e46290deff5776aa2f1a6521128ae988 |
|
BLAKE2b-256 | ed3824b38a5d4799f44b8e9660c016b2f1c11accb637e8893ddbd2fe9c4846de |
Close
Hashes for tabatu-0.2.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6272ad815d6de56a694d0e233356e7e762c1e0c924a63622412b0d16f4bfd641 |
|
MD5 | c998b85111c29243610a90c90ed0663c |
|
BLAKE2b-256 | 9d4c43ae1d3144f3500ecae64cf46473522992d05f3e6b46c3929ca5ea782512 |
Close
Hashes for tabatu-0.2.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a8625922be6e7e5d4d3b3bec2399ae725b55584003197dec1f8e831a41a741e |
|
MD5 | ec1fe58042592d953e04ad04554258e0 |
|
BLAKE2b-256 | bf8b9cd4baf6aa6207cb9373a2ed3af3e0628399c220d3e794e3a8a5b00f2676 |
Close
Hashes for tabatu-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e1f6aef0a9b981d42ecfd5110e2739df564e1f12194f45e3a1fbd9e5b6d3a2 |
|
MD5 | 471bce450de3cb4e1983c9e157a499cf |
|
BLAKE2b-256 | e97e7f75506c6ffe8e5adfaeb3778e8a8bddf07aca97292cd71b8e23affa64cf |
Close
Hashes for tabatu-0.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951f07529acca98a9455baaeac7b5fff31e3c7f714a4bdeeaedd9d8d598b2e0a |
|
MD5 | ec0df289e49735c6bf9a1ec5ba683840 |
|
BLAKE2b-256 | b49b9a4621e81520f941a51838de4665cd277aa042b6916e3e1ef0f58cba7dea |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3b7a7b0d6230be5c59c0d90737b62082f441c3ce6022367f5e0151510b851a |
|
MD5 | 8e5fe18303389762924f15d303ea491b |
|
BLAKE2b-256 | 7dbb8bc7407fafb086f4095dc5fdeb6aaa56c93d81dfb01dd9ec0730ae3905d4 |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72edd205733cad031fcc7e37a19785ca952ff01a7d1d83180c41983f74978fb0 |
|
MD5 | 90b6bf5252c29540ddd6b71c313a41a2 |
|
BLAKE2b-256 | d903a73d3d9913215a51f1fdf46394b6dd4674aeeffc367c101f0b372cb00105 |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef32cc4d23375243820db3e6daa9119e06dfeb0fc449c8f36dd1b743f6eebec1 |
|
MD5 | a610bcb159dd7982f86f8309116e62de |
|
BLAKE2b-256 | 01ad6c0ea701f8d67fdd2b39ec196579e8073bc90f3f54612445d1181ef5926d |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23626cb9c47b77adaf2508ab38b0d70542c3ec93db056b5da86ee7942c835a8 |
|
MD5 | 82aa469e9fea6dc5f32a650a249c72ba |
|
BLAKE2b-256 | 0421a9d4b7df93ffe36e474de3869f62a0f73727e143a1a7da34e7cd6f2b49d8 |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312cf56aef57fecceb83a5e50e97d7bf312af8889124f714a3ccaf96f1056e30 |
|
MD5 | fc6f34c2a5cabd45c43b31c5b6c78856 |
|
BLAKE2b-256 | 91d84cfca65def47847810bc4777436d457c4d2d878c39f88b0e3a3983025d7a |
Close
Hashes for tabatu-0.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ce516db5da70fabac0dde73165a548f530df15e43c0ac12d5beb0ca0a54869b |
|
MD5 | 1b49e00e42505c2233632da3e1c3331a |
|
BLAKE2b-256 | a370cc995d021ad74f2425bd8b8970667f3deda052033fc47059e8e564ba84ed |