Name | pycounts_chen_test JSON |
Version |
0.1.0
JSON |
| download |
home_page | |
Summary | calculate word counts in a text |
upload_time | 2024-01-10 06:34:50 |
maintainer | |
docs_url | None |
author | Ben Chen |
requires_python | >=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pycounts_chen_test
calculate word counts in a text
## Installation
```bash
$ pip install pycounts_chen_test
```
## Usage
`pycounts_chen_test` can be used to count words in a text file and plot results
as follows:
```python
from pycounts_chen_test.pycounts_chen_test import count_words
from pycounts_chen_test.plotting import plot_words
import matplotlib.pyplot as plt
file_path = "test.txt" # path to your file
counts = count_words(file_path)
fig = plot_words(counts, n=10)
plt.show()
```
## Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
## License
`pycounts_chen_test` was created by Ben Chen. It is licensed under the terms of the MIT license.
## Credits
`pycounts_chen_test` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
Raw data
{
"_id": null,
"home_page": "",
"name": "pycounts_chen_test",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "Ben Chen",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/b8/2c/7c2ef79a6c6835ae9ead619c7100b6bbb33a3a0f288e30d41c94e15bd699/pycounts_chen_test-0.1.0.tar.gz",
"platform": null,
"description": "# pycounts_chen_test\n\ncalculate word counts in a text\n\n## Installation\n\n```bash\n$ pip install pycounts_chen_test\n```\n\n## Usage\n\n`pycounts_chen_test` can be used to count words in a text file and plot results\nas follows:\n\n```python\nfrom pycounts_chen_test.pycounts_chen_test import count_words\nfrom pycounts_chen_test.plotting import plot_words\nimport matplotlib.pyplot as plt\n\nfile_path = \"test.txt\" # path to your file\ncounts = count_words(file_path)\nfig = plot_words(counts, n=10)\nplt.show()\n```\n\n## Contributing\n\nInterested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.\n\n## License\n\n`pycounts_chen_test` was created by Ben Chen. It is licensed under the terms of the MIT license.\n\n## Credits\n\n`pycounts_chen_test` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "calculate word counts in a text",
"version": "0.1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f897360c2c730f6ae2aed53d8c60d3e5868522c01a1b612482860fdd30a240ad",
"md5": "745b4ec0fc9cfcb9719ccf5df28c5887",
"sha256": "f5c97883dc88b2d0e59c342759148873300faa945434c79cae132f3ec8012715"
},
"downloads": -1,
"filename": "pycounts_chen_test-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "745b4ec0fc9cfcb9719ccf5df28c5887",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 3759,
"upload_time": "2024-01-10T06:34:48",
"upload_time_iso_8601": "2024-01-10T06:34:48.765640Z",
"url": "https://files.pythonhosted.org/packages/f8/97/360c2c730f6ae2aed53d8c60d3e5868522c01a1b612482860fdd30a240ad/pycounts_chen_test-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b82c7c2ef79a6c6835ae9ead619c7100b6bbb33a3a0f288e30d41c94e15bd699",
"md5": "fc3af50f0afcd1ecd39b471b4a181822",
"sha256": "7ec0df4d0e0188b88c8667926b4756b3f49c620293dfa15980f36745ad66514e"
},
"downloads": -1,
"filename": "pycounts_chen_test-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "fc3af50f0afcd1ecd39b471b4a181822",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2792,
"upload_time": "2024-01-10T06:34:50",
"upload_time_iso_8601": "2024-01-10T06:34:50.386001Z",
"url": "https://files.pythonhosted.org/packages/b8/2c/7c2ef79a6c6835ae9ead619c7100b6bbb33a3a0f288e30d41c94e15bd699/pycounts_chen_test-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-10 06:34:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pycounts_chen_test"
}