# Table Creating for CSV Data File.
- To run this program, it's need to call the class as follows.
```python
from PyTableWiz import TableWizard
TableWizard("src/My filepath/to/datafile.csv")
```
- Here take the file path of the data file which you need to create a table.
- You can customize how many rows need to be belongs to the table by using *__limit__* key word as an argument to provide a limitation. It will be get 100 rows by default.
E.g:
```python
limit = 100
```
- *justify* key word allow us to change alignments of all column. All column will appear as left justify by default.
- *align* key word allow us to change each column severally.
- You should provide the particular column name as a key and which side to align as value.
- 'align' argument is represented as a dictionary.
E.g:
```python
align = {'Column 1': 'Side', 'Column 2': 'Side', 'Column 3': 'Side'}
```
- This module has method to customise which column need to be created as a table.
- To do this you can use *DTE* as an argument.
- DTE Stand for: Derived Table Expression.
- this argument get values as a list.
E.g:
```python
DTE = ['Column 1', 'Column 2', 'Column 3', 'Column 4']
```
- Select specific rows by using 'SelectedRows'.
- 'SelectedRows' argument is represented as a dictionary.
E.g:
```python
SelectedRows = {'Column 1': ('value 1', 'value 2', 'value 3'), 'Column 2': ('value 1', 'value 2')}
```
- If you not necessary the accessory details about the table creation, you can set it *false*.
- To set it, use the key word *acc_details*. by default, it is True.
- To create the table used the following symbols:
![img.png](img.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/PramudithRangana/Table-Wizard.git",
"name": "PyTableWiz",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "CSV,table",
"author": "Pramudith Rangana",
"author_email": "pramudithrangana@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/dc/84/a29aa6da277561ed1a6245657bf1fe0fcb0426175ea7811c9712bcc14e76/PyTableWiz-0.0.3.tar.gz",
"platform": null,
"description": "# Table Creating for CSV Data File.\r\n\r\n- To run this program, it's need to call the class as follows.\r\n\r\n```python\r\nfrom PyTableWiz import TableWizard\r\n\r\nTableWizard(\"src/My filepath/to/datafile.csv\")\r\n```\r\n- Here take the file path of the data file which you need to create a table.\r\n- You can customize how many rows need to be belongs to the table by using *__limit__* key word as an argument to provide a limitation. It will be get 100 rows by default.\r\n\r\n\tE.g: \r\n```python\r\nlimit = 100\r\n```\r\n\r\n- *justify* key word allow us to change alignments of all column. All column will appear as left justify by default.\r\n- *align* key word allow us to change each column severally.\r\n- You should provide the particular column name as a key and which side to align as value.\r\n- 'align' argument is represented as a dictionary.\r\n\t\r\n\tE.g: \r\n```python\r\nalign = {'Column 1': 'Side', 'Column 2': 'Side', 'Column 3': 'Side'}\r\n```\r\n\r\n- This module has method to customise which column need to be created as a table.\r\n- To do this you can use *DTE* as an argument.\r\n- DTE Stand for: Derived Table Expression.\r\n- this argument get values as a list.\r\n\r\n E.g:\r\n\r\n```python\r\nDTE = ['Column 1', 'Column 2', 'Column 3', 'Column 4']\r\n```\r\n\r\n- Select specific rows by using 'SelectedRows'.\r\n- 'SelectedRows' argument is represented as a dictionary.\r\n\r\n\tE.g:\r\n```python\r\nSelectedRows = {'Column 1': ('value 1', 'value 2', 'value 3'), 'Column 2': ('value 1', 'value 2')}\r\n\r\n```\r\n\r\n- If you not necessary the accessory details about the table creation, you can set it *false*.\r\n- To set it, use the key word *acc_details*. by default, it is True.\r\n\r\n- To create the table used the following symbols:\r\n\r\n![img.png](img.png)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Creating tables for CSV data file",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/PramudithRangana/Table-Wizard.git"
},
"split_keywords": [
"csv",
"table"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "08f2cbc394ad35c98b360f38fe9b48d360ce224245170769e3ad0bc947712a9b",
"md5": "9350c4780438a2e7a4d2fd5045f2633e",
"sha256": "7b4cb299ba872124498eab5ce52d629015b79911fac0667a13af498311371e7e"
},
"downloads": -1,
"filename": "PyTableWiz-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9350c4780438a2e7a4d2fd5045f2633e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4960,
"upload_time": "2023-06-11T11:37:37",
"upload_time_iso_8601": "2023-06-11T11:37:37.666577Z",
"url": "https://files.pythonhosted.org/packages/08/f2/cbc394ad35c98b360f38fe9b48d360ce224245170769e3ad0bc947712a9b/PyTableWiz-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dc84a29aa6da277561ed1a6245657bf1fe0fcb0426175ea7811c9712bcc14e76",
"md5": "d7d8656fbeaf412be92a22f2f902a9ad",
"sha256": "806f7321631642a5c9bb50184f9c39646dca3482711f24fafdcd94c79dfd2263"
},
"downloads": -1,
"filename": "PyTableWiz-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "d7d8656fbeaf412be92a22f2f902a9ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4569,
"upload_time": "2023-06-11T11:37:44",
"upload_time_iso_8601": "2023-06-11T11:37:44.525986Z",
"url": "https://files.pythonhosted.org/packages/dc/84/a29aa6da277561ed1a6245657bf1fe0fcb0426175ea7811c9712bcc14e76/PyTableWiz-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-11 11:37:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "PramudithRangana",
"github_project": "Table-Wizard",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pytablewiz"
}