CustomTkinter CodeViewer
This is a package for displaying code with syntax highlighting in a customtkinter application
Example
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
Metadata
Release files for CustomtkinterCodeViewer 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| CustomtkinterCodeViewer-0.0.3.tar.gz | 2.5 kB | Without provenance | Details for CustomtkinterCodeViewer-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| CustomtkinterCodeViewer-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for CustomtkinterCodeViewer-0.0.3-py3-none-any.whl |
Total release size: 6.1 kB
Release files / CustomtkinterCodeViewer-0.0.3.tar.gz
| Download URL | CustomtkinterCodeViewer-0.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
117fbf7a3f8239dc1c74f9723e1ec4979c35334a807060af1a7e8e29bfef7ca1
|
|
BLAKE2b-256 checksum How to use checksums |
1d68880426823cd3606a54ba5bff3b12b37e31978464e68ae7553f64cc887701
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / CustomtkinterCodeViewer-0.0.3-py3-none-any.whl
| Download URL | CustomtkinterCodeViewer-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57eccd11b370d04a230ae88d88bae82f71762798ef7ca9744b4b5651d12cffd4
|
|
BLAKE2b-256 checksum How to use checksums |
51619d98232d09cb1e6f9d773d96f0e3a864f308a92588cc9f5aa773a21be3b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for CustomtkinterCodeViewer 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.