latexgen-renzo-fu


Namelatexgen-renzo-fu JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/Renzo-Fu/Python_course
SummaryA simple LaTeX table and image generator
upload_time2024-03-18 14:49:09
maintainer
docs_urlNone
authorRenzo
requires_python>=3.6
license
keywords latex table image
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python_course
LaTeX Tools
LaTeX Tools is a Python package that simplifies the generation of LaTeX documents. It provides functionality to automatically create tables and include images in your LaTeX documents, making it easier to incorporate data and visuals into your LaTeX projects.

Features
Generate LaTeX code for tables from Python lists.
Include images in your LaTeX documents with simple Python commands.
Installation
You can install LaTeX Tools directly from PyPI:

sh
Copy code
pip install latexgen-renzo-fu
Replace latexgen-renzo-fu with the actual name of your package on PyPI.

Usage
Creating a Table
To create a table in your LaTeX document, use the generate_latex_table function:

python
Copy code
from latex_tools import generate_latex_table

data = [
    ["Header 1", "Header 2", "Header 3"],
    ["Row 1, Cell 1", "Row 1, Cell 2", "Row 1, Cell 3"],
    ["Row 2, Cell 1", "Row 2, Cell 2", "Row 2, Cell 3"]
]

latex_code = generate_latex_table(data)
print(latex_code)
Including an Image
To include an image in your LaTeX document, use the generate_latex_image function:

python
Copy code
from latex_tools import generate_latex_image

image_code = generate_latex_image('path/to/your/image.png', 'Caption for the image', 'fig:image_label')
print(image_code)
Contributing
Contributions to LaTeX Tools are welcome! Please fork the repository and submit a pull request with your improvements.

License
LaTeX Tools is licensed under the MIT License. See the LICENSE file for more details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Renzo-Fu/Python_course",
    "name": "latexgen-renzo-fu",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "LaTeX,table,image",
    "author": "Renzo",
    "author_email": "renz_alexander@example.com",
    "download_url": "https://files.pythonhosted.org/packages/e2/8d/888b1aaa0dd7ff1fcbbf6e11201e2ba104c62a19eb1406374a6b87baa5cc/latexgen-renzo-fu-0.1.2.tar.gz",
    "platform": null,
    "description": "# Python_course\r\nLaTeX Tools\r\nLaTeX Tools is a Python package that simplifies the generation of LaTeX documents. It provides functionality to automatically create tables and include images in your LaTeX documents, making it easier to incorporate data and visuals into your LaTeX projects.\r\n\r\nFeatures\r\nGenerate LaTeX code for tables from Python lists.\r\nInclude images in your LaTeX documents with simple Python commands.\r\nInstallation\r\nYou can install LaTeX Tools directly from PyPI:\r\n\r\nsh\r\nCopy code\r\npip install latexgen-renzo-fu\r\nReplace latexgen-renzo-fu with the actual name of your package on PyPI.\r\n\r\nUsage\r\nCreating a Table\r\nTo create a table in your LaTeX document, use the generate_latex_table function:\r\n\r\npython\r\nCopy code\r\nfrom latex_tools import generate_latex_table\r\n\r\ndata = [\r\n    [\"Header 1\", \"Header 2\", \"Header 3\"],\r\n    [\"Row 1, Cell 1\", \"Row 1, Cell 2\", \"Row 1, Cell 3\"],\r\n    [\"Row 2, Cell 1\", \"Row 2, Cell 2\", \"Row 2, Cell 3\"]\r\n]\r\n\r\nlatex_code = generate_latex_table(data)\r\nprint(latex_code)\r\nIncluding an Image\r\nTo include an image in your LaTeX document, use the generate_latex_image function:\r\n\r\npython\r\nCopy code\r\nfrom latex_tools import generate_latex_image\r\n\r\nimage_code = generate_latex_image('path/to/your/image.png', 'Caption for the image', 'fig:image_label')\r\nprint(image_code)\r\nContributing\r\nContributions to LaTeX Tools are welcome! Please fork the repository and submit a pull request with your improvements.\r\n\r\nLicense\r\nLaTeX Tools is licensed under the MIT License. See the LICENSE file for more details.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A simple LaTeX table and image generator",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/Renzo-Fu/Python_course"
    },
    "split_keywords": [
        "latex",
        "table",
        "image"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "725bbeff5e305b2d21a1af3bba51f21815912413af66def42226e5c4af9a24b8",
                "md5": "92c2d78fb6205131980b824e0eb315b3",
                "sha256": "ff5b9084f4a7e2ed67d2ad3433d70a56b7147e3bc6accd15a051ca2c25685143"
            },
            "downloads": -1,
            "filename": "latexgen_renzo_fu-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "92c2d78fb6205131980b824e0eb315b3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1819,
            "upload_time": "2024-03-18T14:49:07",
            "upload_time_iso_8601": "2024-03-18T14:49:07.902837Z",
            "url": "https://files.pythonhosted.org/packages/72/5b/beff5e305b2d21a1af3bba51f21815912413af66def42226e5c4af9a24b8/latexgen_renzo_fu-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e28d888b1aaa0dd7ff1fcbbf6e11201e2ba104c62a19eb1406374a6b87baa5cc",
                "md5": "0ab5efed8dec260270c3da2639f1fbcf",
                "sha256": "0bf703592da8aadc4fcd9dd397625f72ab523568d234641632585cc026c721b8"
            },
            "downloads": -1,
            "filename": "latexgen-renzo-fu-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0ab5efed8dec260270c3da2639f1fbcf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2087,
            "upload_time": "2024-03-18T14:49:09",
            "upload_time_iso_8601": "2024-03-18T14:49:09.363870Z",
            "url": "https://files.pythonhosted.org/packages/e2/8d/888b1aaa0dd7ff1fcbbf6e11201e2ba104c62a19eb1406374a6b87baa5cc/latexgen-renzo-fu-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-18 14:49:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Renzo-Fu",
    "github_project": "Python_course",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "latexgen-renzo-fu"
}
        
Elapsed time: 0.21642s