Library for performing financial calculations (Compound Interest, Simple Interest, Graphs, TAE and TIN...)
Project description
CalcFin
CalcFin es una librería de Python orientada al análisis financiero básico, que permite realizar cálculos de interés simple y compuesto, conversiones entre tipos de interés (TIN y TAE), y visualización de la evolución del capital a lo largo del tiempo.
Características
- Cálculo de interés simple y compuesto
- Resolución de variables financieras (capital inicial, final, tipo de interés y tiempo)
- Representación gráfica de evolución del capital con Matplotlib
- Conversión entre TIN y TAE
- Soporte básico para manejo de datos con Pandas
- Exportación de resultados a CSV
Funcionalidades principales
Intereses
Permite calcular:
- Capital final (Cn)
- Capital inicial (C0)
- Tipo de interés (i)
- Tiempo (n)
Tanto en régimen de interés simple como compuesto.
Visualización
Genera gráficos de evolución del capital, tipo de interés o tiempo usando matplotlib.
Conversión financiera
Convierte entre:
- TIN (Tipo de Interés Nominal)
- TAE (Tasa Anual Equivalente)
- Capitalización periódica
Gestión de datos
Permite almacenar y exportar resultados en formato CSV mediante pandas.
Dependencias
- numpy
- matplotlib
- pandas
Ejemplo de uso
from CalcFin import CalcFin
f = CalcFin(c0=1000, i=5, n=10, cn=0)
f.calculate(comp=True)
f.graph(comp=True, c0=1000, i=5, n=10, cn=0, t0=0, tn=10, lbl=True)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file calcfin-1.0.1.tar.gz.
File metadata
- Download URL: calcfin-1.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f2990eae915c19e7413d332f8e534a1ada2cd681a57f8042b60c5036287d6ea
|
|
| MD5 |
e29fd604e0be2785df696c0bdd16235d
|
|
| BLAKE2b-256 |
344e583edb5a1342666871bdc552c330db38909a9739cb87db2f716eec1b723a
|
File details
Details for the file calcfin-1.0.1-py3-none-any.whl.
File metadata
- Download URL: calcfin-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f7a643aa87cedca30efa59a390b0d04836a70f0c16a2d51213279f5edb6f9a3
|
|
| MD5 |
fbebabf7936d23feb5dddc2f08c7d6cf
|
|
| BLAKE2b-256 |
4d397f3b1ef62ce192ccfb2afffdd0c8ca178e4cc11d642ce5b9dee0be7ef4c0
|