fixtable


Namefixtable JSON
Version 0.6 PyPI version JSON
download
home_pageNone
SummaryA command-line tool to process and format Stata output tables.
upload_time2024-08-30 09:28:13
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords stata table formatting command-line
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fixtable
This package cleaned up the latex files from outreg2 in Stata and any other latex tables generated

- installation
```bash
pip install fixtable
```

- usage
If you have generated a latex table from outreg2, say table.tex, you could run command

```
fixtable table.tex -v var.txt
```
This will print out the "fixed" table to be used directly in your latex project. var.txt is a file containing variable lables you would like to replace in the table.tex. For example, if you want to replace xrd to R\&D expense and ta to Total Asset, you need to have a var.txt like this
```
xrd R\&D expense
ta Total Asset
```
Then this will automatically replace variable name with the name you specified.

Now, you could replace the table.tex with your fixed version:
```
fixtable table.tex -v var.txt -i
```
-i means inplace, this will replace the table.tex with your fix.



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fixtable",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "stata, table, formatting, command-line",
    "author": null,
    "author_email": "Leo Liu <auleo.liu@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/54/fc/2a6b96dccdf9f1d150c8ed82e5bff767c413e54b2c4fdd70dd51a5fac7b6/fixtable-0.6.tar.gz",
    "platform": null,
    "description": "# fixtable\nThis package cleaned up the latex files from outreg2 in Stata and any other latex tables generated\n\n- installation\n```bash\npip install fixtable\n```\n\n- usage\nIf you have generated a latex table from outreg2, say table.tex, you could run command\n\n```\nfixtable table.tex -v var.txt\n```\nThis will print out the \"fixed\" table to be used directly in your latex project. var.txt is a file containing variable lables you would like to replace in the table.tex. For example, if you want to replace xrd to R\\&D expense and ta to Total Asset, you need to have a var.txt like this\n```\nxrd R\\&D expense\nta Total Asset\n```\nThen this will automatically replace variable name with the name you specified.\n\nNow, you could replace the table.tex with your fixed version:\n```\nfixtable table.tex -v var.txt -i\n```\n-i means inplace, this will replace the table.tex with your fix.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A command-line tool to process and format Stata output tables.",
    "version": "0.6",
    "project_urls": null,
    "split_keywords": [
        "stata",
        " table",
        " formatting",
        " command-line"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f4c2b47d4c7994cd9c078b8d0e426c145160a5d128b0a2051a4931173e759bfe",
                "md5": "1241c320acc4c3c9bf7c8f3c9a417907",
                "sha256": "17bbfe481a0c06fa55c50f08a5dfbf28c5d67b6e3224b058a2fb49ad32e86358"
            },
            "downloads": -1,
            "filename": "fixtable-0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1241c320acc4c3c9bf7c8f3c9a417907",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5392,
            "upload_time": "2024-08-30T09:28:11",
            "upload_time_iso_8601": "2024-08-30T09:28:11.103968Z",
            "url": "https://files.pythonhosted.org/packages/f4/c2/b47d4c7994cd9c078b8d0e426c145160a5d128b0a2051a4931173e759bfe/fixtable-0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54fc2a6b96dccdf9f1d150c8ed82e5bff767c413e54b2c4fdd70dd51a5fac7b6",
                "md5": "4ae504d325e60a8c3454471cdda672ce",
                "sha256": "4caf96ef4c1245f2b439e13045e7952a5b3176a27c402fa7e5675205f76edf80"
            },
            "downloads": -1,
            "filename": "fixtable-0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "4ae504d325e60a8c3454471cdda672ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5176,
            "upload_time": "2024-08-30T09:28:13",
            "upload_time_iso_8601": "2024-08-30T09:28:13.100433Z",
            "url": "https://files.pythonhosted.org/packages/54/fc/2a6b96dccdf9f1d150c8ed82e5bff767c413e54b2c4fdd70dd51a5fac7b6/fixtable-0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-30 09:28:13",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "fixtable"
}
        
Elapsed time: 3.59473s