nhpdf 0.1.0__py3-none-any.whl → 1.0__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.
@@ -0,0 +1,166 @@
1
+ Metadata-Version: 2.4
2
+ Name: nhpdf
3
+ Version: 1.0
4
+ Summary: Download NHentai doujins as PDF
5
+ Project-URL: Homepage, https://github.com/Aze543/NhentaiDoujinToPDFMaker
6
+ Project-URL: Issues, https://github.com/Aze543/NhentaiDoujinToPDFMaker/issues
7
+ Author-email: Aze543 <eizen.9258437663@gmail.com>
8
+ Maintainer-email: Aze543 <eizen.9258437663@gmail.com>
9
+ License-Expression: MIT
10
+ Keywords: goon,pdf,scraper
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Programming Language :: Python
13
+ Requires-Python: >=3.8
14
+ Requires-Dist: beautifulsoup4
15
+ Requires-Dist: img2pdf
16
+ Requires-Dist: requests
17
+ Description-Content-Type: text/markdown
18
+
19
+ # NHENTAI DOUJIN-TO-PDF MAKER
20
+
21
+ A *disgusting* Python script that compiles doujins from [nhentai.net](https://nhentai.net) into PDFs for **offline gooning**.
22
+
23
+ This app has two flavors:
24
+
25
+ ---
26
+
27
+ ## 🧱 Flavor 1: CLI Tool (`nhpdf`)
28
+
29
+ A command-line interface you can run from anywhere:
30
+
31
+ ```bash
32
+ nhpdf <doujin-code>
33
+ ```
34
+
35
+ Example:
36
+ ```bash
37
+ nhpdf 566212
38
+ nhpdf 566212 563102 345987
39
+ ```
40
+
41
+ ---
42
+
43
+ ### 🔧 How to Install (CLI Version)
44
+
45
+ You can install the CLI tool in two ways:
46
+
47
+ #### Option 1: From PyPI
48
+
49
+ ```bash
50
+ pip install nhpdf
51
+ ```
52
+
53
+ #### Option 2: Locally (Development)
54
+
55
+ If you’ve cloned this repo:
56
+
57
+ ```bash
58
+ cd NhentaiDoujinToPDFMaker
59
+ pip install .
60
+ ```
61
+
62
+ Now you can run it with:
63
+
64
+ ```bash
65
+ nhpdf 566212
66
+ ```
67
+
68
+ ---
69
+
70
+ ## 🐍 Flavor 2: Raw Python Script (`main.py`)
71
+
72
+ If you prefer to run it like a normal Python script:
73
+
74
+ ```bash
75
+ python main.py
76
+ # or
77
+ python3 main.py
78
+ ```
79
+
80
+ ---
81
+
82
+ ### 📥 How to Set Up (Script Version)
83
+
84
+ > These instructions focus on **macOS**, but should work on **Windows** too (with small changes).
85
+
86
+ #### 1. Install Python
87
+
88
+ Search how to install Python for your OS.
89
+
90
+ Check if Python is installed:
91
+
92
+ - **Windows**:
93
+ ```bash
94
+ python
95
+ ```
96
+
97
+ - **macOS**:
98
+ ```bash
99
+ python3
100
+ ```
101
+
102
+ You should get a Python REPL (interactive shell).
103
+
104
+ ---
105
+
106
+ #### 2. Install Required Packages
107
+
108
+ Navigate to the project directory (where `main.py` and `requirements.txt` live):
109
+
110
+ - **Windows**:
111
+ ```bash
112
+ cd path\to\your\folder
113
+ dir # list files
114
+ ```
115
+
116
+ - **macOS/Linux**:
117
+ ```bash
118
+ cd /path/to/your/folder
119
+ ls # list files
120
+ ```
121
+
122
+ Then install dependencies:
123
+
124
+ ```bash
125
+ pip install -r requirements.txt
126
+ ```
127
+
128
+ ---
129
+
130
+ #### 3. Run the Script
131
+
132
+ ```bash
133
+ python main.py
134
+ # or
135
+ python3 main.py
136
+ ```
137
+
138
+ You should see:
139
+
140
+ ```
141
+ NHENTAI DOUJIN-TO-PDF MAKER
142
+ ```
143
+
144
+ ✅ You’re good to go!
145
+
146
+ ---
147
+
148
+ ## 🧙 How to Use
149
+
150
+ Type the code of the nhentai doujin you want, then let the magic happen. The PDF will be saved to your **Documents/nhpdf/** folder.
151
+
152
+ ---
153
+
154
+ > ⚠️ This script only works with [nhentai.net](https://nhentai.net)
155
+
156
+ ---
157
+
158
+ ## 🔗 Download
159
+
160
+ **GitHub Repo**: [NhentaiDoujinToPDFMaker](https://github.com/Aze543/NhentaiDoujinToPDFMaker)
161
+
162
+ You can download either version from the **[Releases](https://github.com/Aze543/NhentaiDoujinToPDFMaker/releases)** page.
163
+
164
+ ---
165
+
166
+ Enjoy responsibly 😅
@@ -0,0 +1,6 @@
1
+ nhpdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ nhpdf/nhpdf.py,sha256=H8fl4xUlBbO16MPuJVQ0WzYnHJSQvW7HItj5-AhjxoY,2873
3
+ nhpdf-1.0.dist-info/METADATA,sha256=p0xAaaQL0xmpRk3xwRbyOm8En2Ue83VslE3ZbDFiFoc,2877
4
+ nhpdf-1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ nhpdf-1.0.dist-info/entry_points.txt,sha256=Dn0ISURSvQrGZMCOxYEA5ocSWU5DUOiT50J7FHZk5Xs,50
6
+ nhpdf-1.0.dist-info/RECORD,,
@@ -1,16 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: nhpdf
3
- Version: 0.1.0
4
- Summary: Download NHentai doujins as PDF
5
- Project-URL: Homepage, https://github.com/Aze543/NhentaiDoujinToPDFMaker
6
- Project-URL: Issues, https://github.com/Aze543/NhentaiDoujinToPDFMaker/issues
7
- Author-email: Aze543 <eizen.9258437663@gmail.com>
8
- Maintainer-email: Aze543 <eizen.9258437663@gmail.com>
9
- License-Expression: MIT
10
- Keywords: goon,pdf,scraper
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Programming Language :: Python
13
- Requires-Python: >=3.8
14
- Requires-Dist: beautifulsoup4
15
- Requires-Dist: img2pdf
16
- Requires-Dist: requests
@@ -1,6 +0,0 @@
1
- nhpdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- nhpdf/nhpdf.py,sha256=H8fl4xUlBbO16MPuJVQ0WzYnHJSQvW7HItj5-AhjxoY,2873
3
- nhpdf-0.1.0.dist-info/METADATA,sha256=FlLiTlLeBquJnOKjDQlfww7T79RwmeYY1TJQ2WQS-1Y,582
4
- nhpdf-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- nhpdf-0.1.0.dist-info/entry_points.txt,sha256=Dn0ISURSvQrGZMCOxYEA5ocSWU5DUOiT50J7FHZk5Xs,50
6
- nhpdf-0.1.0.dist-info/RECORD,,
File without changes