Skip to main content

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, TabuaMDTe 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.0.1.tar.gz (134.2 kB view hashes)

Uploaded Source

Built Distributions

tabatu-0.0.1-pp310-pypy310_pp73-win_amd64.whl (184.2 kB view hashes)

Uploaded PyPy Windows x86-64

tabatu-0.0.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (224.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (228.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-pp39-pypy39_pp73-win_amd64.whl (184.2 kB view hashes)

Uploaded PyPy Windows x86-64

tabatu-0.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (224.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (228.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-pp38-pypy38_pp73-win_amd64.whl (184.2 kB view hashes)

Uploaded PyPy Windows x86-64

tabatu-0.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (225.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (229.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-pp37-pypy37_pp73-win_amd64.whl (184.2 kB view hashes)

Uploaded PyPy Windows x86-64

tabatu-0.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (226.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (231.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-cp311-cp311-win_amd64.whl (187.6 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

tabatu-0.0.1-cp311-cp311-win32.whl (178.1 kB view hashes)

Uploaded CPython 3.11 Windows x86

tabatu-0.0.1-cp311-cp311-musllinux_1_1_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

tabatu-0.0.1-cp311-cp311-musllinux_1_1_i686.whl (1.6 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

tabatu-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (955.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-cp310-cp310-win_amd64.whl (187.6 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

tabatu-0.0.1-cp310-cp310-win32.whl (178.1 kB view hashes)

Uploaded CPython 3.10 Windows x86

tabatu-0.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

tabatu-0.0.1-cp310-cp310-musllinux_1_1_i686.whl (1.5 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

tabatu-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (984.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (944.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-cp39-cp39-win_amd64.whl (188.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

tabatu-0.0.1-cp39-cp39-win32.whl (178.7 kB view hashes)

Uploaded CPython 3.9 Windows x86

tabatu-0.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

tabatu-0.0.1-cp39-cp39-musllinux_1_1_i686.whl (1.5 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

tabatu-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (989.7 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (940.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-cp38-cp38-win_amd64.whl (188.3 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

tabatu-0.0.1-cp38-cp38-win32.whl (178.8 kB view hashes)

Uploaded CPython 3.8 Windows x86

tabatu-0.0.1-cp38-cp38-musllinux_1_1_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

tabatu-0.0.1-cp38-cp38-musllinux_1_1_i686.whl (1.6 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

tabatu-0.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (981.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (945.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

tabatu-0.0.1-cp37-cp37m-win_amd64.whl (188.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

tabatu-0.0.1-cp37-cp37m-win32.whl (178.7 kB view hashes)

Uploaded CPython 3.7m Windows x86

tabatu-0.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

tabatu-0.0.1-cp37-cp37m-musllinux_1_1_i686.whl (1.5 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

tabatu-0.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (976.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

tabatu-0.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (940.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

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