A bank management package
Project description
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 to install bank_management_fc
pip install bank_management_fc
Example
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bank_management_fc-0.0.1.tar.gz.
File metadata
- Download URL: bank_management_fc-0.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d909b5aa0e6211a1315f3c9b7105413148dfbbc9e7a3e943e6e9920fc02d24e4
|
|
| MD5 |
956d74750b3523c2c65445bccec523dd
|
|
| BLAKE2b-256 |
b544ac067acb4813cf17d92dd6f59fd70dbb0498810bcaffe462ea43d274eb6b
|
File details
Details for the file bank_management_fc-0.0.1-py3-none-any.whl.
File metadata
- Download URL: bank_management_fc-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28f291c496033ff88d5ff99c56d4365ef66797ab4d7cf63a010173545f0e742
|
|
| MD5 |
6636f1522e880ae528b2b3fd026e8685
|
|
| BLAKE2b-256 |
58ca183a137875fb1672e31fd8504746f5161aa8bce052f6bd629f494e69da1a
|