mylatextable


Namemylatextable JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryQuickly generate LaTeX tables
upload_time2023-07-16 19:47:01
maintainer
docs_urlNone
author
requires_python>=3.5
licenseCopyright (c) 2023 Peter N. Robinson 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 latex table
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # mylatextable

This package intends to make it easier to create LaTeX-formated tables from tabular data that is available in Python.

A typical use case would be

```
from mylatextable import MyLatexTable
header = [...] # Define header fields
table = MyLatexTable(header_fields=header, use_booktabs=True)
rows = .... # create a list of rows according to your logic
for row in rows:
    table.add_row(row)
print(table.get_latex()) # display LaTeX code
```



### Release
To release a new version, update the version number in pyproject.toml and enter the following commands.

```
python -m build .
python -m twine upload dist/*
```

This package is available at https://pypi.org/project/mylatextable/.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mylatextable",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "LaTeX,table",
    "author": "",
    "author_email": "Peter Robinson <peter.robinson@jax.org>",
    "download_url": "https://files.pythonhosted.org/packages/ec/73/b7002e83f84e76c3743ab81409d46e6a5d3ee7c8a96a5ae599c68cd1c076/mylatextable-0.0.2.tar.gz",
    "platform": null,
    "description": "# mylatextable\n\nThis package intends to make it easier to create LaTeX-formated tables from tabular data that is available in Python.\n\nA typical use case would be\n\n```\nfrom mylatextable import MyLatexTable\nheader = [...] # Define header fields\ntable = MyLatexTable(header_fields=header, use_booktabs=True)\nrows = .... # create a list of rows according to your logic\nfor row in rows:\n    table.add_row(row)\nprint(table.get_latex()) # display LaTeX code\n```\n\n\n\n### Release\nTo release a new version, update the version number in pyproject.toml and enter the following commands.\n\n```\npython -m build .\npython -m twine upload dist/*\n```\n\nThis package is available at https://pypi.org/project/mylatextable/.\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2023 Peter N. Robinson 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": "Quickly generate LaTeX tables",
    "version": "0.0.2",
    "project_urls": {
        "bugtracker": "https://github.com/pnrobinson/mylatextable/issues",
        "documentation": "https://github.com/pnrobinson/mylatextable",
        "homepage": "https://github.com/pnrobinson/mylatextable",
        "repository": "https://github.com/pnrobinson/mylatextable.git"
    },
    "split_keywords": [
        "latex",
        "table"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e2e82bdc1462c5d93ab8e8daf3d42900fcfc32d5247e8931a643884cdbdec7a",
                "md5": "623920e4a0c379a21393185782852c68",
                "sha256": "a62da4f4324e0dead1ee412c3dc22e03a998cfc9385ac1f1cbc49f874efce902"
            },
            "downloads": -1,
            "filename": "mylatextable-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "623920e4a0c379a21393185782852c68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 5555,
            "upload_time": "2023-07-16T19:46:59",
            "upload_time_iso_8601": "2023-07-16T19:46:59.626292Z",
            "url": "https://files.pythonhosted.org/packages/6e/2e/82bdc1462c5d93ab8e8daf3d42900fcfc32d5247e8931a643884cdbdec7a/mylatextable-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec73b7002e83f84e76c3743ab81409d46e6a5d3ee7c8a96a5ae599c68cd1c076",
                "md5": "0e86127684e009f6e841df03f0538214",
                "sha256": "19a96dcb8140df92b68888ce7c639b8f714cc47c544b69e8eefcc1134c355a8e"
            },
            "downloads": -1,
            "filename": "mylatextable-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0e86127684e009f6e841df03f0538214",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 3984,
            "upload_time": "2023-07-16T19:47:01",
            "upload_time_iso_8601": "2023-07-16T19:47:01.174665Z",
            "url": "https://files.pythonhosted.org/packages/ec/73/b7002e83f84e76c3743ab81409d46e6a5d3ee7c8a96a5ae599c68cd1c076/mylatextable-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-16 19:47:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pnrobinson",
    "github_project": "mylatextable",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mylatextable"
}
        
Elapsed time: 0.20137s