VickClass - Bank_Account Utility
VickClass is a simple Python package that provides a basic simulation of a bank account. It allows users to deposit, withdraw, and check balance, making it great for beginner-level understanding of object-oriented programming in Python.
📦 Installation
Install directly from PyPI:
pip install VickClass
🧠 Features
- Deposit money
- Withdraw money (with insufficient balance check)
- Display current balance
🧪 Usage Example
from vicksclass.vicks import Bank_Account
# Create an account with an optional initial balance
account = Bank_Account(balance=1000)
# Deposit money
account.deposit(500)
# Withdraw money
account.withdraw(200)
# Display balance
account.display()
📁 Class Reference
Bank_Account(balance=0)
Initializes the account with a balance. Default is 0.
.deposit(amount)
Adds the specified amount to the balance.
.withdraw(amount)
Subtracts the specified amount if sufficient balance is available. Otherwise, prints a warning.
.display()
Prints the current available balance.
🧑💻 Author
Vicky Kumar Email: imvickykumar999@gmail.com
🪪 License
This project is licensed under the MIT License
Metadata
Release files for VickClass 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vickclass-0.0.1.tar.gz | 3.4 kB | Without provenance | Details for vickclass-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vickclass-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for vickclass-0.0.1-py3-none-any.whl |
Total release size: 6.1 kB
Release files / vickclass-0.0.1.tar.gz
| Download URL | vickclass-0.0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d816dbdce93e2b42d79a4d20080bc00c2e72c21a869ca790a8664ae30ba9360
|
|
BLAKE2b-256 checksum How to use checksums |
cded59d22cf2b6a8a34e491bde3ed495822153b9012899b1a4805b036444250c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / vickclass-0.0.1-py3-none-any.whl
| Download URL | vickclass-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1a910b17d83c2e04560fa4bf4f0030a607c04c04143225262b5ba7457b3733a
|
|
BLAKE2b-256 checksum How to use checksums |
39ac318db68550b3cf1b724b3e41734dcc339bac6a9b34afd645930a06b3c293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for VickClass 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.