{
"info": {
"author": "Piotr Walkowski",
"author_email": "piotr@deluxe-soft.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Linguistic"
],
"description": "# zahlwort2num (v.0.2.1)\n\n:de: :de: :de:\nA small but useful (due shortage of/low quality support for lang_DE) package for handy conversion of german numerals (incl. ordinal number) written as string to the from numbers. \n\nTo put it differently: _It allows reverse text normalization for numbers_.\n\nThis package might be a good complementary lib to https://github.com/savoirfairelinux/num2words\n\n:crying_cat_face: _Currently is doesn't support swiss variant. TBD_ :switzerland:\n\n# PyPi direct page of project \nhttps://pypi.org/project/zahlwort2num/\n\n# Installation\n\n`pip2 install zahlwort2num`\n\n# Usage\n\n### _Definition_:
\n\n```python\nimport zahlwort2num as w2n\n```\n\n### _Example_:
\n ```python\n w2n.convert('Zweihundertf\u00fcnfundzwanzig') # => 225\n w2n.convert('neunte') # => '9.' \n w2n.convert('minus siebenhundert Millionen achtundsiebzig') # => -700000078\n```\n _or even stuff like:_
\n ```python\n w2n.convert('sechshundertdreiundf\u00fcnfzigtausendf\u00fcnfhunderteinundzwanzig') # => 653521\n```\n :see_no_evil: \n\n#### Command line: \n\n* _(Obviously it is better to use a parameter enclosed with apostrophs due to possible spaces)_\n```\nbin/zahlwort2num-convert 'eine Million siebenhunderteinundzwanzig'\n```\n# WIKI\nTBD\n\n# Already implemented features :sunglasses:\n* Theoretically it works for any numbers from range 0 upto 999 * 10^27 [big numbers]\n* Command-line mode ([see](#command-line) above)\n* Supported with ordinal numerals (incl. inflections [sufficies like `'ste', 'ten'` etc. ])
\n _In this case it returns coerced __String__ type value e.g '15.' instead of __Integer___ :point_up: \n* Relative mild rules in terms of trailing whitespaces, lower/upper-case (unification).\n* Handling of signed numerals (also ordinal ones) e.g `'minus zehn'`\n\n# TODO / Known issues\n- [x] ~~Make POC, functional for all common cases~~\n- [x] ~~Ordinal number support~~\n- [x] ~~Take care for exceptions / trailing whitespaces etc.~~\n- [x] ~~Make structure + publish as PyPI package~~\n- [x] Command line support :computer:\n- [ ] More comprehensible tests\n- [ ] Swiss variant\n- [ ] More fault tolerant (\u00df -> ss) etc\n- [ ] Larger scale than 10^60\n- [ ] Ordinal with very large numbers (without addons) e.g `Millionste`\n- [ ] Few benchmark improvements (e.g tail recursion etc)\n- [ ] Better error handling + validation for idiotical cases (e.g `minus null Miliarde`)\n- [ ] Simplify/refactor POC code, add better documentation\n- [ ] Support for fractions?\n\n\n\n\n",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/walu2/zahlwort2num",
"keywords": "german nlp numeral converter deutsch sprache ordinal zahlen human number",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "zahlwort2num",
"package_url": "https://pypi.org/project/zahlwort2num/",
"platform": "",
"project_url": "https://pypi.org/project/zahlwort2num/",
"project_urls": {
"Homepage": "https://github.com/walu2/zahlwort2num"
},
"release_url": "https://pypi.org/project/zahlwort2num/0.2.1/",
"requires_dist": [
"markdown"
],
"requires_python": "",
"summary": "A small package for handy conversion of german numerals (also ordinal / signed) written as words to numbers.",
"version": "0.2.1"
},
"last_serial": 5304458,
"releases": {
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "d113a7ddbeee29f60a00307bc3d634ec",
"sha256": "0244b1ca15ae6ea14f6c13e64720980a247ccfbd6efc5be14be6c8d3dd8c7725"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d113a7ddbeee29f60a00307bc3d634ec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6969,
"upload_time": "2019-05-05T20:58:56",
"url": "https://files.pythonhosted.org/packages/9d/a3/ca86265cced0a76d9f39df081dd107f5e307045dbf968cd1b759106e6728/zahlwort2num-0.1.2-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "cfccb8ed9d29206e5e093449fa710d08",
"sha256": "d822cbd1a4dfd7bb3ce5f45cb71e3978ff928682daaa617fc3c8e723846ca348"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "cfccb8ed9d29206e5e093449fa710d08",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4888,
"upload_time": "2019-05-05T20:58:59",
"url": "https://files.pythonhosted.org/packages/74/2c/7d75b2e7f687d1d71b60fdc726fcd63afa6dbbd9eef65362564d1b021a21/zahlwort2num-0.1.2.tar.gz"
}
],
"0.1.5": [
{
"comment_text": "",
"digests": {
"md5": "148b1b3382a4232f7b748fbbcae0ef26",
"sha256": "2eb4c2ab69ac2899aaff359667e4e63774098977eca72da6b0a2fe69714f59f6"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "148b1b3382a4232f7b748fbbcae0ef26",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6969,
"upload_time": "2019-05-05T21:01:19",
"url": "https://files.pythonhosted.org/packages/83/d2/73a2d92f6817fd06a2de97ad8829cab03b52b13587a5322b6dfb334d09ea/zahlwort2num-0.1.5-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "14dc5e2fd8fad0614be8a060cd048b5b",
"sha256": "5b6b06ac04283681419017daa35c5439b988bbb75af4b2fb856c8fdb5214e0e9"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "14dc5e2fd8fad0614be8a060cd048b5b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4888,
"upload_time": "2019-05-05T21:01:20",
"url": "https://files.pythonhosted.org/packages/88/6a/dca836c8a902b1ab61b400d1fc44eeb35699bf16d741bc10637bb395d45d/zahlwort2num-0.1.5.tar.gz"
}
],
"0.1.6": [
{
"comment_text": "",
"digests": {
"md5": "7fdedca631c6f6a49ca359ad728807ef",
"sha256": "6a2538bbc978c85f010ba30332fa95bbaeb7f092b9eff60eadb100bf4c992978"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7fdedca631c6f6a49ca359ad728807ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7321,
"upload_time": "2019-05-05T21:52:10",
"url": "https://files.pythonhosted.org/packages/1b/c8/23dd1c825699d0639b8d4fef6a2033f240295468255593b9dad5bc0a16e7/zahlwort2num-0.1.6-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a0619d0ef46fa296a0be1afdc9e78956",
"sha256": "a1e3a913d8431b4940328cf8fa8aae88fcf1b041b5c47cabf061a1d1b9ac2bda"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "a0619d0ef46fa296a0be1afdc9e78956",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5343,
"upload_time": "2019-05-05T21:52:11",
"url": "https://files.pythonhosted.org/packages/81/4d/e276db9083fe934e60d4e769eefb917a17fc1a3fc6d7466b184e31ef2c4a/zahlwort2num-0.1.6.tar.gz"
}
],
"0.1.7": [
{
"comment_text": "",
"digests": {
"md5": "b6801948a2ee6f82ad188f01d1708596",
"sha256": "e3310b5c2bd5636fb2d7b899d56d0dde4b11a30a43642fffc67c334f145bb014"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b6801948a2ee6f82ad188f01d1708596",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7355,
"upload_time": "2019-05-06T08:00:39",
"url": "https://files.pythonhosted.org/packages/ed/9c/19af3951b6c8473f26b99e419d6f72a6bc2f1f7351150d44fd9aa7be2529/zahlwort2num-0.1.7-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "4d2b38378f6f65558e94ad8cc5f4f827",
"sha256": "112abdd6e87c68077b57a3cc77e2af03952c0f4149a01b4e82d5d9349b6fbdfd"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "4d2b38378f6f65558e94ad8cc5f4f827",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5390,
"upload_time": "2019-05-06T08:00:41",
"url": "https://files.pythonhosted.org/packages/c9/bb/a2ca98667a481d24b67f16c4a0d78acf2a863268880833d777f65c1243d7/zahlwort2num-0.1.7.tar.gz"
}
],
"0.1.9": [
{
"comment_text": "",
"digests": {
"md5": "b01f60bd68860fb923bdd401709c4568",
"sha256": "62014b61bc725831251cd41377042e565c671995c698663e2ce06fd2a686328a"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b01f60bd68860fb923bdd401709c4568",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7464,
"upload_time": "2019-05-08T15:10:19",
"url": "https://files.pythonhosted.org/packages/52/c7/af62b048b5c6a39eabf47c8cf747d23e79f3cd1bf704ab56f9543e7dfbe3/zahlwort2num-0.1.9-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "82ca24eebad818c6cca1cb06ddcb434b",
"sha256": "14c5d5678f75c42260c1b55096ec96647f4f1d0cf53dd206fc972653c3e74bc8"
},
"downloads": -1,
"filename": "zahlwort2num-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "82ca24eebad818c6cca1cb06ddcb434b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5480,
"upload_time": "2019-05-08T15:10:21",
"url": "https://files.pythonhosted.org/packages/b7/14/442086432d72958681d6d75d8989b07437ce2a8df131c73d31ff8e88bbbb/zahlwort2num-0.1.9.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "f0ca86d3e00c6e966578b40284b88fa6",
"sha256": "cd7458e9aef1d92ac53df3911d54e65852e26ea8846d79d64a0404f5fc49ba41"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0ca86d3e00c6e966578b40284b88fa6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7459,
"upload_time": "2019-05-10T20:19:51",
"url": "https://files.pythonhosted.org/packages/8c/52/d77660cd2b3e240c430d07fb605681969fde0a312bbe000fc05c300d8115/zahlwort2num-0.2.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "940d8319645767ceef2c5dcb5177c411",
"sha256": "4d7c646a7a9b2932e946107a60cd4c7adac1c388d46ae48feb346a0a1a021975"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "940d8319645767ceef2c5dcb5177c411",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5494,
"upload_time": "2019-05-10T20:19:53",
"url": "https://files.pythonhosted.org/packages/af/4d/107107591ba96a960cde759a022c6a7323ef0b86d7723f0cdfdc8684b9d3/zahlwort2num-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "a8f3ad5cb31117d3ec27dfa673bb37b2",
"sha256": "1dbfb52da2b13d9f30dd5350131ec6ee9622906ece8e8be9fa2eda73b6daac52"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a8f3ad5cb31117d3ec27dfa673bb37b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7620,
"upload_time": "2019-05-22T20:31:18",
"url": "https://files.pythonhosted.org/packages/5a/f4/fa7425ccbeb0755504e13e6984007204ed2e224a358d79e5197c5bbfecaa/zahlwort2num-0.2.1-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "01f24c0ed4f52a8b9004203dc8215dee",
"sha256": "f02c01225dd4c6a926fa24da27297a57d751951c14c9a02aa098f36c28dbaa20"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "01f24c0ed4f52a8b9004203dc8215dee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5611,
"upload_time": "2019-05-22T20:31:20",
"url": "https://files.pythonhosted.org/packages/86/0a/d63fe30ceb5620a4f7a4c87765ef88a155c7d534308d1fca4f711e8a7b1f/zahlwort2num-0.2.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a8f3ad5cb31117d3ec27dfa673bb37b2",
"sha256": "1dbfb52da2b13d9f30dd5350131ec6ee9622906ece8e8be9fa2eda73b6daac52"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a8f3ad5cb31117d3ec27dfa673bb37b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7620,
"upload_time": "2019-05-22T20:31:18",
"url": "https://files.pythonhosted.org/packages/5a/f4/fa7425ccbeb0755504e13e6984007204ed2e224a358d79e5197c5bbfecaa/zahlwort2num-0.2.1-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "01f24c0ed4f52a8b9004203dc8215dee",
"sha256": "f02c01225dd4c6a926fa24da27297a57d751951c14c9a02aa098f36c28dbaa20"
},
"downloads": -1,
"filename": "zahlwort2num-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "01f24c0ed4f52a8b9004203dc8215dee",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5611,
"upload_time": "2019-05-22T20:31:20",
"url": "https://files.pythonhosted.org/packages/86/0a/d63fe30ceb5620a4f7a4c87765ef88a155c7d534308d1fca4f711e8a7b1f/zahlwort2num-0.2.1.tar.gz"
}
]
}