Name | wideprint JSON |
Version |
0.1.1
JSON |
| download |
home_page | |
Summary | Print a collection of short strings into columns |
upload_time | 2023-06-30 08:22:16 |
maintainer | |
docs_url | None |
author | thehappycheese |
requires_python | >=3.7 |
license | |
keywords |
columns
print
terminal
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Wideprint
[![.github/workflows/publish_to_pypi.yml](https://github.com/thehappycheese/wideprint/actions/workflows/publish_to_pypi.yml/badge.svg)](https://github.com/thehappycheese/wideprint/actions/workflows/publish_to_pypi.yml)
[![PyPI - Version](https://img.shields.io/pypi/v/wideprint.svg)](https://pypi.org/project/wideprint)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wideprint.svg)](https://pypi.org/project/wideprint)
- [Installation](#installation)
- [License](#license)
## Installation
```console
pip install wideprint
```
## Usage
`def print_columns(data:Iterable, columns:int=3, sep:str=" ", alignment:Literal[">","<","^"]=">")`
```python
from wideprint import print_columns
print_columns(
data = ["aaaa","b","c","d","e","f","g","h","i","j","kkk","l","m","n","o"],
columns = 3,
sep = " ",
alignment = "<"
)
```
```text
aaaa b c
d e f
g h i
j kkk l
m n o
```
## License
`wideprint` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
Raw data
{
"_id": null,
"home_page": "",
"name": "wideprint",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "columns,print,terminal",
"author": "thehappycheese",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a9/ba/874fcfdb4366ee8fa8f19dcf7d573350bec270b9e57e9a0e411fca23f2b0/wideprint-0.1.1.tar.gz",
"platform": null,
"description": "# Wideprint\n[![.github/workflows/publish_to_pypi.yml](https://github.com/thehappycheese/wideprint/actions/workflows/publish_to_pypi.yml/badge.svg)](https://github.com/thehappycheese/wideprint/actions/workflows/publish_to_pypi.yml)\n[![PyPI - Version](https://img.shields.io/pypi/v/wideprint.svg)](https://pypi.org/project/wideprint)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wideprint.svg)](https://pypi.org/project/wideprint)\n\n- [Installation](#installation)\n- [License](#license)\n\n## Installation\n\n```console\npip install wideprint\n```\n\n## Usage\n\n`def print_columns(data:Iterable, columns:int=3, sep:str=\" \", alignment:Literal[\">\",\"<\",\"^\"]=\">\")`\n \n ```python\n from wideprint import print_columns\n\n print_columns(\n data = [\"aaaa\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"kkk\",\"l\",\"m\",\"n\",\"o\"],\n columns = 3,\n sep = \" \",\n alignment = \"<\"\n)\n ```\n\n ```text\naaaa b c\nd e f\ng h i\nj kkk l\nm n o\n```\n## License\n\n`wideprint` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n",
"bugtrack_url": null,
"license": "",
"summary": "Print a collection of short strings into columns",
"version": "0.1.1",
"project_urls": {
"Documentation": "https://github.com/thehappycheese/wideprint#readme",
"Issues": "https://github.com/thehappycheese/wideprint/issues",
"Source": "https://github.com/thehappycheese/wideprint"
},
"split_keywords": [
"columns",
"print",
"terminal"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f2b7863bd020f376c2d3a6eae6a696d822f5e5ac080198304739b877f43dd13e",
"md5": "26536bc7669ed646921bc61d9ee7138a",
"sha256": "7d3450f38253b5af80973819ddbbe4168cb071ba52a9797f431839353fbc664d"
},
"downloads": -1,
"filename": "wideprint-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26536bc7669ed646921bc61d9ee7138a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 2662,
"upload_time": "2023-06-30T08:22:15",
"upload_time_iso_8601": "2023-06-30T08:22:15.489059Z",
"url": "https://files.pythonhosted.org/packages/f2/b7/863bd020f376c2d3a6eae6a696d822f5e5ac080198304739b877f43dd13e/wideprint-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a9ba874fcfdb4366ee8fa8f19dcf7d573350bec270b9e57e9a0e411fca23f2b0",
"md5": "1533741eb737244a7239020b3e1613ed",
"sha256": "a22eebf7635f848605a1451dc5fd68ef38d9bdc8a78cbe389dbb1ecd24ba9df3"
},
"downloads": -1,
"filename": "wideprint-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "1533741eb737244a7239020b3e1613ed",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3688,
"upload_time": "2023-06-30T08:22:16",
"upload_time_iso_8601": "2023-06-30T08:22:16.777104Z",
"url": "https://files.pythonhosted.org/packages/a9/ba/874fcfdb4366ee8fa8f19dcf7d573350bec270b9e57e9a0e411fca23f2b0/wideprint-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-30 08:22:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thehappycheese",
"github_project": "wideprint#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "wideprint"
}