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.3.0.tar.gz
(145.8 kB
view hashes)
Built Distributions
tabatu-0.3.0-cp311-cp311-win32.whl
(197.6 kB
view hashes)
tabatu-0.3.0-cp310-cp310-win32.whl
(197.6 kB
view hashes)
tabatu-0.3.0-cp39-cp39-win_amd64.whl
(208.9 kB
view hashes)
tabatu-0.3.0-cp39-cp39-win32.whl
(198.2 kB
view hashes)
tabatu-0.3.0-cp38-cp38-win_amd64.whl
(209.0 kB
view hashes)
tabatu-0.3.0-cp38-cp38-win32.whl
(198.3 kB
view hashes)
tabatu-0.3.0-cp37-cp37m-win_amd64.whl
(207.4 kB
view hashes)
tabatu-0.3.0-cp37-cp37m-win32.whl
(198.2 kB
view hashes)
Close
Hashes for tabatu-0.3.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 521711d8f68b77271217897e0ea24221b9fb14b28b09a6aa6486e5caa2a85b63 |
|
MD5 | 66596976f266206b9a7f680294c26ec3 |
|
BLAKE2b-256 | da24d1035e07dafad3189dcffbe27e366fa433dc4a73bf77685c43f0a19f96a3 |
Close
Hashes for tabatu-0.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31653643e9d4c9a7743043573c51aa150bb4c71ecfd983fe2e1cd0ff86e0a37 |
|
MD5 | facc6a4a0635c629dc7fd930fe5a48b4 |
|
BLAKE2b-256 | 95322e581cc79bfcde8ca6526a80fea986c641ce65cd9b22736358fa8a537a9f |
Close
Hashes for tabatu-0.3.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea6cc1c5346002eb498c767e91803c37fe4a7fb128dc5ec3fe42692cc9214d44 |
|
MD5 | 9b129d5de8a9de89738589096a107a04 |
|
BLAKE2b-256 | 5721f84c6edfd167389f40c2d5b8a4445fcb0a6c67fe9d8b56c13218d5114337 |
Close
Hashes for tabatu-0.3.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255afb5a71254655cce432d29c1e8a3c4328bd0411f519690a621424227fa572 |
|
MD5 | 0833fa1f6fc6b5b56ab5d9c5c3942e67 |
|
BLAKE2b-256 | 0be515c933e49e0ff71b91cee34e64face7e35f066442e8242936de9baa59309 |
Close
Hashes for tabatu-0.3.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4caa8ebae1e53f3110c6e984cc52469e3b573a8c517beba3936bcd4b6955a905 |
|
MD5 | 5c257d4e84c96d5d3db891ac4cf10ba3 |
|
BLAKE2b-256 | 5a9d873ca0cdb9ebb692d91d5a5d43d58a181a49f66118cb0433f5f425a5ee45 |
Close
Hashes for tabatu-0.3.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8761141b579162ac15d38df4e40c9291a8414a46d72810624e4433c8d732d411 |
|
MD5 | 95a3ee30483d4a90774bd39e5526e7ae |
|
BLAKE2b-256 | 83bd672436e3635c4fbe3d6579e50ff3cd100ff401b09cbf8076a0b348c6ba15 |
Close
Hashes for tabatu-0.3.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b5dfb798ad3062c9b3bc81d9a2f7a0bd6164020a45fc7a352bbf8085ddee27 |
|
MD5 | 4cdbc2f1c5bf53292659035fa76d9ce8 |
|
BLAKE2b-256 | 373dbd9f68471c2c9443d5b2cf22cf715f406ac2f1c4a9211ecc353a22f00b00 |
Close
Hashes for tabatu-0.3.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b79c11e915759fd822cff0951cdc59f0ef1677699d7d959c9bf264647044780 |
|
MD5 | 2e48603ff10c95ceb60385e168f1c9cb |
|
BLAKE2b-256 | 228d78082bd4a71a7d78cb3e142cce3accfa01126232f268cb765d84a18be5c5 |
Close
Hashes for tabatu-0.3.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de855d9b2a90ca331ec7ff3b4b2f2cd3594668f23986a1a6a62d16113f7085ce |
|
MD5 | b7568ad413c8dd2f9490bc9e4bba4e5b |
|
BLAKE2b-256 | d19d9b5051425425e92c938a31fdf6dc64da14575c83bd7d2b5e844116978516 |
Close
Hashes for tabatu-0.3.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73be3833d16a1ba8f2bd580950bd48e23cee8e27679c29061c60366ace2697d0 |
|
MD5 | 823e9c67de979b639126ebb63146711c |
|
BLAKE2b-256 | 7d37df6d3879db5eafd19633f009b02b82eeb91a75362aff0140605b4380945d |
Close
Hashes for tabatu-0.3.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c5fb6d8220bb3b5ae51450d1cb39ec1056d623461bc6e21efaf9bc8ed3e6267 |
|
MD5 | d78e2e9003d78624ad8ed6b5097c8d8e |
|
BLAKE2b-256 | 995f8249be4984abfd368fc5dfb04d8ef4513c68e2e76adb9bd9e33e1c4a1495 |
Close
Hashes for tabatu-0.3.0-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aba139b6dad6ded9413db3ae3f55bcbcb15631a4d3f7b0b69d0922055c9bead1 |
|
MD5 | 74dbf773ac8277ae2ef1c642717d553a |
|
BLAKE2b-256 | dd8e3c73b116d418707d22968024fe20017c49e00cdd97ccb37ed4ab069fd6c8 |
Close
Hashes for tabatu-0.3.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cfa6fd805c57b794acd06166be15e90f80d1855cfbea26b1be313a1a514d25f |
|
MD5 | 6e082f1fb9d8816db1953ad4c6aa91d4 |
|
BLAKE2b-256 | 660e93d57b9b5d745e87d1f040d6ba1b93b72ce584c94989c68ff6f78b08efe0 |
Close
Hashes for tabatu-0.3.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9752c3944cd223b431d4c40cc5db1646425eef0feb010ff8fe7ec92665ffc7b2 |
|
MD5 | 17be9c11cbb089b1e7e565907984aef3 |
|
BLAKE2b-256 | b42eeb85e560c7c4f79d8bb5e83726648576fe971d20cd69bf210b4c96db0708 |
Close
Hashes for tabatu-0.3.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896f2fbbb53c1cf0b656ca36d65650273e43e0e58bd41336513c7950621a63f8 |
|
MD5 | e680113e8af6eafa7e9133f6a5bab3c5 |
|
BLAKE2b-256 | bede550d3da165829f07c834c193e725d4470ab06afefcf370a5c3c4bb9bbf14 |
Close
Hashes for tabatu-0.3.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c7e6bb343bf9f14ef8dbb1c26c2af53ea521e62f9c2b5d25bf360ba274d35a |
|
MD5 | 2f93e9f759ab5f7ed0d30d398388d1ee |
|
BLAKE2b-256 | c24c7d05208d8116a8e32685809a05522479c055aafc646ff851f7ef285d0ed9 |
Close
Hashes for tabatu-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af98e8e95aaa1416ddeac2c752ec5d337f760a1c298cb9dc3b6416d864fe5bb8 |
|
MD5 | d19b56513d447e001fa2cad31703cbe9 |
|
BLAKE2b-256 | 2eac3a90ad2bdecad77d3c2f9db91b8cbc33ee278a92794478d042a8af48be2e |
Close
Hashes for tabatu-0.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a758750a5bb5830bb8e25c339f338947dfa3eed8ea57011d77cf63a5e1e39228 |
|
MD5 | 248d9755ca2542ce69d2574b374e52f3 |
|
BLAKE2b-256 | 7876564ffa2cc036a14d4ed56e5678fdaf31457f7d2de21100dae12c10983a05 |
Close
Hashes for tabatu-0.3.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b5dd8c1a7afb55cd4ea850f7a8e872bcc552cc81b9bb3a09dc6056b407f95f |
|
MD5 | dda8b1a84d6203ad2691ff4fca4f82a2 |
|
BLAKE2b-256 | 51adfdf7b649a20e1df6450f12565d61713b7aaa609af81ce41fb9e4839df7d3 |
Close
Hashes for tabatu-0.3.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb54117c423871d1edebed9a78e0537619cb63dcdec5d0a42270f4831f4e00b1 |
|
MD5 | df784fc69725312236bbe891374c7bb7 |
|
BLAKE2b-256 | 855ce3660a91a6eaa5e9337e32f31319056ebc8c81c3ad5740c9bb16c3cf9405 |
Close
Hashes for tabatu-0.3.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f39f704d313a02cd4feb60c64711a5ab520085f0df0f7f8d89aa647ef2f42b76 |
|
MD5 | cb3c56486cafccf77234ceeb4834f2ba |
|
BLAKE2b-256 | 6dcab9224a75918125b43a7402f26e5364ab6ce331b98569a36cea4783c3f1be |
Close
Hashes for tabatu-0.3.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38afc6d37a35344eacac3a70c7966647ba5e78cf2ca9e558205610b741806e65 |
|
MD5 | 5a1ff8b853218c2512c0ae11b8415bba |
|
BLAKE2b-256 | 1c95083d6412999879337ddc6b234847bbc2b87fff69ba05a7ec2191b84af95a |
Close
Hashes for tabatu-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a46b8b73704562b837aa8f16944a1a7cbed14af74656a0f0c6a1a0a05fdcf9a |
|
MD5 | 7563845435e4042c59def36d9c18b9bb |
|
BLAKE2b-256 | 6ec54ad43985b4fce382b9d23710bf1d7d0a7e728a0c6298b72737715a1baa04 |
Close
Hashes for tabatu-0.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d274f6ac1c52ace1fd3aeea0f23d79e0d0f5097bdae77afbc07d62fbb1c087 |
|
MD5 | 46912265c3b8494e57fb40948dd6570e |
|
BLAKE2b-256 | 83cbe1a674958a8f318002e9b87846fafcb337109c24103adee1f7456c4457e5 |
Close
Hashes for tabatu-0.3.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e05f5b4cbc9370f3f3d0c33f2851660a87cfe208e8124e109ce27e2e315b256 |
|
MD5 | cfceb511261988fbb69a658466523eb4 |
|
BLAKE2b-256 | 0108d0d1077f01e9a334eda83f4821da840da932e869febaf0e5deadda4a5d03 |
Close
Hashes for tabatu-0.3.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad811f09654675ecb3151afe5e6036ad6766c5100e489b3524134a1fe2b1196e |
|
MD5 | 891daff80e891c61b50f40280f6b3865 |
|
BLAKE2b-256 | 106d3a2956a1fdbe88725fd2cd45f1e0c9d6484233e1b0ad810386b34b92b37e |
Close
Hashes for tabatu-0.3.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5602290196dc23d2ed7f50bc43ade6ca8a8d225142ca1d9ad6dc98f4acc8cf64 |
|
MD5 | 8991beb9edbd307e674001fe472a0f0d |
|
BLAKE2b-256 | 1fa73a97986a05aafd985e8d61df4c755027dd3a6b210511ce33beb4bb24259d |
Close
Hashes for tabatu-0.3.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebd5e842907ddf938cd4bd1aa5170efcf184a0b24cff63fe8b496e7cc43a19e |
|
MD5 | a87647d52a3fd33d3e8c97bcb7e33a99 |
|
BLAKE2b-256 | a32a77b6b86d0354641d1bb67c1576f3740ac8c2832d2f4c6a68198f95da1215 |
Close
Hashes for tabatu-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f074feb694dffe94a80b0e54b93187010c99f11d189043486672b60d704f00 |
|
MD5 | cf298d3e50ef94072f9df78c163206b5 |
|
BLAKE2b-256 | 6c7391c7ddfe4f9d6b447ed00ff044489286edac0f21877d23ef92ca53bd29d0 |
Close
Hashes for tabatu-0.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ba3201937c6ad2c2b715009cb70234acd85d9aadb1d4904b3463293fb7614b |
|
MD5 | cbc7ffd3e96b2bd1a75625eee6ff1238 |
|
BLAKE2b-256 | 91f700635edfa0c5ef39e12834c88188dcb2989b8006597f01985ac17b602e5c |
Close
Hashes for tabatu-0.3.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a7b2c713d960fbe5299df15a9d8c6d33f7fdf29711c9401864e9e6dcb77b96 |
|
MD5 | a7162c0eca74baa5fd0f9c11b4b2b3d7 |
|
BLAKE2b-256 | 8109f2c31f9440f53d27afc67ee2b266a489a11908c0833d73301a3e62f26332 |
Close
Hashes for tabatu-0.3.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde6199c9968515bf522f2acb58cc4754b2120a0eed91471991dc37080c668be |
|
MD5 | ef5c0a9359127c95f1246c20c6729604 |
|
BLAKE2b-256 | ceeccfbefea5e16a57b683af3f4ec58f5b727e2566630d145cf79d00fb85aca5 |
Close
Hashes for tabatu-0.3.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae0942e46ab195a201bfd06ada9fa114c3d0b5f7a28b7c0ca7b5ada7eb42940 |
|
MD5 | 3c46fb9ac9d026899a2dbe1a05fa127f |
|
BLAKE2b-256 | ac0809bb4ffe9bb46bc1a7cdd5c8f148f1f3dc025bd520d0dba2ded550057b0e |
Close
Hashes for tabatu-0.3.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b91855ba1c6c119cde46baa58cec3356e9c9f96c87f34900e19ea64fb9cb14d |
|
MD5 | c51f7aeedd328a99241dffcabb7d1885 |
|
BLAKE2b-256 | d92df12b505822fa935f3568b96ee9ad4bbf87cc84d380307d838451e84f4601 |
Close
Hashes for tabatu-0.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e685b897257f592e7092a9605dc0995de895e3e866caefe834458ebd305f13 |
|
MD5 | 4b8fbf5dbd9f80082776958a3751bc9f |
|
BLAKE2b-256 | fd7294e4128ddbaafe7e2e2f42f208866c48998e83b0c606d3f2e33eceb4906f |
Close
Hashes for tabatu-0.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a919e42a13068bccdd27fb119f7a8c1c99a71bc8c3438e35c387dbca6251e984 |
|
MD5 | 7a093ac3d30ab1b0c894603380bde85d |
|
BLAKE2b-256 | 09d32a47d863972e33af83c4ca62260a3b4e62a9c97a79aaf4492eb6052d361c |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19b024c279f51da8117b1c38ecc6414c67b2cae1bee37eff2f9dca961cb62c8 |
|
MD5 | 88120bb73d911ae16ee0b0a41f253e2d |
|
BLAKE2b-256 | df5064997021354926eaede80ed35048238be0447be014e97dfb2b3914136a03 |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ff27f5e71b9346c8cf5a0e12335f71cda48e017c5c3a90f70a94d0dfb361be |
|
MD5 | 3d4445272c74b8ec66f67342c75c1680 |
|
BLAKE2b-256 | 9dcdffc50df8e70025798553f7fd8a55beee2c39ab44d4377ade0fe52478ea02 |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9363e7f50365a8dda09cccf63dce9f0035f1646147560b98f2b6d37e3ccf55b9 |
|
MD5 | fda3732b8285e1f014081df946382340 |
|
BLAKE2b-256 | 05efe011f4a412f624923128c576e891ea32b9a176be0b4ca4a6a530fabfa798 |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97f9814f66d611df9f55bcbe590166704b68d5d1d80a9d98273550b8c04a5c52 |
|
MD5 | 939a0ee186463d07cee930c0600fd39c |
|
BLAKE2b-256 | 9993156626c4ffd4f076e320b69f27267b21b86121c6357b1757faf74770950b |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce82a30ff1c586619cdafc9eea2b8fa9ff6d1891bfd38c53c136df312b15fe8d |
|
MD5 | 82e047528e7f0263dc8d025b863408f5 |
|
BLAKE2b-256 | a43c835eb7fb484976b2ee1204ab9f69f0e34eb1d553e744f828c9ffadd5b63f |
Close
Hashes for tabatu-0.3.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23d6a6b697019cf6b7eebeecf0ea41246e2290d793dfdbdc82a71f3a8141858b |
|
MD5 | 640d3954e670c4ce7bd3a9a31cd6fad1 |
|
BLAKE2b-256 | 0b6701942c231a5cd3a800a5470570d73265c423d4f66778a49085a497ea7b0c |