Text Editor
A simple sticky note text editor built with Python and Tkinter.
Table of Contents
Features
- Rich text editing capabilities: Edit text with various formatting options.
- Font customization: Change font family and size.
- Text formatting: Apply bold and italic styles.
- Color customization: Customize text and background colors.
- File operations: Create, open, save, and save files as new.
- Print functionality: Print documents directly from the editor.
- Keyboard shortcuts: Efficiently perform actions with shortcuts.
- Undo/Redo support: Easily revert or reapply changes.
Installation
Method 1: Using pip
pip install notes-app
Method 2: From source
-
Clone the repository bash git clone https://github.com/yonDest/Text-Editor.git cd Text-Editor
-
Create and activate a virtual environment bash On macOS/Linux python -m venv venv source venv/bin/activate On Windows python -m venv venv venv\Scripts\activate
-
Install the package bash pip install -e .
Usage
Running the Application
- Command Line
After installation, you can run the text editor using:
bash notepad
Running from Python
python from notes_app.main import main main()
Features Guide
- Creating a New File: Click File → New or press
Ctrl + N - Opening Files: Click File → Open or press
Ctrl + O - Saving Files: Click File → Save or press
Ctrl + S - Text Formatting:
- Bold: Select text and press
Ctrl + B - Italic: Select text and press
Ctrl + I - Change Font: Use the Format → Font menu
- Change Color: Use the Format → Color menu
- Bold: Select text and press
Keyboard Shortcuts
Ctrl + N: New fileCtrl + O: Open fileCtrl + S: Save fileCtrl + Shift + S: Save asCtrl + P: PrintCtrl + C: CopyCtrl + X: CutCtrl + V: PasteCtrl + Z: UndoCtrl + Y: Redo
Development
Setting up development environment
-
Clone the repository bash git clone https://github.com/yonDest/Text-Editor.git cd Text-Editor
-
Create and activate virtual environment bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install development dependencies bash pip install -e ".[dev]"
Running tests
bash pytest
License
Copyright (c) 2024 Yoni Desta
This project is licensed under the MIT License. This means you can:
- Use the code commercially
- Modify the code
- Distribute the code
- Use the code privately
See the LICENSE file for full details.
Author
Yoni Desta
- GitHub: @yonDest
- Email: yonidesta9@gmail.com
- LinkedIn: Yoni Desta
Contributing
Feel free to reach out if you'd like to:
- Report a bug
- Request a feature
- Submit a pull request
Your contributions are always welcome!
Metadata
Release files for notes-app 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| notes_app-0.1.0.tar.gz | 101.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| notes_app-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.7 kB
Release files / notes_app-0.1.0.tar.gz
| Download URL | notes_app-0.1.0.tar.gz |
|---|---|
| Size | 101.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b56cdc030857313c67d2dbbe0f34cdf0ab653437d09645e0dbd66d5b6cc0160e
|
|
BLAKE2b-256 checksum How to use checksums |
7bcd1d7a94a21ceabd8ae667b88c7d0929f213fe530271ff6e35511e12047b92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / notes_app-0.1.0-py3-none-any.whl
| Download URL | notes_app-0.1.0-py3-none-any.whl |
|---|---|
| Size | 98.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fce1d73d1ee59e8b2cc41a64bc93f4bf8fc2b5d711f4c3a801e2b16dbf4507f
|
|
BLAKE2b-256 checksum How to use checksums |
84c5f48249d04e2e3ce502339432e43c20ff56e608a3d71914c32d496c3b80f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|