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.0.tar.gz (3.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-2.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xveco-2.0.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 f78c85623c4d7b061b4bb67fdef6c69550ccef4714b449899b5ca9eceb8a70f0
MD5 be0d03a179f54ee838182703930ea2cf
BLAKE2b-256 ee147225b003281bdd260b093ba225c0aecb35cc6dea8f4808182a0fade40435

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xveco-2.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51056a638df035dd2ed51d766945305689804f8702fc0ba68238e8f02ea85fed
MD5 9d21014528c58a158409b0c9dc1d8052
BLAKE2b-256 605026386e42e7d6d3262711f192eee7066a26da8e8026ccd3028c5250778a3a

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