DeWeb 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.
@@ -0,0 +1 @@
1
+ from .browser import DeWebParser
@@ -0,0 +1,30 @@
1
+ from PySide6.QtWidgets import QApplication
2
+ from PySide6.QtWebEngineWidgets import QWebEngineView
3
+ from PySide6.QtCore import QUrl
4
+ import sys
5
+
6
+ class DeWebParser:
7
+
8
+ @staticmethod
9
+ def prepare_load():
10
+ charged = False
11
+
12
+ print("===============================")
13
+ print(" DeWeb Parser ")
14
+ print("===============================")
15
+ print("Questo file usa DeWeb, grazie per il supporto!")
16
+ print("DeWeb sta caricando l'interfaccia... attendi")
17
+
18
+ charged = True
19
+
20
+ if charged:
21
+ print("Caricato con successo!")
22
+
23
+ @staticmethod
24
+ def load(url="https://www.google.com", pagetitle="DeWeb"):
25
+ app = QApplication(sys.argv)
26
+ view = QWebEngineView()
27
+ view.load(QUrl(url))
28
+ view.setWindowTitle(pagetitle if pagetitle else url)
29
+ view.show()
30
+ sys.exit(app.exec())
@@ -0,0 +1,5 @@
1
+ from DeWeb.browser import DeWebParser
2
+
3
+ browser = DeWebParser(title="Pakrea - eswaiiOS")
4
+ browser.load_url("https://demenigeco.github.io/functions/pk")
5
+ browser.start()
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.4
2
+ Name: DeWeb
3
+ Version: 1.0.0
4
+ Summary: Un piccolo parser per creare finestre con pagine web in Python
5
+ Author: DomeniGeco
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/DeMENIGECO/DeWeb
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: PySide6>=6.0.0
12
+ Dynamic: license-file
13
+
14
+ # DeWeb
15
+ Un piccolo parser per creare finestre con pagine web usando Python.
16
+
17
+ ---
18
+
19
+ # Esempi
20
+
21
+ ## Una pagina con Google
22
+
23
+ Possiamo aprire una pagina con _www.google.com_ così:
24
+
25
+ ```python
26
+ from DeWeb.browser import DeWebParser
27
+
28
+ DeWebParser.prepare_load()
29
+ DeWebParser.load("https://www.google.com", "Google")
30
+ ```
31
+ Così verrà caricata la pagina di Google in una finestra separata.
32
+
33
+ ## Una pagina GitHub Pages
34
+
35
+ Ecco come aprire una pagina su GitHub Pages:
36
+
37
+ ```python
38
+ from DeWeb.browser import DeWebParser
39
+
40
+ DeWebParser.prepare_load()
41
+ DeWebParser.load("https://demenigeco.github.io/functions/pk", "Esempio")
42
+ ```
43
+
44
+ --
45
+
46
+ # Licenza
47
+ Licenza **Apache 2.0**
48
+
49
+ --
50
+
51
+ # Altre librerie
52
+
53
+ Dai un’occhiata anche al mio pacchetto [utiilityes](https://pypi.org/project/utiilityes)
54
+
55
+ # Tabbella versioni
56
+
57
+ | Versione | Stato | Note |
58
+ | -------- | ----- | ---- |
59
+ | 1.0.0 | Nuova | - |
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ DeWeb/__init__.py
5
+ DeWeb/browser.py
6
+ DeWeb/test.py
7
+ DeWeb.egg-info/PKG-INFO
8
+ DeWeb.egg-info/SOURCES.txt
9
+ DeWeb.egg-info/dependency_links.txt
10
+ DeWeb.egg-info/requires.txt
11
+ DeWeb.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ PySide6>=6.0.0
@@ -0,0 +1 @@
1
+ DeWeb
deweb-1.0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMINI E CONDIZIONI PER L'USO, LA RIPRODUZIONE E LA DISTRIBUZIONE
6
+
7
+ 1. Definizioni.
8
+ "Licenziante" indica la persona o entità che concede la licenza.
9
+ "Licenziatario" indica chi riceve i diritti sotto questa licenza.
10
+
11
+ 2. Concessione di Licenza.
12
+ Salvo quanto diversamente previsto da questa licenza, è concessa una licenza gratuita, non esclusiva, mondiale, esente da royalties, per usare, copiare, modificare, fondere, pubblicare, distribuire, concedere in sublicenza e/o vendere copie del Software.
13
+
14
+ 3. Restrizioni.
15
+ Non puoi rimuovere o alterare gli avvisi di copyright o di licenza.
16
+
17
+ 4. Disclaimer.
18
+ IL SOFTWARE VIENE FORNITO "COSÌ COM'È", SENZA GARANZIE DI ALCUN TIPO.
19
+
20
+ 5. Altri termini.
21
+ Consulta il testo completo della licenza su http://www.apache.org/licenses/LICENSE-2.0
deweb-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.4
2
+ Name: DeWeb
3
+ Version: 1.0.0
4
+ Summary: Un piccolo parser per creare finestre con pagine web in Python
5
+ Author: DomeniGeco
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/DeMENIGECO/DeWeb
8
+ Requires-Python: >=3.10
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: PySide6>=6.0.0
12
+ Dynamic: license-file
13
+
14
+ # DeWeb
15
+ Un piccolo parser per creare finestre con pagine web usando Python.
16
+
17
+ ---
18
+
19
+ # Esempi
20
+
21
+ ## Una pagina con Google
22
+
23
+ Possiamo aprire una pagina con _www.google.com_ così:
24
+
25
+ ```python
26
+ from DeWeb.browser import DeWebParser
27
+
28
+ DeWebParser.prepare_load()
29
+ DeWebParser.load("https://www.google.com", "Google")
30
+ ```
31
+ Così verrà caricata la pagina di Google in una finestra separata.
32
+
33
+ ## Una pagina GitHub Pages
34
+
35
+ Ecco come aprire una pagina su GitHub Pages:
36
+
37
+ ```python
38
+ from DeWeb.browser import DeWebParser
39
+
40
+ DeWebParser.prepare_load()
41
+ DeWebParser.load("https://demenigeco.github.io/functions/pk", "Esempio")
42
+ ```
43
+
44
+ --
45
+
46
+ # Licenza
47
+ Licenza **Apache 2.0**
48
+
49
+ --
50
+
51
+ # Altre librerie
52
+
53
+ Dai un’occhiata anche al mio pacchetto [utiilityes](https://pypi.org/project/utiilityes)
54
+
55
+ # Tabbella versioni
56
+
57
+ | Versione | Stato | Note |
58
+ | -------- | ----- | ---- |
59
+ | 1.0.0 | Nuova | - |
deweb-1.0.0/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # DeWeb
2
+ Un piccolo parser per creare finestre con pagine web usando Python.
3
+
4
+ ---
5
+
6
+ # Esempi
7
+
8
+ ## Una pagina con Google
9
+
10
+ Possiamo aprire una pagina con _www.google.com_ così:
11
+
12
+ ```python
13
+ from DeWeb.browser import DeWebParser
14
+
15
+ DeWebParser.prepare_load()
16
+ DeWebParser.load("https://www.google.com", "Google")
17
+ ```
18
+ Così verrà caricata la pagina di Google in una finestra separata.
19
+
20
+ ## Una pagina GitHub Pages
21
+
22
+ Ecco come aprire una pagina su GitHub Pages:
23
+
24
+ ```python
25
+ from DeWeb.browser import DeWebParser
26
+
27
+ DeWebParser.prepare_load()
28
+ DeWebParser.load("https://demenigeco.github.io/functions/pk", "Esempio")
29
+ ```
30
+
31
+ --
32
+
33
+ # Licenza
34
+ Licenza **Apache 2.0**
35
+
36
+ --
37
+
38
+ # Altre librerie
39
+
40
+ Dai un’occhiata anche al mio pacchetto [utiilityes](https://pypi.org/project/utiilityes)
41
+
42
+ # Tabbella versioni
43
+
44
+ | Versione | Stato | Note |
45
+ | -------- | ----- | ---- |
46
+ | 1.0.0 | Nuova | - |
@@ -0,0 +1,20 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "DeWeb"
7
+ version = "1.0.0"
8
+ description = "Un piccolo parser per creare finestre con pagine web in Python"
9
+ readme = "README.md"
10
+ license = { text = "Apache-2.0" }
11
+ authors = [
12
+ { name = "DomeniGeco" }
13
+ ]
14
+ requires-python = ">=3.10"
15
+ dependencies = [
16
+ "PySide6 >=6.0.0"
17
+ ]
18
+
19
+ [project.urls]
20
+ Homepage = "https://github.com/DeMENIGECO/DeWeb"
deweb-1.0.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+