Skip to main content

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)

Metadata

Release files for calcfin 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calcfin 1.0.3
File Size Uploaded Provenance Actions
calcfin-1.0.3.tar.gz 2.9 kB Without provenance Details for calcfin-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calcfin 1.0.3
File Interpreter ABI Platform Actions
calcfin-1.0.3-py3-none-any.whl Python 3 none any Details for calcfin-1.0.3-py3-none-any.whl

Total release size: 5.9 kB

Release files / calcfin-1.0.3.tar.gz

Download URL calcfin-1.0.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
51f02382c5b4809958fede2406cbaeb405edca270fd87f5b43780f1235815558
BLAKE2b-256 checksum
How to use checksums
e6e16c2b306c34ceb4e435d52c219b0e54b3f66b4cd303102f3aa67cd97071be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / calcfin-1.0.3-py3-none-any.whl

Download URL calcfin-1.0.3-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
117b6eacfdfbdf7ac8b1146919d1f0d3ae515d6be9fa048242c4d9bf45a22468
BLAKE2b-256 checksum
How to use checksums
111463071adfae89409aa2996d8a27acdca788b55a3d5d8adcdd2d4a2f2da370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for calcfin 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page