words2numbers


Namewords2numbers JSON
Version 5.12.22 PyPI version JSON
download
home_pagehttps://best-practice-and-impact.github.io/example-package-python/
SummaryA python package for extracting numbers from text
upload_time2022-12-04 15:51:33
maintainer
docs_urlNone
authorElijah Manda
requires_python>=3.9
licenseMIT License Copyright (c) 2022 elijahmanda 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 nlp extraction numbers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # wordswnumbers

words2numbers is a python library for extracting numbers from unstructured text.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install words2numbers.

```bash
pip install words2numbers
```

## Usage

```python
from words2numbers import words2numbers

print(words2numbers("I have six hundred and twenty nine dollars"))
[('six hundred and twenty nine',
  629,
  {'number_type': 'number', 'span': (7, 34), 'value_type': 'integer'})]

```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)


            

Raw data

            {
    "_id": null,
    "home_page": "https://best-practice-and-impact.github.io/example-package-python/",
    "name": "words2numbers",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "nlp,extraction,numbers",
    "author": "Elijah Manda",
    "author_email": "Elijah Manda <elijahmandajc@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# wordswnumbers\n\nwords2numbers is a python library for extracting numbers from unstructured text.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install words2numbers.\n\n```bash\npip install words2numbers\n```\n\n## Usage\n\n```python\nfrom words2numbers import words2numbers\n\nprint(words2numbers(\"I have six hundred and twenty nine dollars\"))\n[('six hundred and twenty nine',\n  629,\n  {'number_type': 'number', 'span': (7, 34), 'value_type': 'integer'})]\n\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first\nto discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 elijahmanda  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. ",
    "summary": "A python package for extracting numbers from text",
    "version": "5.12.22",
    "split_keywords": [
        "nlp",
        "extraction",
        "numbers"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "c9cc37d52ed0636fb9713502b5ed28a8",
                "sha256": "79928b24ca42f908275c675455364930128725bfa19b7e9ffbb6b63f3dba921e"
            },
            "downloads": -1,
            "filename": "words2numbers-5.12.22-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9cc37d52ed0636fb9713502b5ed28a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20816,
            "upload_time": "2022-12-04T15:51:33",
            "upload_time_iso_8601": "2022-12-04T15:51:33.521857Z",
            "url": "https://files.pythonhosted.org/packages/de/66/b3aa69159d87045f04a485e122644e9e1f02949947e7c1f9f2912ffde119/words2numbers-5.12.22-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-04 15:51:33",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "words2numbers"
}
        
Elapsed time: 0.02713s