CSVtoTableNameless


NameCSVtoTableNameless JSON
Version 2.6.0.3 PyPI version JSON
download
home_pageNone
SummarySimple commandline utility to convert CSV files to searchable and sortable HTML table.
upload_time2024-12-08 03:55:43
maintainerNone
docs_urlNone
authorNone
requires_python>=2.7
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CSVtoTable

Simple command-line utility to convert CSV files to searchable and
sortable HTML table. Supports large datasets and horizontal scrolling
for large number of columns.

DISCLAIMER: This is NOT an official version, nor am I affiliated
with the original creator Vivek R \@vividvilla
<https://github.com/vividvilla> (Upstream Author) This version is mostly
for me, if you wanna use it too go ahead but I give no promises of
function. If you notice any errors or issues please tell me!

## Demo

[Here is a demo](<https://NanashiTheNameless.github.io/csvtotable/sample/goog.html>)
of [sample csv](<https://github.com/NanashiTheNameless/csvtotable/blob/master/sample/goog.csv>)
file converted to HTML table.

###### (You can use [https://NanashiTheNameless.github.io/csvtotable/sample/index.html](<https://NanashiTheNameless.github.io/csvtotable/sample/index.html>) to see all the example HTML pages.)

## Installation

Get the Latest

```sh
python -m pip install --upgrade 'CSVtoTableNameless @ git+https://github.com/NanashiTheNameless/csvtotable@master'
```

Or get from PyPi (not recommended, may be out of date)

```sh
pip install --upgrade CSVtoTableNameless
```

## Get started

```sh
csvtotable --help
```

Convert `data.csv` file to `data.html` file

```sh
csvtotable data.csv data.html
```

Open output file in a web browser instead of writing to a file

```sh
csvtotable data.csv --serve
```

## Options

```text
csvtotable [OPTIONS] input_file [output_file]

CSVtoTable: Convert CSV files into searchable, sortable HTML tables.

Options:
  -h, --help            show this help message and exit
  --version             Show detailed version and metadata about the tool (alias for 'python -m pip show CSVtoTableNameless').
  input_file            Path to the input CSV file.
  output_file           Path to the output HTML file (optional if --serve is used).
  -c CAPTION, -t CAPTION, --caption CAPTION, --title CAPTION
                        Table caption and HTML title.
  -d DELIMITER, --delimiter DELIMITER
                        CSV delimiter (default: ',').
  -q QUOTECHAR, --quotechar QUOTECHAR
                        String used to quote fields containing special characters (default: '"').
  -dl DISPLAY_LENGTH, --display-length DISPLAY_LENGTH
                        Number of rows to show by default. Defaults to -1 (show all rows).
  -o, --overwrite       Overwrite the output file if it exists.
  -s, --serve           Open output HTML in a browser instead of writing to a file.
  -H HEIGHT, --height HEIGHT
                        Table height in px or as a percentage (e.g., 50%).
  -p, --pagination      Enable table pagination (enabled by default unless virtual scroll is active).
  -vs VIRTUAL_SCROLL, --virtual-scroll VIRTUAL_SCROLL
                        Enable virtual scroll for tables with more than the specified number of rows. Set to -1 to disable and 0 to always enable.
  -nh, --no-header      Disable displaying the first row as headers.
  -e, --disable-export  Disable export options for the table.
  -eo {copy,csv,json,print} [{copy,csv,json,print} ...], --export-options {copy,csv,json,print} [{copy,csv,json,print} ...]
                        Specify export options (default: all). For multiple options, use: -eo json csv.
  -ps, --preserve-sort  Preserve the default sorting order.
  --debug               Enable debug mode to show full tracebacks and advanced info with --help.
```

## Credits

[All Major Contributors](https://github.com/NanashiTheNameless/csvtotable/blob/master/CONTRIBUTORS.md)

[All Other Contributors](https://github.com/NanashiTheNameless/csvtotable/graphs/contributors)

## External HTML Libraries used

[Datatables](https://datatables.net)

[jQuery](https://jquery.com/)

[JSZip](https://stuk.github.io/jszip/)

[PDFMake](https://github.com/bpampuch/pdfmake)

## External Python Libraries used

[jinja2](https://pypi.org/project/Jinja2/)

[six](https://pypi.org/project/six/)

[unicodecsv](https://pypi.org/project/unicodecsv/)

[colorama](https://pypi.org/project/colorama/)

[argparse](https://pypi.org/project/argparse)

[logging](https://pypi.org/project/logging)

[uuid](https://pypi.org/project/uuid)
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "CSVtoTableNameless",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=2.7",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "NanashiTheNameless <NanashiTheNameless@NamelessNanashi.dev>",
    "download_url": "https://files.pythonhosted.org/packages/b8/28/fb1f10ea6d1c2af1af4572d006736dcd65f55669bcc579f07803364eb729/csvtotablenameless-2.6.0.3.tar.gz",
    "platform": null,
    "description": "# CSVtoTable\n\nSimple command-line utility to convert CSV files to searchable and\nsortable HTML table. Supports large datasets and horizontal scrolling\nfor large number of columns.\n\nDISCLAIMER: This is NOT an official version, nor am I affiliated\nwith the original creator Vivek R \\@vividvilla\n<https://github.com/vividvilla> (Upstream Author) This version is mostly\nfor me, if you wanna use it too go ahead but I give no promises of\nfunction. If you notice any errors or issues please tell me!\n\n## Demo\n\n[Here is a demo](<https://NanashiTheNameless.github.io/csvtotable/sample/goog.html>)\nof [sample csv](<https://github.com/NanashiTheNameless/csvtotable/blob/master/sample/goog.csv>)\nfile converted to HTML table.\n\n###### (You can use [https://NanashiTheNameless.github.io/csvtotable/sample/index.html](<https://NanashiTheNameless.github.io/csvtotable/sample/index.html>) to see all the example HTML pages.)\n\n## Installation\n\nGet the Latest\n\n```sh\npython -m pip install --upgrade 'CSVtoTableNameless @ git+https://github.com/NanashiTheNameless/csvtotable@master'\n```\n\nOr get from PyPi (not recommended, may be out of date)\n\n```sh\npip install --upgrade CSVtoTableNameless\n```\n\n## Get started\n\n```sh\ncsvtotable --help\n```\n\nConvert `data.csv` file to `data.html` file\n\n```sh\ncsvtotable data.csv data.html\n```\n\nOpen output file in a web browser instead of writing to a file\n\n```sh\ncsvtotable data.csv --serve\n```\n\n## Options\n\n```text\ncsvtotable [OPTIONS] input_file [output_file]\n\nCSVtoTable: Convert CSV files into searchable, sortable HTML tables.\n\nOptions:\n  -h, --help            show this help message and exit\n  --version             Show detailed version and metadata about the tool (alias for 'python -m pip show CSVtoTableNameless').\n  input_file            Path to the input CSV file.\n  output_file           Path to the output HTML file (optional if --serve is used).\n  -c CAPTION, -t CAPTION, --caption CAPTION, --title CAPTION\n                        Table caption and HTML title.\n  -d DELIMITER, --delimiter DELIMITER\n                        CSV delimiter (default: ',').\n  -q QUOTECHAR, --quotechar QUOTECHAR\n                        String used to quote fields containing special characters (default: '\"').\n  -dl DISPLAY_LENGTH, --display-length DISPLAY_LENGTH\n                        Number of rows to show by default. Defaults to -1 (show all rows).\n  -o, --overwrite       Overwrite the output file if it exists.\n  -s, --serve           Open output HTML in a browser instead of writing to a file.\n  -H HEIGHT, --height HEIGHT\n                        Table height in px or as a percentage (e.g., 50%).\n  -p, --pagination      Enable table pagination (enabled by default unless virtual scroll is active).\n  -vs VIRTUAL_SCROLL, --virtual-scroll VIRTUAL_SCROLL\n                        Enable virtual scroll for tables with more than the specified number of rows. Set to -1 to disable and 0 to always enable.\n  -nh, --no-header      Disable displaying the first row as headers.\n  -e, --disable-export  Disable export options for the table.\n  -eo {copy,csv,json,print} [{copy,csv,json,print} ...], --export-options {copy,csv,json,print} [{copy,csv,json,print} ...]\n                        Specify export options (default: all). For multiple options, use: -eo json csv.\n  -ps, --preserve-sort  Preserve the default sorting order.\n  --debug               Enable debug mode to show full tracebacks and advanced info with --help.\n```\n\n## Credits\n\n[All Major Contributors](https://github.com/NanashiTheNameless/csvtotable/blob/master/CONTRIBUTORS.md)\n\n[All Other Contributors](https://github.com/NanashiTheNameless/csvtotable/graphs/contributors)\n\n## External HTML Libraries used\n\n[Datatables](https://datatables.net)\n\n[jQuery](https://jquery.com/)\n\n[JSZip](https://stuk.github.io/jszip/)\n\n[PDFMake](https://github.com/bpampuch/pdfmake)\n\n## External Python Libraries used\n\n[jinja2](https://pypi.org/project/Jinja2/)\n\n[six](https://pypi.org/project/six/)\n\n[unicodecsv](https://pypi.org/project/unicodecsv/)\n\n[colorama](https://pypi.org/project/colorama/)\n\n[argparse](https://pypi.org/project/argparse)\n\n[logging](https://pypi.org/project/logging)\n\n[uuid](https://pypi.org/project/uuid)",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simple commandline utility to convert CSV files to searchable and sortable HTML table.",
    "version": "2.6.0.3",
    "project_urls": {
        "Download": "https://github.com/NanashiTheNameless/csvtotable/releases/latest",
        "Homepage": "https://github.com/NanashiTheNameless/csvtotable"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6bca621eafeeb1bbea9e1bc5488d268b0a25eed089396d9c174557a343d092de",
                "md5": "552b9d44370878ffcd4685cee4fcb347",
                "sha256": "3b258b34529a12302df04530697ff82ef8403dfacc8f1f3c1d2daabcce44d1b4"
            },
            "downloads": -1,
            "filename": "csvtotablenameless-2.6.0.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "552b9d44370878ffcd4685cee4fcb347",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=2.7",
            "size": 12194,
            "upload_time": "2024-12-08T03:55:41",
            "upload_time_iso_8601": "2024-12-08T03:55:41.845845Z",
            "url": "https://files.pythonhosted.org/packages/6b/ca/621eafeeb1bbea9e1bc5488d268b0a25eed089396d9c174557a343d092de/csvtotablenameless-2.6.0.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b828fb1f10ea6d1c2af1af4572d006736dcd65f55669bcc579f07803364eb729",
                "md5": "29cd03259dffd02f1a22d6d5cafc848e",
                "sha256": "bf633f1f24c49a5f6cf6086a6c8e855ca243a5ffc099d8cd1358e1911b687646"
            },
            "downloads": -1,
            "filename": "csvtotablenameless-2.6.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "29cd03259dffd02f1a22d6d5cafc848e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7",
            "size": 10597,
            "upload_time": "2024-12-08T03:55:43",
            "upload_time_iso_8601": "2024-12-08T03:55:43.724302Z",
            "url": "https://files.pythonhosted.org/packages/b8/28/fb1f10ea6d1c2af1af4572d006736dcd65f55669bcc579f07803364eb729/csvtotablenameless-2.6.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-08 03:55:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NanashiTheNameless",
    "github_project": "csvtotable",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "csvtotablenameless"
}
        
Elapsed time: 0.37487s