{ "info": { "author": "Tim Gabets", "author_email": "tim@gabets.ru", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications" ], "description": "pybank\n=======\n\nA python library that implements the primitive Core Banking system (CBS) emulator.\n\nUsage:\n >>> from pybank.cbs import CBS\n >>> #A host to connect to\n >>> cbs = CBS(host='127.0.0.1', port=3388)\n >>> cbs.run()\n Connected to 127.0.0.1:3388\n\tParsed message:\n\tMTI: [1804]\n\tFields: [ 11 12 24 ]\n\t\t 11 - System trace audit number [661281]\n\t\t 12 - Time, local transaction (YYMMDDhhmmss) [170526181337]\n\t\t 24 - Network International identifier (NII) [801]\n 18:13:37.868027 >> 35 bytes sent:\n\t00 33 31 38 30 34 00 30 01 00 00 00 00 00 36 36 .31804.0......66\n\t31 32 38 31 31 37 30 35 32 36 31 38 31 33 33 37 1281170526181337\n\t38 30 31 801\n 18:13:37.903578 << 26 bytes received: \n\t00 24 31 38 31 34 00 20 01 00 02 00 00 00 30 30 .$1814. ......00\n\t30 30 30 30 38 30 31 30 30 30 0000801000\n\tParsed message:\n\tMTI: [1814]\n\tFields: [ 11 24 39 ]\n\t\t 11 - System trace audit number [000000]\n\t\t 24 - Network International identifier (NII) [801]\n\t\t 39 - Response code [000]\t\t\t[APPROVED]\n 18:22:45.630814 << 292 bytes received: \n\t02 90 31 31 30 30 fc f6 40 01 08 e1 e4 00 00 00 ..1100..@.......\n\t00 00 14 00 00 00 31 36 34 31 37 34 30 37 30 30 ......1641740700\n\t30 30 30 30 30 31 30 34 30 30 30 30 30 30 30 30 0000010400000000\n\t30 30 30 30 30 31 31 30 30 30 30 30 30 30 30 30 0000011000000000\n\t30 30 30 31 34 39 30 30 30 30 30 30 30 30 30 31 0001490000000001\n\t34 39 37 30 31 33 35 31 30 30 36 31 30 30 30 30 4970135100610000\n\t30 30 31 31 33 30 36 30 31 37 30 35 32 36 31 38 0011306017052618\n\t32 32 34 35 31 37 31 32 30 32 30 32 32 38 36 30 2245171202022860\n\t31 30 30 36 30 30 30 30 30 30 30 30 30 30 30 30 1006000000000000\n\t31 31 33 30 36 30 31 30 30 30 31 33 33 37 39 39 1130601000133799\n\t39 39 39 39 39 39 39 39 39 39 30 30 31 42 50 43 9999999999001BPC\n\t20 54 45 53 54 20 4d 45 52 43 48 41 4e 54 20 4e TEST MERCHANT N\n\t20 31 3e 4d 4f 53 4b 56 41 20 20 20 20 20 20 20 1>MOSKVA \n\t20 20 20 52 55 30 34 37 30 30 31 30 30 31 31 30 RU04700100110\n\t30 32 30 30 33 37 37 34 30 32 35 30 30 31 32 30 0200377402500120\n\t32 37 30 30 30 30 32 38 30 31 32 30 30 30 30 30 2700002801200000\n\t30 31 31 33 30 36 30 36 34 33 38 32 36 38 32 36 0113060643826826\n\t30 30 30 30 30 30 31 31 31 39 35 36 37 31 33 30 0000001119567130\n\t30 30 30 31 0001\n\tParsed message:\n\tMTI: [1100]\n\tFields: [ 2 3 4 5 6 9 10 11 12 14 15 18 32 37 41 42 43 48 49 50 51 54 100 102 ]\n\t\t 2 - Primary account number (PAN) [4174070000000104]\n\t\t 3 - Processing code [000000]\n\t\t 4 - Amount, transaction [000000011000]\n\t\t 5 - Amount, settlement [000000000149]\n\t\t 6 - Amount, cardholder billing [000000000149]\n\t\t 9 - Conversion rate, settlement [70135100]\n\t\t 10 - Conversion rate, cardholder billing [61000000]\n\t\t 11 - System trace audit number [113060]\n\t\t 12 - Time, local transaction (YYMMDDhhmmss) [170526182245]\n\t\t 14 - Date, expiration [1712]\n\t\t 15 - Date, settlement [020228]\n\t\t 18 - Merchant type [6010]\n\t\t 32 - Acquiring institution identification code [0]\n\t\t 37 - Retrieval reference number [000000113060]\n\t\t 41 - Terminal ID [10001337]\n\t\t 42 - Merchant number [999999999999001]\n\t\t 43 - Card acceptor name/location [BPC TEST MERCHANT N 1>MOSKVA RU]\n\t\t 48 - Additional data - private [00100110020037740250012027000028012000000113060]\n\t\t 49 - Currency code, transaction [643]\n\t\t 50 - Currency code, settlement [826]\n\t\t 51 - Currency code, cardholder billing [826]\n\t\t 54 - Additional amounts []\n\t\t100 - Receiving institution identification code []\n\t\t102 - Account identification 1 [1]\n\tParsed message:\n\tMTI: [1110]\n\tFields: [ 2 3 4 5 6 11 12 14 15 32 37 39 48 49 50 51 54 102 ]\n\t\t 2 - Primary account number (PAN) [4174070000000104]\n\t\t 3 - Processing code [000000]\n\t\t 4 - Amount, transaction [000000011000]\n\t\t 5 - Amount, settlement [000000000149]\n\t\t 6 - Amount, cardholder billing [000000000149]\n\t\t 11 - System trace audit number [113060]\n\t\t 12 - Time, local transaction (YYMMDDhhmmss) [170526182245]\n\t\t 14 - Date, expiration [1712]\n\t\t 15 - Date, settlement [020228]\n\t\t 32 - Acquiring institution identification code [0]\n\t\t 37 - Retrieval reference number [000000113060]\n\t\t 39 - Response code [000]\t\t\t[APPROVED]\n\t\t 48 - Additional data - private [00100110020037740250012027000028012000000113060]\n\t\t 49 - Currency code, transaction [643]\n\t\t 50 - Currency code, settlement [826]\n\t\t 51 - Currency code, cardholder billing [826]\n\t\t 54 - Additional amounts [007016C000000135353826]\n\t\t102 - Account identification 1 [1]\n 18:22:45.666351 >> 215 bytes sent:\n\t02 13 31 31 31 30 fc 36 00 01 0a 01 e4 00 00 00 ..1110.6........\n\t00 00 04 00 00 00 31 36 34 31 37 34 30 37 30 30 ......1641740700\n\t30 30 30 30 30 31 30 34 30 30 30 30 30 30 30 30 0000010400000000\n\t30 30 30 30 30 31 31 30 30 30 30 30 30 30 30 30 0000011000000000\n\t30 30 30 31 34 39 30 30 30 30 30 30 30 30 30 31 0001490000000001\n\t34 39 31 31 33 30 36 30 31 37 30 35 32 36 31 38 4911306017052618\n\t32 32 34 35 31 37 31 32 30 32 30 32 32 38 30 31 2245171202022801\n\t30 30 30 30 30 30 30 31 31 33 30 36 30 30 30 30 0000000113060000\n\t30 34 37 30 30 31 30 30 31 31 30 30 32 30 30 33 0470010011002003\n\t37 37 34 30 32 35 30 30 31 32 30 32 37 30 30 30 7740250012027000\n\t30 32 38 30 31 32 30 30 30 30 30 30 31 31 33 30 0280120000001130\n\t36 30 36 34 33 38 32 36 38 32 36 30 32 32 30 30 6064382682602200\n\t37 30 31 36 43 30 30 30 30 30 30 31 33 35 33 35 7016C00000013535\n\t33 38 32 36 30 31 31 3826011\n\t\n\n\ncbs_example.py_ is an example of core banking system emulator application, that interacts connects to authorization switch through ISO8583:1993 protocol (accounts, transactions and balances are stored in a local sqlite3 database).\n\n.. _cbs_example.py: https://github.com/timgabets/pybank/tree/master/examples/cbs_example.py\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/timgabets/pybank", "keywords": "Core banking financial", "license": "LGPLv2", "maintainer": "", "maintainer_email": "", "name": "pybank", "package_url": "https://pypi.org/project/pybank/", "platform": "", "project_url": "https://pypi.org/project/pybank/", "project_urls": { "Homepage": "https://github.com/timgabets/pybank" }, "release_url": "https://pypi.org/project/pybank/0.36/", "requires_dist": null, "requires_python": "", "summary": "Core Banking Simulator", "version": "0.36" }, "last_serial": 3212875, "releases": { "0.16": [ { "comment_text": "", "digests": { "md5": "a500f249bae000a3a6747cd176f6023a", "sha256": "0a09d1b2e1a037ecb420fc9d3e5bef7d27702009467508fad9e68699795d9943" }, "downloads": -1, "filename": "pybank-0.16.tar.gz", "has_sig": false, "md5_digest": "a500f249bae000a3a6747cd176f6023a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3655, "upload_time": "2017-05-25T15:39:32", "url": "https://files.pythonhosted.org/packages/73/f8/284e9f902c66637aa15373508136eade7c2300dc0c4c6509b53dcc90235f/pybank-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "a2f2066b998d519a0459ccccf65d13cf", "sha256": "3a03130f9c3048dc4fafd174773af7a629051818b6e8732e99dc308ee2b83c58" }, "downloads": -1, "filename": "pybank-0.17.tar.gz", "has_sig": false, "md5_digest": "a2f2066b998d519a0459ccccf65d13cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3664, "upload_time": "2017-05-26T09:27:16", "url": "https://files.pythonhosted.org/packages/49/a3/e0a971cd143c04b79ce658a20d2e297d11ad154e115aa23f4811b21ea684/pybank-0.17.tar.gz" } ], "0.24": [ { "comment_text": "", "digests": { "md5": "2d6dd765b1763794ce196ea4385ecb9d", "sha256": "ace53bede001f7d0e62cb19d5f6d963682cb20fe8109958b8bd8ca9c37efb391" }, "downloads": -1, "filename": "pybank-0.24.tar.gz", "has_sig": false, "md5_digest": "2d6dd765b1763794ce196ea4385ecb9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4255, "upload_time": "2017-05-26T14:05:34", "url": "https://files.pythonhosted.org/packages/9b/2e/6f58cc62b9c1bbbada3204464450d2845dc366f867bbfd521f3edc043c62/pybank-0.24.tar.gz" } ], "0.25": [ { "comment_text": "", "digests": { "md5": "b17427dbaf704c672493fd39924430b6", "sha256": "91f56fbc5844b6b28f00dbbb5ff98784e8035a1455085e5e8b7f92019b11aa47" }, "downloads": -1, "filename": "pybank-0.25.tar.gz", "has_sig": false, "md5_digest": "b17427dbaf704c672493fd39924430b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4285, "upload_time": "2017-05-26T15:05:54", "url": "https://files.pythonhosted.org/packages/c4/7f/e92b934661fa995e603830604f68b39fa6b0f218e982be2cbfb0083fd27a/pybank-0.25.tar.gz" } ], "0.26": [ { "comment_text": "", "digests": { "md5": "27356038760285255b29a68538022c88", "sha256": "16b930ad5ac925c947b67beee397428d0343eefdb5339e1345cb32b99df98c43" }, "downloads": -1, "filename": "pybank-0.26.tar.gz", "has_sig": false, "md5_digest": "27356038760285255b29a68538022c88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6117, "upload_time": "2017-05-26T15:18:42", "url": "https://files.pythonhosted.org/packages/6f/26/5b715d013526bcbff1bdb48da0728a838db353a356450ae437488ec7583a/pybank-0.26.tar.gz" } ], "0.27": [ { "comment_text": "", "digests": { "md5": "d1e17c874a8fbe6da0a6a64196790c2c", "sha256": "45ac8e549a7d032f7d126c4597a3407cf2ad0c1bf747c929b6f2d1734c25f475" }, "downloads": -1, "filename": "pybank-0.27.tar.gz", "has_sig": false, "md5_digest": "d1e17c874a8fbe6da0a6a64196790c2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6803, "upload_time": "2017-05-26T15:25:48", "url": "https://files.pythonhosted.org/packages/08/7a/c46602a75442f31571a2c0ab0acf43e183a89f7809caff38b2104de40c2c/pybank-0.27.tar.gz" } ], "0.30": [ { "comment_text": "", "digests": { "md5": "92ec778fda410fa8a9d98961732060d1", "sha256": "8ecccd6af2730a928ad8544de21e52aadd6cc74dfb051e63ec1ee550d0ee66e3" }, "downloads": -1, "filename": "pybank-0.30.tar.gz", "has_sig": false, "md5_digest": "92ec778fda410fa8a9d98961732060d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6825, "upload_time": "2017-06-02T12:28:34", "url": "https://files.pythonhosted.org/packages/69/1b/b8a1be56bbe67d187c1df4b53b9ded91794e8142114cdaa9e17a044ce6a2/pybank-0.30.tar.gz" } ], "0.31": [ { "comment_text": "", "digests": { "md5": "d0520b66e487f5de39666fdbebf2d3a0", "sha256": "eebf96eba71a78362cc1bb26af80a18783fd8ff40d584bcb600bda1111621200" }, "downloads": -1, "filename": "pybank-0.31.tar.gz", "has_sig": false, "md5_digest": "d0520b66e487f5de39666fdbebf2d3a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6860, "upload_time": "2017-06-08T15:10:46", "url": "https://files.pythonhosted.org/packages/28/c7/2938d339d2a7849548bc921b2c507edb7ae66285fa4140b82a6117820a94/pybank-0.31.tar.gz" } ], "0.32": [ { "comment_text": "", "digests": { "md5": "2442c0a9e3d9644289aa84dde7f66d49", "sha256": "2c90c8bdd3f4ac113a261d70f9bed00d654528754145f4cfdcc4734f8c1caf3b" }, "downloads": -1, "filename": "pybank-0.32.tar.gz", "has_sig": false, "md5_digest": "2442c0a9e3d9644289aa84dde7f66d49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7081, "upload_time": "2017-07-19T11:49:09", "url": "https://files.pythonhosted.org/packages/f6/da/244929c09d81189c1ad445e46f6c0f3e804e991e83e74f395d172acc088c/pybank-0.32.tar.gz" } ], "0.33": [ { "comment_text": "", "digests": { "md5": "f377f2e75dfc0a6fdf88c6e47a5ffd32", "sha256": "83b0ab7c700b9c63bc8fa8eb7ff7f7add82b47bb26cf1bcafbae9ca759a2064a" }, "downloads": -1, "filename": "pybank-0.33.tar.gz", "has_sig": false, "md5_digest": "f377f2e75dfc0a6fdf88c6e47a5ffd32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7076, "upload_time": "2017-07-19T11:52:40", "url": "https://files.pythonhosted.org/packages/ca/4f/03646101de0a77883309359c702aba1f530e372c2a61872a8ddecc18d65a/pybank-0.33.tar.gz" } ], "0.34": [ { "comment_text": "", "digests": { "md5": "4472036871bacf65b6eceaa9f472203c", "sha256": "00f76837abdf16add8a0bcd5e4ff00a6343f9e41ac0f5e7ac6d095b06fecdaa7" }, "downloads": -1, "filename": "pybank-0.34.tar.gz", "has_sig": false, "md5_digest": "4472036871bacf65b6eceaa9f472203c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7624, "upload_time": "2017-09-20T15:15:55", "url": "https://files.pythonhosted.org/packages/d6/af/2edb913735bffffe61730c1f388f33b5cc6d98040abfadf5beb14559676b/pybank-0.34.tar.gz" } ], "0.35": [ { "comment_text": "", "digests": { "md5": "7000af75b27e71ee6a0cb69c3f40c80a", "sha256": "421b2a64a1d9954fff857a6656eed109614869fcf9c6e5efda5caef3f0ac6cb3" }, "downloads": -1, "filename": "pybank-0.35.tar.gz", "has_sig": false, "md5_digest": "7000af75b27e71ee6a0cb69c3f40c80a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8096, "upload_time": "2017-09-21T07:47:13", "url": "https://files.pythonhosted.org/packages/c4/ab/ff89f1aac047da0b33272f72039499117724e12bba68fe10443e420e91a8/pybank-0.35.tar.gz" } ], "0.36": [ { "comment_text": "", "digests": { "md5": "53bbbdfdbdc771bcdce9284fbcc3c3e0", "sha256": "49433a1b551f944242aec83bec05b004622a4270cc2f834bf2c9f8c5888e46ee" }, "downloads": -1, "filename": "pybank-0.36.tar.gz", "has_sig": false, "md5_digest": "53bbbdfdbdc771bcdce9284fbcc3c3e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8323, "upload_time": "2017-09-29T13:09:16", "url": "https://files.pythonhosted.org/packages/11/0d/54f683fefe5d7fdcc1c303dc6392dc375497be2f11052fb7dfefb0c2a3ca/pybank-0.36.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "53bbbdfdbdc771bcdce9284fbcc3c3e0", "sha256": "49433a1b551f944242aec83bec05b004622a4270cc2f834bf2c9f8c5888e46ee" }, "downloads": -1, "filename": "pybank-0.36.tar.gz", "has_sig": false, "md5_digest": "53bbbdfdbdc771bcdce9284fbcc3c3e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8323, "upload_time": "2017-09-29T13:09:16", "url": "https://files.pythonhosted.org/packages/11/0d/54f683fefe5d7fdcc1c303dc6392dc375497be2f11052fb7dfefb0c2a3ca/pybank-0.36.tar.gz" } ] }