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.2.tar.gz (4.7 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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simuladorcuentabancaria-0.1.2.tar.gz
  • Upload date:
  • Size: 4.7 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.2.tar.gz
Algorithm Hash digest
SHA256 c877744bed90f2b6f965869952ffc328712bed0570702daebca3954406207f16
MD5 17af312ec5066c87311d2b3b07727861
BLAKE2b-256 827ceeb4d7557239ff704df7ee729df76e94dbd11926d79787903e9e19ad128a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simuladorcuentabancaria-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 071e5676753b63a0fc9c9b85d27504ea67191849eaeb04dc079cd4a2a9a6effd
MD5 3999e4e1b14232e691ad027896f9c554
BLAKE2b-256 b4aabd9e190a6851514950ca1539bfa1f2c6d38a82d656585d04f64b9ff8f2c8

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