Skip to main content

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

MIT

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

bank_management_fc-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

bank_management_fc-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for bank_management_fc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d909b5aa0e6211a1315f3c9b7105413148dfbbc9e7a3e943e6e9920fc02d24e4
MD5 956d74750b3523c2c65445bccec523dd
BLAKE2b-256 b544ac067acb4813cf17d92dd6f59fd70dbb0498810bcaffe462ea43d274eb6b

See more details on using hashes here.

File details

Details for the file bank_management_fc-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bank_management_fc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e28f291c496033ff88d5ff99c56d4365ef66797ab4d7cf63a010173545f0e742
MD5 6636f1522e880ae528b2b3fd026e8685
BLAKE2b-256 58ca183a137875fb1672e31fd8504746f5161aa8bce052f6bd629f494e69da1a

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