{ "info": { "author": "Marko Manninen", "author_email": "elonmedia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries" ], "description": "Abnum 3\n=======\n\nAlphabetic numerals package for Python 3. Module includes various letter value\nsubstituting systems from the ancient times to the modern artificial ones.\n\nAbnum substitution system is better known as _gematria_ in hebrew and\n_isopsephy_ in greek, _abjad_ in arabic alphabet and _katapayadi_ in sanskrit.\n\nCurrently supported languages are:\n\n- greek (grc)\n- hebrew (heb)\n- coptic (cop)\n- aramaic (arm)\n- syriaic (syc)\n- arabic (ara)\n- phoenician (phn)\n- brahmi (brh)\n- english (eng)\n- finnish (fin)\n\n## Install\n\n`pip install abnum`\n\n## Usage\n\nGet the value of the greek phrase by adding letter values and returning the sum:\n\n```python\n from abnum import Abnum, greek\n\n g = Abnum(greek)\n print(g.value('\u03bf \u039b\u03bf\u03b3\u03bf\u03c2')) # 443\n```\n\nUse multiplication instead of addition:\n\n```python\n from abnum import Abnum, greek\n from operator import mul\n g = Abnum(greek)\n # use an arithmetic function as the second argument and a start value as the third\n print(g.value('\u03bf \u039b\u03bf\u03b3\u03bf\u03c2', mul, 1)) # 6174000000\n```\n\nPhoenician script:\n\n```python\n from abnum import Abnum, phoenician\n p = Abnum(phoenician)\n a = list(map(g.value, \"\ud802\udd00\ud802\udd0d\ud802\udd0a \ud802\udd15\ud802\udd01\ud802\udd0d\ud802\udd15 \ud802\udd0a\ud802\udd04\ud802\udd0d \ud802\udd0f\ud802\udd14\ud802\udd15\ud802\udd13\ud802\udd15 \ud802\udd0c\ud802\udd0b\ud802\udd0a \ud802\udd11\ud802\udd03\ud802\udd0d\ud802\udd0c \ud802\udd01\ud802\udd0d\".split(\" \")))\n print(a, sum(a))\n```\n\n```text\n [71, 852, 75, 1370, 90, 184, 52], 2694\n```\n\n## Jupyter notebooks\n\nPlease see Jupyter notebooks for further study and examples:\n\n[Usage of the library](Abnum%203%20introduction.ipynb). Includes the verification of the isopsephical value of the Bergama stele, 100 - 200 AD.\n\n[Isopsephical riddle of the Sibylline verses](Isopsephical%20riddle%20of%20the%20Pseudo%20Sibylline%20hexameter.ipynb), Book 1, lines 137 - 146.\n\nPython 2 version of the Abnum library can still be found from: https://github.com/markomanninen/abnum\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/markomanninen/abnum/archive/v0.1.10.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/markomanninen/abnum", "keywords": "python", "license": "", "maintainer": "", "maintainer_email": "", "name": "abnum", "package_url": "https://pypi.org/project/abnum/", "platform": "any", "project_url": "https://pypi.org/project/abnum/", "project_urls": { "Download": "https://github.com/markomanninen/abnum/archive/v0.1.10.tar.gz", "Homepage": "https://github.com/markomanninen/abnum" }, "release_url": "https://pypi.org/project/abnum/0.1.10/", "requires_dist": null, "requires_python": "", "summary": "Abnum - Alphabetic numerals package including various letter value substitution systems from ancient times to the modern artificial ones", "version": "0.1.10" }, "last_serial": 3957988, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "d1f0a8f386aa783e98a361918282eeab", "sha256": "6da89f38255b618475186fa6a4e67346eaaed8a806a7ca7bf1f46ad918709986" }, "downloads": -1, "filename": "abnum-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d1f0a8f386aa783e98a361918282eeab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5290, "upload_time": "2018-02-20T10:16:54", "url": "https://files.pythonhosted.org/packages/ea/b0/b6811d7bc6b0b4438269e721268da63044a34be31693ce4da4985ea8177c/abnum-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "d4145c7d95395d210ad0f4e903a29f4c", "sha256": "15f432f6e87ee7306260c241b93933e4a56f2c7a010ee8196f8f24fadd13b33b" }, "downloads": -1, "filename": "abnum-0.1.10.tar.gz", "has_sig": false, "md5_digest": "d4145c7d95395d210ad0f4e903a29f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7092, "upload_time": "2018-06-13T15:39:56", "url": "https://files.pythonhosted.org/packages/f9/cd/4ecb20907907f7d2cf6e9d2d69cc6ef5f8b99cd458f494dedb5069599e63/abnum-0.1.10.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e8fb98582d86d18d2e25f7e176514186", "sha256": "aca7c850fb20ccb8bbea486d875153bb35d51d00c3cbe3010ab1e53729ac02b1" }, "downloads": -1, "filename": "abnum-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e8fb98582d86d18d2e25f7e176514186", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5283, "upload_time": "2018-02-20T10:23:29", "url": "https://files.pythonhosted.org/packages/38/38/c0c28ee238aa65405c0457d173d95ed2b5479ea3f38def4e08d2d8eab610/abnum-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "adddea8009062eae321bb62b92d782c5", "sha256": "3ce12bb675d18b616ccadec601dd38e65ed0c43a38f386fc03fab3abc0edf191" }, "downloads": -1, "filename": "abnum-0.1.3.tar.gz", "has_sig": false, "md5_digest": "adddea8009062eae321bb62b92d782c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5332, "upload_time": "2018-02-20T10:30:36", "url": "https://files.pythonhosted.org/packages/42/dc/8d6571244d97489f7bf3ac105f660a18b60d7036c53f033ebe2fb385f8e8/abnum-0.1.3.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "d08521f09bfd035c29f79fda5d193767", "sha256": "273adbf7a7fb9eabc2afc217874c33f44cda99d8e20554430aeaa3e1b64e9e88" }, "downloads": -1, "filename": "abnum-0.1.6.tar.gz", "has_sig": false, "md5_digest": "d08521f09bfd035c29f79fda5d193767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5537, "upload_time": "2018-02-20T15:03:32", "url": "https://files.pythonhosted.org/packages/95/5c/99aac52e6d2f61c8c9ecd3ecc6b77b9c75fd43da3abb7ab622baa9ec9a58/abnum-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "66e063c5dbf9790d405a5e7bea514ed7", "sha256": "f729b04c8c3b33a17179878c4dc534328e43b6def772faf76938fc26a55f1542" }, "downloads": -1, "filename": "abnum-0.1.7.tar.gz", "has_sig": false, "md5_digest": "66e063c5dbf9790d405a5e7bea514ed7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6331, "upload_time": "2018-05-20T06:46:42", "url": "https://files.pythonhosted.org/packages/f8/0c/1191fc6fb918484d548bc293676e05513bf481787227682fa4836c865fe6/abnum-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "f125791e90b32da52d12d54bfab95c89", "sha256": "96e97d90d212e6d507978d4fb9ed0a84807e8559847eecf0c4290c68c7f79482" }, "downloads": -1, "filename": "abnum-0.1.8.tar.gz", "has_sig": false, "md5_digest": "f125791e90b32da52d12d54bfab95c89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6329, "upload_time": "2018-05-20T06:51:51", "url": "https://files.pythonhosted.org/packages/32/0d/40d62240e73050a0c6574f83ecb2d577eac176938192e29ccfd566d19374/abnum-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "57b887282b3f0fce68b5d881a083d57b", "sha256": "95ef132686d66f74c11ebf3eac856e0d538606383e56f50bd45e3c4afe708c5a" }, "downloads": -1, "filename": "abnum-0.1.9.tar.gz", "has_sig": false, "md5_digest": "57b887282b3f0fce68b5d881a083d57b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6744, "upload_time": "2018-05-20T08:36:28", "url": "https://files.pythonhosted.org/packages/9b/5d/0f22e28d4294a5395efa357ed15f6e942ebd356d5cb8aaa4785bf2bf0c41/abnum-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4145c7d95395d210ad0f4e903a29f4c", "sha256": "15f432f6e87ee7306260c241b93933e4a56f2c7a010ee8196f8f24fadd13b33b" }, "downloads": -1, "filename": "abnum-0.1.10.tar.gz", "has_sig": false, "md5_digest": "d4145c7d95395d210ad0f4e903a29f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7092, "upload_time": "2018-06-13T15:39:56", "url": "https://files.pythonhosted.org/packages/f9/cd/4ecb20907907f7d2cf6e9d2d69cc6ef5f8b99cd458f494dedb5069599e63/abnum-0.1.10.tar.gz" } ] }