Skip to main content

Librería de economía simulada con cuentas, inflación y banco

Project description

xveco

Librería de economía simulada en Python.

💰 Características

  • Cuentas con dinero en céntimos
  • Transferencias entre usuarios
  • Sistema de inflación
  • Banco con dinero limitado
  • Préstamos con interés
  • Sistema de deuda

🚀 Ejemplo básico

import xveco

coin = xveco.Currency("XCoin", "X", 0.5, "🪙")

santi = xveco.Account("Santi", coin)
pepe = xveco.Account("Pepe", coin)

santi.deposit(100)
pepe.deposit(50)

santi.transfer(pepe, 25)

coin.apply_inflation(10)

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

xveco-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xveco-1.0.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file xveco-1.0.0.tar.gz.

File metadata

  • Download URL: xveco-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for xveco-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3917b9a109751fffe3819499958bfa3e33e024e5d4462787b78e63a94bddb74a
MD5 654aa03b36230762c44ae8e8e2006279
BLAKE2b-256 1bfa9794b2aa1623d74bb4cb5d0fafa8196bcd074fad3d31f6ab4cb7302cc403

See more details on using hashes here.

File details

Details for the file xveco-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: xveco-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for xveco-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4ed8abe0773c2056a526a607eb525a04f3cfc0c174da487d4c4c65d546f66fb
MD5 df2ec548c90a5dd81370f0fd3adb88b9
BLAKE2b-256 eb5b4211efa4531a38727de859f37bd1624892cfd445cb11cf1b4df5a82449a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page