CustomtkinterCodeViewer


NameCustomtkinterCodeViewer JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryDisplay syntax highlighted code in customtkinter
upload_time2024-05-06 12:48:12
maintainerNone
docs_urlNone
authorRigved Maanas
requires_pythonNone
licenseNone
keywords python customtkinter code view code viewer ctkcodeviewer tkinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# CustomTkinter CodeViewer
This is a package for displaying code with syntax highlighting in a customtkinter application

![CTkCodeViewer](https://github.com/rigvedmaanas/CustomTkinterCodeViewer/assets/77579661/725c765f-b01e-4da4-b0ba-e0f6a441854d)


# Example

```python
codeviewer = CTkCodeViewer(root, code=code, language="python", theme="monokai")
```

# Arguments
| Argument | Value |
|---------|-------|
| root | root, tkinter.Frame or CTkFrame |
| width | textbox width in px |
| height | textbox height in px |
| code | code to display |
| allow_selecting | allow users to select or not (True or False)|
| language | the language given (default = "python"). This supports all the languages available in pygments|
| theme | theme of the syntax highlighting (default = "monokai"). This supports all the themes available in pygments|

# Methods
- .allstyles()
  
  returns all the available themes

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "CustomtkinterCodeViewer",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, customtkinter, code view, code viewer, CTkCodeViewer, tkinter",
    "author": "Rigved Maanas",
    "author_email": "<rigvedmaanas@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/1d/68/880426823cd3606a54ba5bff3b12b37e31978464e68ae7553f64cc887701/CustomtkinterCodeViewer-0.0.3.tar.gz",
    "platform": null,
    "description": "\n# CustomTkinter CodeViewer\nThis is a package for displaying code with syntax highlighting in a customtkinter application\n\n![CTkCodeViewer](https://github.com/rigvedmaanas/CustomTkinterCodeViewer/assets/77579661/725c765f-b01e-4da4-b0ba-e0f6a441854d)\n\n\n# Example\n\n```python\ncodeviewer = CTkCodeViewer(root, code=code, language=\"python\", theme=\"monokai\")\n```\n\n# Arguments\n| Argument | Value |\n|---------|-------|\n| root | root, tkinter.Frame or CTkFrame |\n| width | textbox width in px |\n| height | textbox height in px |\n| code | code to display |\n| allow_selecting | allow users to select or not (True or False)|\n| language | the language given (default = \"python\"). This supports all the languages available in pygments|\n| theme | theme of the syntax highlighting (default = \"monokai\"). This supports all the themes available in pygments|\n\n# Methods\n- .allstyles()\n  \n  returns all the available themes\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Display syntax highlighted code in customtkinter",
    "version": "0.0.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        " customtkinter",
        " code view",
        " code viewer",
        " ctkcodeviewer",
        " tkinter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "51619d98232d09cb1e6f9d773d96f0e3a864f308a92588cc9f5aa773a21be3b5",
                "md5": "b3d199f1759dc67968e2978ed71432d7",
                "sha256": "57eccd11b370d04a230ae88d88bae82f71762798ef7ca9744b4b5651d12cffd4"
            },
            "downloads": -1,
            "filename": "CustomtkinterCodeViewer-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3d199f1759dc67968e2978ed71432d7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3603,
            "upload_time": "2024-05-06T12:48:10",
            "upload_time_iso_8601": "2024-05-06T12:48:10.829277Z",
            "url": "https://files.pythonhosted.org/packages/51/61/9d98232d09cb1e6f9d773d96f0e3a864f308a92588cc9f5aa773a21be3b5/CustomtkinterCodeViewer-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d68880426823cd3606a54ba5bff3b12b37e31978464e68ae7553f64cc887701",
                "md5": "effc2c660183f00cd197912125b66c38",
                "sha256": "117fbf7a3f8239dc1c74f9723e1ec4979c35334a807060af1a7e8e29bfef7ca1"
            },
            "downloads": -1,
            "filename": "CustomtkinterCodeViewer-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "effc2c660183f00cd197912125b66c38",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2510,
            "upload_time": "2024-05-06T12:48:12",
            "upload_time_iso_8601": "2024-05-06T12:48:12.192397Z",
            "url": "https://files.pythonhosted.org/packages/1d/68/880426823cd3606a54ba5bff3b12b37e31978464e68ae7553f64cc887701/CustomtkinterCodeViewer-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-06 12:48:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "customtkintercodeviewer"
}
        
Elapsed time: 0.26551s