Giter Club home page Giter Club logo

python_bank's Introduction

Console Banking System

This is a simple console-based banking system implemented in Python. It provides a set of functionalities for managing bank accounts, performing transactions, and accessing account information. The system supports the following features:

  • Deposit funds
  • Withdraw funds
  • Transfer funds to another account
  • View account information
  • Generate account statements
  • View balance history
  • Update personal information
  • Password protection
  • Error handling for invalid operations

Getting Started

To run the banking system, make sure you have Python installed on your machine. Clone this repository and navigate to the project directory.

Shell

git clone https://github.com/CharlieCidral/python_bank.git
    cd python_bank

Usage

Run the Python script to start the console-based banking system.

Shell

python bank.py

The system will present a menu with different options. Select the desired operation by entering the corresponding letter. Follow the prompts and provide the required information to perform transactions, view account details, or update personal information.

User Accounts

The banking system utilizes a user_accounts data structure to store account information. The structure is defined as follows:

python

This info is for Login to test
user_accounts = {
    "user1": {
        "senha": "password1",
        "saldo": 1000.0,
        "extrato": "",
        "historico_saldo": [],
        "nome": "João da Silva",
        "numero_conta": "123456789",
        "contato": "[email protected]",
        "type": "admin"  # Type of account
    },
    "user2": {
        "senha": "password2",
        "saldo": 500.0,
        "extrato": "",
        "historico_saldo": [],
        "nome": "Maria Oliveira",
        "numero_conta": "987654321",
        "contato": "[email protected]",
        "type": "regular"  # Type of account
    },
    # Add more user accounts as needed
}

Feel free to modify the user accounts data structure to add or update account information.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please create a pull request or submit an issue.

License

This project is licensed under the MIT License.

python_bank's People

Contributors

charliecidral avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.