Skip to main content

Simulador Cuenta Bancaria

Project description

Simulador de Banco

Este robusto simulador bancario incluye tanto un proceso de identificación en el que podrás registrarte y si ya tienes cuentas podrás iniciar sesión. Gracias a ello tendrás tus propias credenciales. Una vez dentro de la cuenta podrás realizar todo tipo de acciones bancarias.

Acciones permitidas

  • Ingresar dinero
  • Retirar dinero
  • Ver saldo
  • Ver información personal
  • Realizar transferencia
  • Pedir préstamo
  • Ver historial de movimientos

Valores por defecto:

    cuentas = {
        "ES123412": {"titular": "Nico","password": "1234", "saldo": 500},
        "ES456432": {"titular": "Ana","password": "1111", "saldo": 1000}
        }
    historial = {
        "Nico":[
            {"msg":"Registro completado en el banco.", "fecha": "2025-11-12 10:10:00"}
            ],
        "Ana": [
            {"msg": "Registro completado en el banco.", "fecha": "2025-11-12 10:10:00"}
            ]
    }

Estos valores te permitirán realizar pruebas sin necesidad de crear nuevos usuarios.

Función inicial

Para iniciar la simulación deberás llamar a la función iniciarSimulacion().

def iniciarSimulacion():

Importaciones de módulos

  • datetime : Para recoger la fecha y hora exacta actual.
  • random : Para generar números aleatorios en un rango determinado.

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

simuladorcuentabancaria-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

simuladorcuentabancaria-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file simuladorcuentabancaria-0.1.1.tar.gz.

File metadata

  • Download URL: simuladorcuentabancaria-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for simuladorcuentabancaria-0.1.1.tar.gz
Algorithm Hash digest
SHA256 92b4a569425d25e5e2130475c8be32f1bfb99d1d67a318cc65c6618569aa9e12
MD5 d2bd1a82e4782b4f6bfb53c4cf3971c8
BLAKE2b-256 6da3adb527c345c88cc997fef32558385be74b61944ab5ba358ed0043fba9791

See more details on using hashes here.

File details

Details for the file simuladorcuentabancaria-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simuladorcuentabancaria-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e323eccde2cac6fae29b604f7f417bc04788deb0a0da3da2837e8ef8db3050a
MD5 1e0bf8cdb8313193b8c0faea3e539ac0
BLAKE2b-256 035ea44a57b5aed660ab74ef8aeaedc03e34b04e897e262aef3dc308bb4ee32a

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