yamep 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yamep might be problematic. Click here for more details.

yamep-1.0.0/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 tomsh
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,4 @@
1
+ include README.md
2
+ include LICENSE
3
+ recursive-include yamep/themes *
4
+ recursive-include yamep/resources *
yamep-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,90 @@
1
+ Metadata-Version: 2.1
2
+ Name: yamep
3
+ Version: 1.0.0
4
+ Summary: YAMEP - Yet Another Markdown Editor in Python
5
+ Home-page: https://codeberg.org/tomsh/yamep
6
+ Author: tomsh
7
+ Author-email: tomsh@disroot.org
8
+ License: MIT
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: PySide6
14
+ Requires-Dist: markdown
15
+ Requires-Dist: pymdown-extensions
16
+ Requires-Dist: platformdirs
17
+
18
+
19
+ # YAMEP
20
+
21
+ YAMEP (Yet Another Markdown Editor in Python) is a lightweight and user-friendly markdown editor built with Python and PySide6. YAMEP offers a streamlined environment for writing and previewing markdown content with useful editing tools, live preview, and customizable themes.
22
+
23
+ ## Features
24
+
25
+ - **Markdown Editing with Live Preview**: Write markdown in the editor with a real-time preview panel.
26
+ - **Syntax Highlighting**: Inline code syntax highlighting to enhance readability.
27
+ - **File Management**: Browse and open markdown files directly from the application.
28
+ - **Theme Toggling**: Choose between light, dark, and blue themes for a comfortable editing experience.
29
+ - **Task Lists**: Supports task lists with checkboxes in the preview.
30
+ - **Easy-to-Use Interface**: Intuitive design with essential formatting buttons for markdown syntax.
31
+
32
+ ## Installation
33
+
34
+ ### Install on Arch Linux (via AUR)
35
+
36
+ You can install YAMEP on Arch Linux through the Arch User Repository (AUR). If you use an AUR helper like `yay`, install with:
37
+
38
+ ```bash
39
+ yay -S yamep
40
+ ```
41
+
42
+ Or manually clone and build the package with:
43
+
44
+ ```bash
45
+ git clone https://aur.archlinux.org/yamep.git
46
+ cd yamep
47
+ makepkg -si
48
+ ```
49
+
50
+ ### Install via `pipx` (Cross-Platform)
51
+
52
+ To isolate YAMEP in its own environment using `pipx`, first ensure `pipx` is installed, then run:
53
+
54
+ ```bash
55
+ pipx install yamep
56
+ ```
57
+
58
+ ### Manual Installation via Virtual Environment
59
+
60
+ If you'd like to install YAMEP in a virtual environment, follow these steps:
61
+
62
+ 1. Clone the repository:
63
+ ```bash
64
+ git clone https://codeberg.org/tomsh/yamep.git
65
+ cd yamep
66
+ ```
67
+
68
+ 2. Create and activate a virtual environment:
69
+ ```bash
70
+ python -m venv .venv
71
+ source .venv/bin/activate # On Windows, use .venv\Scripts\activate
72
+ ```
73
+
74
+ 3. Install YAMEP with `pip`:
75
+ ```bash
76
+ pip install .
77
+ ```
78
+
79
+ 4. Run YAMEP from the terminal:
80
+ ```bash
81
+ yamep
82
+ ```
83
+
84
+ ## Usage
85
+
86
+ After installation, run `yamep` from the terminal or launch it from the Applications menu under **Utilities** (on supported desktop environments).
87
+
88
+ ## License
89
+
90
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
yamep-1.0.0/README.md ADDED
@@ -0,0 +1,73 @@
1
+
2
+ # YAMEP
3
+
4
+ YAMEP (Yet Another Markdown Editor in Python) is a lightweight and user-friendly markdown editor built with Python and PySide6. YAMEP offers a streamlined environment for writing and previewing markdown content with useful editing tools, live preview, and customizable themes.
5
+
6
+ ## Features
7
+
8
+ - **Markdown Editing with Live Preview**: Write markdown in the editor with a real-time preview panel.
9
+ - **Syntax Highlighting**: Inline code syntax highlighting to enhance readability.
10
+ - **File Management**: Browse and open markdown files directly from the application.
11
+ - **Theme Toggling**: Choose between light, dark, and blue themes for a comfortable editing experience.
12
+ - **Task Lists**: Supports task lists with checkboxes in the preview.
13
+ - **Easy-to-Use Interface**: Intuitive design with essential formatting buttons for markdown syntax.
14
+
15
+ ## Installation
16
+
17
+ ### Install on Arch Linux (via AUR)
18
+
19
+ You can install YAMEP on Arch Linux through the Arch User Repository (AUR). If you use an AUR helper like `yay`, install with:
20
+
21
+ ```bash
22
+ yay -S yamep
23
+ ```
24
+
25
+ Or manually clone and build the package with:
26
+
27
+ ```bash
28
+ git clone https://aur.archlinux.org/yamep.git
29
+ cd yamep
30
+ makepkg -si
31
+ ```
32
+
33
+ ### Install via `pipx` (Cross-Platform)
34
+
35
+ To isolate YAMEP in its own environment using `pipx`, first ensure `pipx` is installed, then run:
36
+
37
+ ```bash
38
+ pipx install yamep
39
+ ```
40
+
41
+ ### Manual Installation via Virtual Environment
42
+
43
+ If you'd like to install YAMEP in a virtual environment, follow these steps:
44
+
45
+ 1. Clone the repository:
46
+ ```bash
47
+ git clone https://codeberg.org/tomsh/yamep.git
48
+ cd yamep
49
+ ```
50
+
51
+ 2. Create and activate a virtual environment:
52
+ ```bash
53
+ python -m venv .venv
54
+ source .venv/bin/activate # On Windows, use .venv\Scripts\activate
55
+ ```
56
+
57
+ 3. Install YAMEP with `pip`:
58
+ ```bash
59
+ pip install .
60
+ ```
61
+
62
+ 4. Run YAMEP from the terminal:
63
+ ```bash
64
+ yamep
65
+ ```
66
+
67
+ ## Usage
68
+
69
+ After installation, run `yamep` from the terminal or launch it from the Applications menu under **Utilities** (on supported desktop environments).
70
+
71
+ ## License
72
+
73
+ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
yamep-1.0.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
yamep-1.0.0/setup.py ADDED
@@ -0,0 +1,30 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='yamep',
5
+ version='1.0.0',
6
+ author='tomsh',
7
+ author_email='tomsh@disroot.org',
8
+ description='YAMEP - Yet Another Markdown Editor in Python',
9
+ long_description=open('README.md').read(),
10
+ long_description_content_type='text/markdown',
11
+ url='https://codeberg.org/tomsh/yamep',
12
+ packages=find_packages(),
13
+ include_package_data=True,
14
+ install_requires=[
15
+ 'PySide6',
16
+ 'markdown',
17
+ 'pymdown-extensions',
18
+ 'platformdirs',
19
+ ],
20
+ entry_points={
21
+ 'gui_scripts': [
22
+ 'yamep = yamep.main:main',
23
+ ],
24
+ },
25
+ classifiers=[
26
+ 'Programming Language :: Python :: 3',
27
+ 'License :: OSI Approved :: MIT License',
28
+ ],
29
+ license='MIT',
30
+ )
@@ -0,0 +1 @@
1
+ # __init__.py
@@ -0,0 +1,20 @@
1
+ import sys
2
+
3
+ def main():
4
+ try:
5
+ from PySide6.QtWidgets import QApplication
6
+ from yamep.markdown_editor_app import MarkdownEditorApp
7
+
8
+ app = QApplication(sys.argv)
9
+ # Set the desktop file name (without the .desktop extension)
10
+ app.setDesktopFileName('yamep')
11
+
12
+ markdown_editor_app = MarkdownEditorApp()
13
+ markdown_editor_app.show()
14
+ sys.exit(app.exec())
15
+ except Exception as e:
16
+ print(f"An error occurred: {e}")
17
+ sys.exit(1)
18
+
19
+ if __name__ == '__main__':
20
+ main()