Name | kmbbank JSON |
Version |
0.1.1
JSON |
| download |
home_page | https://github.com/thedtvn/MBBank |
Summary | Unofficial MB Bank client (repackaged as kmbbank). |
upload_time | 2025-09-06 12:31:25 |
maintainer | None |
docs_url | None |
author | Lê Khang |
requires_python | >=3.8 |
license | MIT License
Copyright (c) 2025 The DT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
mbbank
banking
api
unofficial
|
VCS |
 |
bugtrack_url |
|
requirements |
Pillow
requests
aiohttp
setuptools
wheel
wasmtime
mb-capcha-ocr
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# kmbbank
**Unofficial MB Bank API client for Python**
Repackaged and maintained as **kmbbank**.
---
## 📌 Giới thiệu
`kmbbank` là một thư viện Python không chính thức giúp bạn tương tác với hệ thống ngân hàng **MB Bank** (Ngân hàng TMCP Quân đội) thông qua API.
Thư viện này được fork lại từ [thedtvn/MBBank](https://github.com/thedtvn/MBBank), tinh chỉnh để dễ cài đặt, dễ dùng hơn và phân phối qua PyPI với tên gói ngắn gọn `kmbbank`.
⚠️ **Lưu ý**: Đây là dự án cộng đồng, **không phải API chính thức của MB Bank**. Việc sử dụng có thể tiềm ẩn rủi ro (bị chặn truy cập, khóa tài khoản…). Vui lòng cân nhắc và tự chịu trách nhiệm khi dùng.
---
## ✨ Tính năng chính
- Đăng nhập tài khoản cá nhân MB Bank (qua API không chính thức).
- Lấy danh sách tài khoản, số dư, lịch sử giao dịch.
- Hỗ trợ OCR CAPTCHA qua gói [mb-capcha-ocr](https://pypi.org/project/mb-capcha-ocr/).
- Dùng session/cookie để tái sử dụng phiên đăng nhập.
- Viết bằng Python thuần, dễ mở rộng và tích hợp.
---
## ⚙️ Yêu cầu
- Python **3.8+**
- Các thư viện phụ trợ: `requests`, `aiohttp`, `Pillow`, `wasmtime`, `mb-capcha-ocr`
- Tuỳ chọn: [onnxruntime](https://onnxruntime.ai/getting-started) nếu bạn muốn dùng OCR tăng tốc với GPU (CUDA).
---
## 🚀 Cài đặt
Cài trực tiếp từ PyPI:
```bash
pip install kmbbank
Raw data
{
"_id": null,
"home_page": "https://github.com/thedtvn/MBBank",
"name": "kmbbank",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "mbbank, banking, api, unofficial",
"author": "L\u00ea Khang",
"author_email": "L\u00ea Khang <kmb247.com@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/3e/8f/eb63d3d439a79eef60fa0883b21bb990efd3a573e6bbc49076186a4c0049/kmbbank-0.1.1.tar.gz",
"platform": null,
"description": "# kmbbank\r\n\r\n**Unofficial MB Bank API client for Python** \r\nRepackaged and maintained as **kmbbank**.\r\n\r\n---\r\n\r\n## \ud83d\udccc Gi\u1edbi thi\u1ec7u\r\n\r\n`kmbbank` l\u00e0 m\u1ed9t th\u01b0 vi\u1ec7n Python kh\u00f4ng ch\u00ednh th\u1ee9c gi\u00fap b\u1ea1n t\u01b0\u01a1ng t\u00e1c v\u1edbi h\u1ec7 th\u1ed1ng ng\u00e2n h\u00e0ng **MB Bank** (Ng\u00e2n h\u00e0ng TMCP Qu\u00e2n \u0111\u1ed9i) th\u00f4ng qua API. \r\n\r\nTh\u01b0 vi\u1ec7n n\u00e0y \u0111\u01b0\u1ee3c fork l\u1ea1i t\u1eeb [thedtvn/MBBank](https://github.com/thedtvn/MBBank), tinh ch\u1ec9nh \u0111\u1ec3 d\u1ec5 c\u00e0i \u0111\u1eb7t, d\u1ec5 d\u00f9ng h\u01a1n v\u00e0 ph\u00e2n ph\u1ed1i qua PyPI v\u1edbi t\u00ean g\u00f3i ng\u1eafn g\u1ecdn `kmbbank`. \r\n\r\n\u26a0\ufe0f **L\u01b0u \u00fd**: \u0110\u00e2y l\u00e0 d\u1ef1 \u00e1n c\u1ed9ng \u0111\u1ed3ng, **kh\u00f4ng ph\u1ea3i API ch\u00ednh th\u1ee9c c\u1ee7a MB Bank**. Vi\u1ec7c s\u1eed d\u1ee5ng c\u00f3 th\u1ec3 ti\u1ec1m \u1ea9n r\u1ee7i ro (b\u1ecb ch\u1eb7n truy c\u1eadp, kh\u00f3a t\u00e0i kho\u1ea3n\u2026). Vui l\u00f2ng c\u00e2n nh\u1eafc v\u00e0 t\u1ef1 ch\u1ecbu tr\u00e1ch nhi\u1ec7m khi d\u00f9ng.\r\n\r\n---\r\n\r\n## \u2728 T\u00ednh n\u0103ng ch\u00ednh\r\n\r\n- \u0110\u0103ng nh\u1eadp t\u00e0i kho\u1ea3n c\u00e1 nh\u00e2n MB Bank (qua API kh\u00f4ng ch\u00ednh th\u1ee9c). \r\n- L\u1ea5y danh s\u00e1ch t\u00e0i kho\u1ea3n, s\u1ed1 d\u01b0, l\u1ecbch s\u1eed giao d\u1ecbch. \r\n- H\u1ed7 tr\u1ee3 OCR CAPTCHA qua g\u00f3i [mb-capcha-ocr](https://pypi.org/project/mb-capcha-ocr/). \r\n- D\u00f9ng session/cookie \u0111\u1ec3 t\u00e1i s\u1eed d\u1ee5ng phi\u00ean \u0111\u0103ng nh\u1eadp. \r\n- Vi\u1ebft b\u1eb1ng Python thu\u1ea7n, d\u1ec5 m\u1edf r\u1ed9ng v\u00e0 t\u00edch h\u1ee3p.\r\n\r\n---\r\n\r\n## \u2699\ufe0f Y\u00eau c\u1ea7u\r\n\r\n- Python **3.8+** \r\n- C\u00e1c th\u01b0 vi\u1ec7n ph\u1ee5 tr\u1ee3: `requests`, `aiohttp`, `Pillow`, `wasmtime`, `mb-capcha-ocr` \r\n- Tu\u1ef3 ch\u1ecdn: [onnxruntime](https://onnxruntime.ai/getting-started) n\u1ebfu b\u1ea1n mu\u1ed1n d\u00f9ng OCR t\u0103ng t\u1ed1c v\u1edbi GPU (CUDA).\r\n\r\n---\r\n\r\n## \ud83d\ude80 C\u00e0i \u0111\u1eb7t\r\n\r\nC\u00e0i tr\u1ef1c ti\u1ebfp t\u1eeb PyPI:\r\n\r\n```bash\r\npip install kmbbank\r\n",
"bugtrack_url": null,
"license": "MIT License\r\n \r\n Copyright (c) 2025 The DT\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in all\r\n copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n SOFTWARE.",
"summary": "Unofficial MB Bank client (repackaged as kmbbank).",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://kmb247.com",
"Issues": "https://github.com/thedtvn/MBBank/issues",
"Source": "https://github.com/thedtvn/MBBank"
},
"split_keywords": [
"mbbank",
" banking",
" api",
" unofficial"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "670db68b741d615119398e43d67e291ff89406ad80b0d3845d9e2d1e5c5baf6a",
"md5": "9430d545a58cef3222e14774c3587261",
"sha256": "a76d9ef3bf6049e1998ddbc80c76788e02c6c3051cb170d5df460994b557c73e"
},
"downloads": -1,
"filename": "kmbbank-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9430d545a58cef3222e14774c3587261",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 18714,
"upload_time": "2025-09-06T12:31:23",
"upload_time_iso_8601": "2025-09-06T12:31:23.245795Z",
"url": "https://files.pythonhosted.org/packages/67/0d/b68b741d615119398e43d67e291ff89406ad80b0d3845d9e2d1e5c5baf6a/kmbbank-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3e8feb63d3d439a79eef60fa0883b21bb990efd3a573e6bbc49076186a4c0049",
"md5": "4ce9813ac12e98fd2cc5990792f40155",
"sha256": "366387693139cd777b9b125699c332b86cff17eb433d713683861e14dec684c5"
},
"downloads": -1,
"filename": "kmbbank-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4ce9813ac12e98fd2cc5990792f40155",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 16379,
"upload_time": "2025-09-06T12:31:25",
"upload_time_iso_8601": "2025-09-06T12:31:25.349797Z",
"url": "https://files.pythonhosted.org/packages/3e/8f/eb63d3d439a79eef60fa0883b21bb990efd3a573e6bbc49076186a4c0049/kmbbank-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-06 12:31:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thedtvn",
"github_project": "MBBank",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Pillow",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "aiohttp",
"specs": []
},
{
"name": "setuptools",
"specs": []
},
{
"name": "wheel",
"specs": []
},
{
"name": "wasmtime",
"specs": []
},
{
"name": "mb-capcha-ocr",
"specs": []
}
],
"lcname": "kmbbank"
}