Classeviva.py 1.2.0a1.dev2__tar.gz → 1.2.2a0.dev1__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.
Files changed (20) hide show
  1. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/Classeviva.py.egg-info/PKG-INFO +42 -39
  2. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/LICENSE +21 -21
  3. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/PKG-INFO +42 -39
  4. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/README.md +14 -14
  5. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/pyproject.toml +3 -3
  6. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/setup.cfg +4 -4
  7. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/setup.py +47 -47
  8. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/__main__.py +10 -10
  9. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/collegamenti/collegamenti.py +32 -32
  10. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/eccezioni/eccezioni.py +103 -103
  11. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/main.py +767 -766
  12. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/variabili/variabili.py +41 -41
  13. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/Classeviva.py.egg-info/SOURCES.txt +0 -0
  14. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/Classeviva.py.egg-info/dependency_links.txt +0 -0
  15. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/Classeviva.py.egg-info/requires.txt +0 -0
  16. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/Classeviva.py.egg-info/top_level.txt +0 -0
  17. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/__init__.py +0 -0
  18. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/collegamenti/__init__.py +0 -0
  19. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/eccezioni/__init__.py +0 -0
  20. {Classeviva.py-1.2.0a1.dev2 → Classeviva.py-1.2.2a0.dev1}/src/classeviva/variabili/__init__.py +0 -0
@@ -1,39 +1,42 @@
1
- Metadata-Version: 2.1
2
- Name: Classeviva.py
3
- Version: 1.2.0a1.dev2
4
- Summary: Classeviva Python API wrapper
5
- Home-page: https://github.com/Lioydiano/Classeviva
6
- Download-URL: https://github.com/Lioydiano/Classeviva/archive/refs/tags/v1.2.0a1.dev2.tar.gz
7
- Author: FLAK-ZOSO
8
- Author-email: mattia.marchese.2006@gmail.com
9
- License: MIT
10
- Keywords: classeviva,api
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: Implementation :: CPython
14
- Classifier: Development Status :: 3 - Alpha
15
- Classifier: License :: OSI Approved :: MIT License
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Intended Audience :: Developers
18
- Classifier: Natural Language :: Italian
19
- Classifier: Natural Language :: English
20
- Classifier: Typing :: Typed
21
- Requires: requests
22
- Requires-Python: >=3.10
23
- Description-Content-Type: text/markdown
24
- License-File: LICENSE
25
-
26
- # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
27
- [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
28
-
29
- # Documentazione
30
- La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
31
-
32
- # Contributi
33
- Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
34
-
35
- # Pacchetto
36
- Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
37
-
38
- # API REST
39
- L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
1
+ Metadata-Version: 2.1
2
+ Name: Classeviva.py
3
+ Version: 1.2.2a0.dev1
4
+ Summary: Classeviva Python API wrapper
5
+ Home-page: https://github.com/Lioydiano/Classeviva
6
+ Author: FLAK-ZOSO
7
+ Author-email: mattia.marchese.2006@gmail.com
8
+ License: MIT
9
+ Download-URL: https://github.com/Lioydiano/Classeviva/archive/refs/tags/v1.2.2a.dev1.tar.gz
10
+ Keywords: classeviva,api
11
+ Platform: UNKNOWN
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: Implementation :: CPython
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Intended Audience :: Developers
19
+ Classifier: Natural Language :: Italian
20
+ Classifier: Natural Language :: English
21
+ Classifier: Typing :: Typed
22
+ Requires: requests
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+
27
+ # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
28
+ [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
29
+
30
+ # Documentazione
31
+ La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
32
+
33
+ # Contributi
34
+ Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
35
+
36
+ # Pacchetto
37
+ Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
38
+
39
+ # API REST
40
+ L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
41
+
42
+
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Lioydiano
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Lioydiano
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,39 +1,42 @@
1
- Metadata-Version: 2.1
2
- Name: Classeviva.py
3
- Version: 1.2.0a1.dev2
4
- Summary: Classeviva Python API wrapper
5
- Home-page: https://github.com/Lioydiano/Classeviva
6
- Download-URL: https://github.com/Lioydiano/Classeviva/archive/refs/tags/v1.2.0a1.dev2.tar.gz
7
- Author: FLAK-ZOSO
8
- Author-email: mattia.marchese.2006@gmail.com
9
- License: MIT
10
- Keywords: classeviva,api
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: Implementation :: CPython
14
- Classifier: Development Status :: 3 - Alpha
15
- Classifier: License :: OSI Approved :: MIT License
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Intended Audience :: Developers
18
- Classifier: Natural Language :: Italian
19
- Classifier: Natural Language :: English
20
- Classifier: Typing :: Typed
21
- Requires: requests
22
- Requires-Python: >=3.10
23
- Description-Content-Type: text/markdown
24
- License-File: LICENSE
25
-
26
- # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
27
- [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
28
-
29
- # Documentazione
30
- La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
31
-
32
- # Contributi
33
- Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
34
-
35
- # Pacchetto
36
- Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
37
-
38
- # API REST
39
- L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
1
+ Metadata-Version: 2.1
2
+ Name: Classeviva.py
3
+ Version: 1.2.2a0.dev1
4
+ Summary: Classeviva Python API wrapper
5
+ Home-page: https://github.com/Lioydiano/Classeviva
6
+ Author: FLAK-ZOSO
7
+ Author-email: mattia.marchese.2006@gmail.com
8
+ License: MIT
9
+ Download-URL: https://github.com/Lioydiano/Classeviva/archive/refs/tags/v1.2.2a.dev1.tar.gz
10
+ Keywords: classeviva,api
11
+ Platform: UNKNOWN
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: Implementation :: CPython
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Intended Audience :: Developers
19
+ Classifier: Natural Language :: Italian
20
+ Classifier: Natural Language :: English
21
+ Classifier: Typing :: Typed
22
+ Requires: requests
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+
27
+ # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
28
+ [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
29
+
30
+ # Documentazione
31
+ La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
32
+
33
+ # Contributi
34
+ Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
35
+
36
+ # Pacchetto
37
+ Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
38
+
39
+ # API REST
40
+ L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
41
+
42
+
@@ -1,14 +1,14 @@
1
- # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
2
- [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
3
-
4
- # Documentazione
5
- La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
6
-
7
- # Contributi
8
- Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
9
-
10
- # Pacchetto
11
- Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
12
-
13
- # API REST
14
- L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
1
+ # Classeviva.py [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Lioydiano/Classeviva.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Lioydiano/Classeviva/context:python)
2
+ [`Python`](https://python.org) [`API wrapper`](https://rapidapi.com/blog/api-glossary/api-wrapper/) per [`Classeviva`](https://web.spaggiari.eu/) (registro elettronico di [`GruppoSpaggiariParma`](https://web.spaggiari.eu/www/app/default/index.php))
3
+
4
+ # Documentazione
5
+ La [`documentazione italiana`](https://readthedocs.org/projects/classeviva/) si trova su [`ReadTheDocs.io`](https://readthedocs.org)
6
+
7
+ # Contributi
8
+ Il codice sorgente può essere modificato su [`GitHub Dev`](https://github.dev) con l'[`editor della repository`](https://github.dev/Lioydiano/Classeviva)
9
+
10
+ # Pacchetto
11
+ Il pacchetto può essere scaricato da [`PyPI`](https://pypi.org) tramite `pip`, il progetto si trova [`qui`](https://pypi.org/project/Classeviva.py/)
12
+
13
+ # API REST
14
+ L'`API REST` si trova a [`web.spaggiari.eu/rest`](https://web.spaggiari.eu/rest/), la documentazione si trova [su `GitHub`](https://github.com/Lioydiano/Classeviva-Official-Endpoints)
@@ -1,4 +1,4 @@
1
- [build-system]
2
- license = "MIT"
3
- requires = ["setuptools>=42", "requests>=2.27.1"]
1
+ [build-system]
2
+ license = "MIT"
3
+ requires = ["setuptools>=42", "requests>=2.27.1"]
4
4
  build-backend = "setuptools.build_meta"
@@ -1,4 +1,4 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -1,48 +1,48 @@
1
- #!\usr\bin\env python3
2
-
3
-
4
- import setuptools
5
- VERSION = "1.2.0a1.dev2"
6
- setuptools.setup(
7
- name='Classeviva.py',
8
- packages=[
9
- 'classeviva',
10
- 'classeviva.eccezioni',
11
- 'classeviva.collegamenti',
12
- 'classeviva.variabili'
13
- ],
14
- package_dir={
15
- 'classeviva': 'src/classeviva',
16
- 'classeviva.eccezioni': 'src/classeviva/eccezioni',
17
- 'classeviva.collegamenti': 'src/classeviva/collegamenti',
18
- 'classeviva.variabili': 'src/classeviva/variabili',
19
- },
20
- version=VERSION,
21
- license='MIT',
22
- requires=["requests"],
23
- install_requires='requests>=2.27',
24
- description='Classeviva Python API wrapper',
25
- long_description=open('README.md').read(),
26
- long_description_content_type='text/markdown',
27
- author='FLAK-ZOSO',
28
- author_email='mattia.marchese.2006@gmail.com',
29
- url='https://github.com/Lioydiano/Classeviva',
30
- download_url=f'https://github.com/Lioydiano/Classeviva/archive/refs/tags/v{VERSION}.tar.gz',
31
- keywords=[
32
- 'classeviva',
33
- 'api'
34
- ],
35
- classifiers=[
36
- "Programming Language :: Python :: 3",
37
- "Programming Language :: Python :: 3.10",
38
- "Programming Language :: Python :: Implementation :: CPython",
39
- "Development Status :: 3 - Alpha",
40
- "License :: OSI Approved :: MIT License",
41
- "Operating System :: OS Independent",
42
- "Intended Audience :: Developers",
43
- "Natural Language :: Italian",
44
- "Natural Language :: English",
45
- "Typing :: Typed"
46
- ],
47
- python_requires=">=3.10"
1
+ #!\usr\bin\env python3
2
+
3
+
4
+ import setuptools
5
+ VERSION = "1.2.2a.dev1"
6
+ setuptools.setup(
7
+ name='Classeviva.py',
8
+ packages=[
9
+ 'classeviva',
10
+ 'classeviva.eccezioni',
11
+ 'classeviva.collegamenti',
12
+ 'classeviva.variabili'
13
+ ],
14
+ package_dir={
15
+ 'classeviva': 'src/classeviva',
16
+ 'classeviva.eccezioni': 'src/classeviva/eccezioni',
17
+ 'classeviva.collegamenti': 'src/classeviva/collegamenti',
18
+ 'classeviva.variabili': 'src/classeviva/variabili',
19
+ },
20
+ version=VERSION,
21
+ license='MIT',
22
+ requires=["requests"],
23
+ install_requires='requests>=2.27',
24
+ description='Classeviva Python API wrapper',
25
+ long_description=open('README.md').read(),
26
+ long_description_content_type='text/markdown',
27
+ author='FLAK-ZOSO',
28
+ author_email='mattia.marchese.2006@gmail.com',
29
+ url='https://github.com/Lioydiano/Classeviva',
30
+ download_url=f'https://github.com/Lioydiano/Classeviva/archive/refs/tags/v{VERSION}.tar.gz',
31
+ keywords=[
32
+ 'classeviva',
33
+ 'api'
34
+ ],
35
+ classifiers=[
36
+ "Programming Language :: Python :: 3",
37
+ "Programming Language :: Python :: 3.10",
38
+ "Programming Language :: Python :: Implementation :: CPython",
39
+ "Development Status :: 3 - Alpha",
40
+ "License :: OSI Approved :: MIT License",
41
+ "Operating System :: OS Independent",
42
+ "Intended Audience :: Developers",
43
+ "Natural Language :: Italian",
44
+ "Natural Language :: English",
45
+ "Typing :: Typed"
46
+ ],
47
+ python_requires=">=3.10"
48
48
  )
@@ -1,11 +1,11 @@
1
- import os
2
- import sys
3
- import webbrowser
4
-
5
-
6
- if __name__ == "__main__":
7
- if (len(sys.argv) > 1):
8
- if (sys.argv[1] in {"--help", "--version"}):
9
- os.system("python -m pip show classeviva.py")
10
- else:
1
+ import os
2
+ import sys
3
+ import webbrowser
4
+
5
+
6
+ if __name__ == "__main__":
7
+ if (len(sys.argv) > 1):
8
+ if (sys.argv[1] in {"--help", "--version"}):
9
+ os.system("python -m pip show classeviva.py")
10
+ else:
11
11
  webbrowser.open("https://pypi.org/project/classeviva.py/")
@@ -1,33 +1,33 @@
1
- class Collegamenti:
2
- base: str = "https://web.spaggiari.eu/rest"
3
- accesso: str = f"{base}/v1/auth/login"
4
- stato: str = f"{base}/v1/auth/status"
5
- biglietto: str = f"{base}/v1/auth/ticket"
6
- documenti: str = f"{base}/v1/students/{{}}/documents"
7
- controllo_documento: str = f"{base}/v1/students/{{}}/documents/check/{{}}"
8
- leggi_documento: str = f"{base}/v1/students/{{}}/documents/read/{{}}"
9
- assenze: str = f"{base}/v1/students/{{}}/absences/details"
10
- assenze_da: str = f"{base}/v1/students/{{}}/absences/details/{{}}"
11
- assenze_da_a: str = f"{base}/v1/students/{{}}/absences/details/{{}}/{{}}"
12
- agenda_da_a: str = f"{base}/v1/students/{{}}/agenda/all/{{}}/{{}}"
13
- agenda_codice_da_a: str = f"{base}/v1/students/{{}}/agenda/{{}}/{{}}/{{}}"
14
- didattica: str = f"{base}/v1/students/{{}}/didactics"
15
- didattica_elemento: str = f"{base}/v1/students/{{}}/didactics/item/{{}}"
16
- bacheca: str = f"{base}/v1/students/{{}}/noticeboard"
17
- bacheca_leggi: str = f"{base}/v1/students/{{}}/noticeboard/read/{{}}/{{}}/101"
18
- bacheca_allega: str = f"{base}/v1/students/{{}}/noticeboard/attach/{{}}/{{}}/101"
19
- lezioni: str = f"{base}/v1/students/{{}}/lessons/today"
20
- lezioni_giorno: str = f"{base}/v1/students/{{}}/lessons/{{}}"
21
- lezioni_da_a: str = f"{base}/v1/students/{{}}/lessons/{{}}/{{}}"
22
- lezioni_da_a_materia: str = f"{base}/v1/students/{{}}/lessons/{{}}/{{}}/{{}}"
23
- calendario: str = f"{base}/v1/students/{{}}/calendar/all"
24
- calendario_da_a: str = f"{base}/v1/students/{{}}/calendar/{{}}/{{}}"
25
- libri: str = f"{base}/v1/students/{{}}/schoolbooks"
26
- carta: str = f"{base}/v1/students/{{}}/card"
27
- voti: str = f"{base}/v1/students/{{}}/grades"
28
- periodi: str = f"{base}/v1/students/{{}}/periods"
29
- materie: str = f"{base}/v1/students/{{}}/subjects"
30
- note: str = f"{base}/v1/students/{{}}/notes/all"
31
- leggi_nota: str = f"{base}/v1/students/{{}}/notes/{{}}/read/{{}}"
32
- panoramica_da_a: str = f"{base}/v1/students/{{}}/overview/all/{{}}/{{}}"
1
+ class Collegamenti:
2
+ base: str = "https://web.spaggiari.eu/rest"
3
+ accesso: str = f"{base}/v1/auth/login"
4
+ stato: str = f"{base}/v1/auth/status"
5
+ biglietto: str = f"{base}/v1/auth/ticket"
6
+ documenti: str = f"{base}/v1/students/{{}}/documents"
7
+ controllo_documento: str = f"{base}/v1/students/{{}}/documents/check/{{}}"
8
+ leggi_documento: str = f"{base}/v1/students/{{}}/documents/read/{{}}"
9
+ assenze: str = f"{base}/v1/students/{{}}/absences/details"
10
+ assenze_da: str = f"{base}/v1/students/{{}}/absences/details/{{}}"
11
+ assenze_da_a: str = f"{base}/v1/students/{{}}/absences/details/{{}}/{{}}"
12
+ agenda_da_a: str = f"{base}/v1/students/{{}}/agenda/all/{{}}/{{}}"
13
+ agenda_codice_da_a: str = f"{base}/v1/students/{{}}/agenda/{{}}/{{}}/{{}}"
14
+ didattica: str = f"{base}/v1/students/{{}}/didactics"
15
+ didattica_elemento: str = f"{base}/v1/students/{{}}/didactics/item/{{}}"
16
+ bacheca: str = f"{base}/v1/students/{{}}/noticeboard"
17
+ bacheca_leggi: str = f"{base}/v1/students/{{}}/noticeboard/read/{{}}/{{}}/101"
18
+ bacheca_allega: str = f"{base}/v1/students/{{}}/noticeboard/attach/{{}}/{{}}/101"
19
+ lezioni: str = f"{base}/v1/students/{{}}/lessons/today"
20
+ lezioni_giorno: str = f"{base}/v1/students/{{}}/lessons/{{}}"
21
+ lezioni_da_a: str = f"{base}/v1/students/{{}}/lessons/{{}}/{{}}"
22
+ lezioni_da_a_materia: str = f"{base}/v1/students/{{}}/lessons/{{}}/{{}}/{{}}"
23
+ calendario: str = f"{base}/v1/students/{{}}/calendar/all"
24
+ calendario_da_a: str = f"{base}/v1/students/{{}}/calendar/{{}}/{{}}"
25
+ libri: str = f"{base}/v1/students/{{}}/schoolbooks"
26
+ carta: str = f"{base}/v1/students/{{}}/card"
27
+ voti: str = f"{base}/v1/students/{{}}/grades"
28
+ periodi: str = f"{base}/v1/students/{{}}/periods"
29
+ materie: str = f"{base}/v1/students/{{}}/subjects"
30
+ note: str = f"{base}/v1/students/{{}}/notes/all"
31
+ leggi_nota: str = f"{base}/v1/students/{{}}/notes/{{}}/read/{{}}"
32
+ panoramica_da_a: str = f"{base}/v1/students/{{}}/overview/all/{{}}/{{}}"
33
33
  avatar: str = f"{base}/v1/users/{{}}/avatar"