cupcake-editor-0.5.1
توضیحات
Embeddable code editor for tkinter
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cupcake-editor-0.5.1 |
| نام | cupcake-editor |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Billy |
| ایمیل نویسنده | billydevbusiness@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cupcake-editor/ |
| مجوز | - |
# Cupcake: Embeddable Code Editor
Cupcake is an Embeddable Modern Code editor for python tkinter applications. It comes with features such as **Autocompletions**, **Minimap** and **Semantic Syntax highlighting**. Cupcake is written in pure python with the tkinter library. It is the the code editor which powers [Biscuit](https://github.com/billyeatcookies/Biscuit). See a good list of the code editor's [features](#features).
<table>
<td>
<img src=https://user-images.githubusercontent.com/70792552/162617435-a9145e3e-e380-4afd-8e78-cbeedeb1bd24.gif />
</td>
<td>
<img src=https://user-images.githubusercontent.com/70792552/162617464-65169951-fc20-44f3-9f24-a7d80cb6eb10.gif />
</td>
</table>
<!--  -->
## Installation
Cupcake can be installed by running:
```
pip install cupcake-editor
```
Cupcake requires Python 3.10+ to run.
## Quick start
Here is a quick example of embedding cupcake in your project:
```py
import tkinter as tk
from cupcake import Editor
root = tk.Tk()
root.minsize(800, 600)
editor = Editor(root)
editor.pack(expand=1, fill=tk.BOTH)
root.mainloop()
```
## Examples!
Examples demonstrating how to use cupcake are in the [examples](./examples) directory. You can learn how to integrate the editor to your app with these. You can run the examples like `python -m examples.hello`
## Features
- [x] Syntax Highlighting
- [x] Auto completions
- [x] Auto Indentation
- [x] Minimap
- [x] Find Replace
- [ ] Extendable language support
- [ ] Code Debugging
- [ ] Language Detection
- [ ] Code Folding
### Contributing
Thank you if you are considering to contribute to Cupcake. See [contributing](./CONTRIBUTING.md) for further details such as coding guides and editing tools used.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl cupcake-editor-0.5.1:
pip install cupcake-editor-0.5.1.whl
نصب پکیج tar.gz cupcake-editor-0.5.1:
pip install cupcake-editor-0.5.1.tar.gz