SafePDF 1.0.11__py3-none-any.whl

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.
Files changed (48) hide show
  1. SafePDF/__init__.py +10 -0
  2. SafePDF/ctrl/__init__.py +0 -0
  3. SafePDF/ctrl/language_manager.py +69 -0
  4. SafePDF/ctrl/safe_pdf_controller.py +469 -0
  5. SafePDF/logger/__init__.py +0 -0
  6. SafePDF/logger/logging_config.py +94 -0
  7. SafePDF/ops/__init__.py +0 -0
  8. SafePDF/ops/license_manager.py +247 -0
  9. SafePDF/ops/pdf2docx.py +157 -0
  10. SafePDF/ops/pdf2jpeg.py +116 -0
  11. SafePDF/ops/pdf_compress.py +282 -0
  12. SafePDF/ops/pdf_merge.py +104 -0
  13. SafePDF/ops/pdf_operations.py +563 -0
  14. SafePDF/ops/pdf_rotate.py +102 -0
  15. SafePDF/ops/pdf_split.py +178 -0
  16. SafePDF/ops/updates.py +308 -0
  17. SafePDF/safe_pdf_app.py +121 -0
  18. SafePDF/test/__init__.py +0 -0
  19. SafePDF/test/test_compression.py +79 -0
  20. SafePDF/test/test_pro_dialog.py +45 -0
  21. SafePDF/text/de/help_content.txt +58 -0
  22. SafePDF/text/de/pro_features.txt +9 -0
  23. SafePDF/text/de/ui.json +260 -0
  24. SafePDF/text/de/welcome_content.txt +24 -0
  25. SafePDF/text/en/help_content.txt +42 -0
  26. SafePDF/text/en/pro_features.txt +8 -0
  27. SafePDF/text/en/ui.json +260 -0
  28. SafePDF/text/en/welcome_content.txt +25 -0
  29. SafePDF/text/tr/help_content.txt +53 -0
  30. SafePDF/text/tr/pro_features.txt +8 -0
  31. SafePDF/text/tr/ui.json +260 -0
  32. SafePDF/text/tr/welcome_content.txt +24 -0
  33. SafePDF/ui/__init__.py +11 -0
  34. SafePDF/ui/common_elements.py +40 -0
  35. SafePDF/ui/help_ui.py +233 -0
  36. SafePDF/ui/language_elements.py +9 -0
  37. SafePDF/ui/operation_settings.py +377 -0
  38. SafePDF/ui/safe_pdf_ui.py +3497 -0
  39. SafePDF/ui/settings_ui.py +394 -0
  40. SafePDF/ui/tabs_manager.py +235 -0
  41. SafePDF/ui/update_ui.py +717 -0
  42. SafePDF/version.txt +34 -0
  43. safepdf-1.0.11.dist-info/METADATA +162 -0
  44. safepdf-1.0.11.dist-info/RECORD +48 -0
  45. safepdf-1.0.11.dist-info/WHEEL +5 -0
  46. safepdf-1.0.11.dist-info/entry_points.txt +2 -0
  47. safepdf-1.0.11.dist-info/licenses/LICENSE +674 -0
  48. safepdf-1.0.11.dist-info/top_level.txt +1 -0
SafePDF/version.txt ADDED
@@ -0,0 +1,34 @@
1
+ # UTF-8
2
+ #
3
+ # For use with PyInstaller --version-file option
4
+ VSVersionInfo(
5
+ ffi=FixedFileInfo(
6
+ filevers=(1, 0, 11, 0),
7
+ prodvers=(1, 0, 11, 0),
8
+ mask=0x3f,
9
+ flags=0x0,
10
+ OS=0x4,
11
+ fileType=0x1,
12
+ subtype=0x0,
13
+ date=(0, 0)
14
+ ),
15
+ kids=[
16
+ StringFileInfo([
17
+ StringTable(
18
+ '040904B0',
19
+ [
20
+ StringStruct('CompanyName', 'github.com/mcagriaksoy'),
21
+ StringStruct('FileDescription', 'SafePDF - A privacy focused PDF Manipulation Tool'),
22
+ StringStruct('FileVersion', '1.0.11'),
23
+ StringStruct('InternalName', 'SafePDF'),
24
+ StringStruct('LegalCopyright', 'Copyright (C) 2025 mcagriaksoy'),
25
+ StringStruct('LegalTrademarks', ''),
26
+ StringStruct('OriginalFilename', 'SafePdf_v1.0.11_win64.exe'),
27
+ StringStruct('ProductName', 'SafePDF'),
28
+ StringStruct('ProductVersion', '1.0.11'),
29
+ StringStruct('License', 'GPL-V3.0')
30
+ ])
31
+ ]),
32
+ VarFileInfo([VarStruct('Translation', [1033, 1200])])
33
+ ]
34
+ )
@@ -0,0 +1,162 @@
1
+ Metadata-Version: 2.4
2
+ Name: SafePDF
3
+ Version: 1.0.11
4
+ Summary: A safe PDF manipulation tool
5
+ Home-page: https://github.com/mcagriaksoy/safepdf
6
+ Author: Mehmet Cagri Aksoy
7
+ Author-email: info@safepdf.de
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: End Users/Desktop
10
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Requires-Python: >=3.8
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Requires-Dist: PyPDF2>=3.0.0
18
+ Requires-Dist: Pillow>=9.0.0
19
+ Requires-Dist: pypdfium2>=4.0.0
20
+ Requires-Dist: tkinterdnd2>=0.3.0
21
+ Requires-Dist: python-docx>=0.8.11
22
+ Requires-Dist: requests>=2.25.0
23
+ Requires-Dist: PyGitHub>=1.55.0
24
+ Requires-Dist: python-gnupg>=0.4.8
25
+ Dynamic: author
26
+ Dynamic: author-email
27
+ Dynamic: classifier
28
+ Dynamic: description
29
+ Dynamic: description-content-type
30
+ Dynamic: home-page
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
35
+
36
+ # SafePDF - Privacy-First PDF Toolkit
37
+
38
+ <p align="center">
39
+ <img src="img/SafePDF_small.avif" alt="SafePDF Banner" />
40
+ </p>
41
+
42
+ [![GitHub release](https://img.shields.io/github/release/mcagriaksoy/SafePDF?include_prereleases=&sort=semver&color=red)](https://github.com/mcagriaksoy/SafePDF/releases/)
43
+ [![License](https://img.shields.io/badge/License-GPL--3.0-red)](#license)
44
+ [![stars - SafePDF](https://img.shields.io/github/stars/mcagriaksoy/SafePDF?style=social)](https://github.com/mcagriaksoy/SafePDF)
45
+
46
+ **SafePDF** is a privacy-focused, offline PDF manipulation tool. All operations are performed locally on your device—your sensitive documents never leave your computer.
47
+
48
+ <a href="https://github.com/mcagriaksoy/SafePDF/releases/" download>
49
+ <img src="https://img.shields.io/badge/Download-Windows_Installer-blue?style=for-the-badge" alt="Download SafePDF">
50
+ </a>
51
+
52
+ ## Why SafePDF?
53
+
54
+ **100% Offline** - No cloud uploads, no internet required
55
+ **Fast & Lightweight** - Operations run directly on your device
56
+ **Privacy First** - Ideal for sensitive documents (legal, healthcare, financial)
57
+ **Multi-language** - English, German, Turkish support
58
+
59
+ > **Read more:** [The Security Concerns of Online PDF Tools](https://medium.com/dev-genius/the-untold-security-concerns-of-online-pdf-editing-tools-6ee1d83facd6)
60
+
61
+ ![SafePDF Interface](img/SafePDF_Ad.avif)
62
+
63
+ ![SafePDF Interface](img/SafePDF_Ad.avif)
64
+
65
+ ## Features
66
+
67
+ - **Compress** - Reduce PDF file size with quality control
68
+ - **Split** - Separate PDFs by pages or custom ranges
69
+ - **Merge** - Combine multiple PDF files into one
70
+ - **Convert to Images** - Export PDF pages as JPG/JPEG
71
+ - **Rotate** - Rotate pages (90°, 180°, 270°)
72
+ - **Repair** - Fix corrupted PDF files
73
+ - **Convert to Word** - Export PDF as DOCX documents
74
+ - **Extract Text** - Extract plain text from PDFs
75
+ - **Extract Info** - View PDF metadata and properties
76
+
77
+ **Interface Features:**
78
+ - Drag & drop file selection
79
+ - Real-time progress tracking
80
+ - Multi-language UI
81
+ - Modern, intuitive design
82
+
83
+ ![How to Use](img/HowToUse.gif)
84
+
85
+ ![How to Use](img/HowToUse.gif)
86
+
87
+ ## Quick Start
88
+
89
+ ### Option 1: Download Executable (Recommended)
90
+ 1. Download the latest release from [Releases](https://github.com/mcagriaksoy/SafePDF/releases/)
91
+ 2. Extract the ZIP file
92
+ 3. Run `SafePDF.exe`
93
+
94
+ ### Option 2: Run from Source
95
+
96
+ **Requirements:**
97
+ - Python 3.7+
98
+ - pip
99
+
100
+ **Installation:**
101
+ ```bash
102
+ # Clone the repository
103
+ git clone https://github.com/mcagriaksoy/SafePDF.git
104
+ cd SafePDF
105
+
106
+ # Install dependencies
107
+ pip install -r requirements.txt
108
+
109
+ # Run the application
110
+ python run_safe_pdf.py
111
+ ```
112
+
113
+ ## How to Use
114
+
115
+ 1. **Select Operation** - Choose what you want to do (compress, split, merge, etc.)
116
+ 2. **Select File** - Drag & drop your PDF or click to browse
117
+ 3. **Adjust Settings** - Configure operation-specific options
118
+ 4. **Execute** - Click to process your file
119
+ 5. **View Results** - See output and open the processed file
120
+
121
+ ## Development
122
+
123
+ ### Project Structure
124
+ ```
125
+ SafePDF/
126
+ ├── SafePDF/
127
+ │ ├── ctrl/ # Controllers
128
+ │ ├── ui/ # User interface
129
+ │ ├── ops/ # PDF operations
130
+ │ ├── logger/ # Logging
131
+ │ └── text/ # Localization files
132
+ ├── run_safe_pdf.py # Main launcher
133
+ └── requirements.txt # Dependencies
134
+ ```
135
+
136
+ ### Contributing
137
+
138
+ Contributions are welcome! Please:
139
+ - Report bugs via [Issues](https://github.com/mcagriaksoy/SafePDF/issues)
140
+ - Submit pull requests for improvements
141
+ - Follow existing code style
142
+
143
+ ## Support
144
+
145
+ - Email: [info@safepdf.de](mailto:info@safepdf.de)
146
+ - Report Issues: [GitHub Issues](https://github.com/mcagriaksoy/SafePDF/issues)
147
+ - Documentation: [safepdf.de](https://safepdf.de)
148
+
149
+ ## License
150
+
151
+ Released under [GPL-3.0](/LICENSE) by [@mcagriaksoy](https://github.com/mcagriaksoy).
152
+
153
+ ## Support the Project
154
+
155
+ <a href="https://www.buymeacoffee.com/mcagriaksoy">
156
+ <img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee" alt="Buy Me A Coffee">
157
+ </a>
158
+
159
+ ---
160
+
161
+ Made for privacy-conscious users
162
+
@@ -0,0 +1,48 @@
1
+ SafePDF/__init__.py,sha256=QA7_IpErGjj_xNtHimbpUVner1WeLkWilnZfKaMOZG4,215
2
+ SafePDF/safe_pdf_app.py,sha256=5zUjQvedN___qIktMBWTmEa53qbwEyWP7YfqGbXxWG0,4349
3
+ SafePDF/version.txt,sha256=P2rn8tJa2NDjxI6F_APsI40Pxz_Q-Kxob3JZ34NCYSc,1054
4
+ SafePDF/ctrl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ SafePDF/ctrl/language_manager.py,sha256=OuPewpJPngJnXhhhKgrgMDD0Os9N0tkpzQP0dRve_qA,2514
6
+ SafePDF/ctrl/safe_pdf_controller.py,sha256=8g0wTIh2N0OWjKSsKAH2qAZ8R7h0hMhJeUA9_-rMnLU,20473
7
+ SafePDF/logger/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ SafePDF/logger/logging_config.py,sha256=ECiBAKfwOGfqVLESRasQtezwzQIRLdQf_tzl7G9q_E0,3064
9
+ SafePDF/ops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ SafePDF/ops/license_manager.py,sha256=OqiEFdKsyRF5DwxCW6K72sYTAz8xztSEDERJfA5k6OQ,9017
11
+ SafePDF/ops/pdf2docx.py,sha256=NB6yhpPUzl25k0_D9v8TtHaOTAYSU6Oi9S7cEcnOW6s,6556
12
+ SafePDF/ops/pdf2jpeg.py,sha256=0zqHdJngbxWguG2-QqhGQEJpRSu5gpc_pZIPg4Eo19g,4369
13
+ SafePDF/ops/pdf_compress.py,sha256=JBPXvgv9xk6r_Psfeg8EVgqkVorC-m5R_yMQuDSDiGU,13293
14
+ SafePDF/ops/pdf_merge.py,sha256=KDcLEDUDdmhey0z9bFGnwABKWuyqi5gz9b4G74DOFNg,3679
15
+ SafePDF/ops/pdf_operations.py,sha256=R6gCrD85FMq4EyBWEFlgpw2FO-SMSpHWewZMf6JdG_E,21549
16
+ SafePDF/ops/pdf_rotate.py,sha256=yTcje8sAbg1ICw-Y9J4-KmQmVqGKDw9A2bQ6UXP5F7s,3695
17
+ SafePDF/ops/pdf_split.py,sha256=Z54IIEhHUmFJGmk1GpvJtxewLmPmV0Kr6YL-8eG2a8M,7161
18
+ SafePDF/ops/updates.py,sha256=NKbDY5se8kOnQhiHRfuoVUsxNGWwPGk3sn8K1LrsQTE,11172
19
+ SafePDF/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ SafePDF/test/test_compression.py,sha256=zrzEnm5WqMXXLHZX5HhT9rr_ybaLq6W4FKETELJRXBc,2796
21
+ SafePDF/test/test_pro_dialog.py,sha256=DfYHaOVhVVlbcTUmirnl-n9OQDwk94i81ADpBHiNfjU,1296
22
+ SafePDF/text/de/help_content.txt,sha256=dyF9wBQ844yXedcaL9Sf-e3_VWPVri99OJYXFdSnC_8,2954
23
+ SafePDF/text/de/pro_features.txt,sha256=hdiuv_VVlU8d_sK8CUb2fvxirzIEkjkozQAVp-eUfPc,504
24
+ SafePDF/text/de/ui.json,sha256=9wHNZS3Am4o-CSf2vJJ8PSnxcIAVV1Ir-RNexKj4s0A,15399
25
+ SafePDF/text/de/welcome_content.txt,sha256=uk6J0KG8NNt5mscbUU5UpU3IwgWG780DBOCNpbIo8ng,547
26
+ SafePDF/text/en/help_content.txt,sha256=ukWUfKtmM2nMyHkdSHnyxie1lOtGRkcK_GStZYQ15Do,2296
27
+ SafePDF/text/en/pro_features.txt,sha256=n5SIBNM0UA1sTiKVn_kalH5looPxHCQSrj8pdG-onnE,434
28
+ SafePDF/text/en/ui.json,sha256=49tegu_El7LU0jHPrXf1fxCNT-m5TIrzLUGhyZZha6s,13558
29
+ SafePDF/text/en/welcome_content.txt,sha256=fH2r97huO5C5d6GEXK6jMjkVD0tEAFzhpmr_JDF_ghI,503
30
+ SafePDF/text/tr/help_content.txt,sha256=ELmeLJngrHpTj5RJ26JSXVwGaqqGuA62gzATvNFCWc0,2936
31
+ SafePDF/text/tr/pro_features.txt,sha256=HlmSnRkn5CQtTJQPSDlhUYLnoto79y35cWb1Brud6Ag,486
32
+ SafePDF/text/tr/ui.json,sha256=YKgaWM6dtB6a0EuX08AyKTV15HLBissGVAoKOuEWbPc,14848
33
+ SafePDF/text/tr/welcome_content.txt,sha256=5T39uGPIdvN6Fir-A4wROef3DVo76apFn-r-DlMOMA0,577
34
+ SafePDF/ui/__init__.py,sha256=rjkGD1ZxtVwE6Ekt6SRGbQxb0hMZRfgQ0Co8KUU5fIQ,305
35
+ SafePDF/ui/common_elements.py,sha256=C0j8ieLkHdoQwXg_JERQHeOURFXiU-YB4j571OERcKY,934
36
+ SafePDF/ui/help_ui.py,sha256=0K2fyX5vDmKXaLLrvAxzdWolpUBuRiFt-g-2a5H9yks,8944
37
+ SafePDF/ui/language_elements.py,sha256=XoJw9MZBhGTlPI5DJ6CPG4zCH3RwiYOLUTVPla_AawU,263
38
+ SafePDF/ui/operation_settings.py,sha256=OgS5JscWVNqzJDAUkheyyZScL0lz2s5LusuxBSYqZmg,14002
39
+ SafePDF/ui/safe_pdf_ui.py,sha256=GI3YvGu7B2dH4M0Oe-AJvruOXWhUNG4lNAHBzS-OmR4,138693
40
+ SafePDF/ui/settings_ui.py,sha256=bLQZTnUrjIAbbuobw7lbcYsmQBT57H4039Rbu-4MKzI,18575
41
+ SafePDF/ui/tabs_manager.py,sha256=o_jQJeedbJscad4cNdCurVc-TdWgyCWOsM9Uc-bNIQg,8586
42
+ SafePDF/ui/update_ui.py,sha256=Cc3QlduWZxrHC8cKntMSgb-0C7OARN3CtweSfck_6X8,33516
43
+ safepdf-1.0.11.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
44
+ safepdf-1.0.11.dist-info/METADATA,sha256=LZZtXWUi06ULiPQD2b_zUPIJilVmXD0tm-OeoDgiuKI,5266
45
+ safepdf-1.0.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
+ safepdf-1.0.11.dist-info/entry_points.txt,sha256=dzXfFVDKJQaTJyxGvisY8crylL9wNn58rzVelCjA0Z4,54
47
+ safepdf-1.0.11.dist-info/top_level.txt,sha256=xfBH64NZ4yAZS9XEVcJNCZyHJ1cy1wNGmLWSmq3KG-Q,8
48
+ safepdf-1.0.11.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ safepdf = SafePDF.safe_pdf_app:main