Metadata-Version: 2.4
Name: bank_management_fc
Version: 0.0.1
Summary: A bank management package
Home-page: https://github.com/FlowCreeper/dio-bank-management
Author: FlowCreeper
Author-email: caiocoutinho20120@gmail.com
Requires-Python: >=3.12.1
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# bank_management_fc

Description. 
The package bank_management_fc is used to:

  - account: Create a Account and modify their transactions
  - balance: Transactions methods
  - user: Create a User and modify his accounts

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install bank_management_fc

```bash
pip install bank_management_fc
```

## Example

```python
from datetime import date
from bank_management_fc import NaturalPerson, CheckingAccount

user = NaturalPerson("Rua A, 123", "12345678900", "JoÃ£o Silva", date(1990, 1, 1))
acc = CheckingAccount.new_account(1, user) 
# acc = CheckingAccount(1, user) 
# user.add_account(acc)

acc.deposit(1000000000)
acc.withdraw(200)
acc.withdraw(300)
acc.withdraw(50)
print(acc.string_statement()) # String statement
print(acc.statement) # List statement
```

## Author
FlowCreeper

## License
[MIT](https://choosealicense.com/licenses/mit/)
