Skip to main content

Motor de economía simulada con cuentas, bancos, inflación, sistema de mercado e inventario

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-2.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

xveco-2.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xveco-2.0.1.tar.gz
Algorithm Hash digest
SHA256 f68dcbfed5f3d82c36c6ecb875febbd548bc2b87031cce04fb5afe337b69121d
MD5 5ddf6800cf45f129b89addb526a4b0e4
BLAKE2b-256 383c36ded0f409bbf0e5b27b1b40d6e40294c974bfc0e36c2954a3043a0ef235

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xveco-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.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-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4da35bf7b1526d84974ddfb89c6cedfb11b63c3156a833554a5d36cf1d89c92
MD5 b3e4a07d0929778a0847e100189d5ad8
BLAKE2b-256 ab467a973df79eaeb91ce87dbae18e5576e374377ffb8a5da982e75aa94a9385

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