lab10lol 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,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: lab10lol
3
+ Version: 1.0.0
4
+ Summary: A simple package to export my university lab code to a file.
5
+ Author-email: silverarrow17 <tptpt69420@gmail.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: pandas
12
+ Requires-Dist: nltk
13
+ Requires-Dist: matplotlib
14
+ Requires-Dist: scikit-learn
15
+ Requires-Dist: seaborn
16
+ Requires-Dist: numpy
17
+ Requires-Dist: tensorflow
18
+ Requires-Dist: torch
19
+ Requires-Dist: xgboost
20
+ Requires-Dist: librosa
21
+ Requires-Dist: soundfile
22
+ Requires-Dist: datasets
23
+ Requires-Dist: transformers
24
+ Requires-Dist: evaluate
25
+ Requires-Dist: gammatone
26
+
27
+ # My Lab Code Exporter
28
+
29
+ This package contains all of my university lab code. Its primary function is to export all the code into a single Python file for easy access.
30
+
31
+ ## Installation
32
+
33
+ ```bash
34
+ pip install lab-code-exporter-your-unique-name
@@ -0,0 +1,8 @@
1
+ # My Lab Code Exporter
2
+
3
+ This package contains all of my university lab code. Its primary function is to export all the code into a single Python file for easy access.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install lab-code-exporter-your-unique-name
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: lab10lol
3
+ Version: 1.0.0
4
+ Summary: A simple package to export my university lab code to a file.
5
+ Author-email: silverarrow17 <tptpt69420@gmail.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: pandas
12
+ Requires-Dist: nltk
13
+ Requires-Dist: matplotlib
14
+ Requires-Dist: scikit-learn
15
+ Requires-Dist: seaborn
16
+ Requires-Dist: numpy
17
+ Requires-Dist: tensorflow
18
+ Requires-Dist: torch
19
+ Requires-Dist: xgboost
20
+ Requires-Dist: librosa
21
+ Requires-Dist: soundfile
22
+ Requires-Dist: datasets
23
+ Requires-Dist: transformers
24
+ Requires-Dist: evaluate
25
+ Requires-Dist: gammatone
26
+
27
+ # My Lab Code Exporter
28
+
29
+ This package contains all of my university lab code. Its primary function is to export all the code into a single Python file for easy access.
30
+
31
+ ## Installation
32
+
33
+ ```bash
34
+ pip install lab-code-exporter-your-unique-name
@@ -0,0 +1,9 @@
1
+ README.md
2
+ pyproject.toml
3
+ lab10lol.egg-info/PKG-INFO
4
+ lab10lol.egg-info/SOURCES.txt
5
+ lab10lol.egg-info/dependency_links.txt
6
+ lab10lol.egg-info/requires.txt
7
+ lab10lol.egg-info/top_level.txt
8
+ mylabcopier/__init__.py
9
+ mylabcopier/labs.py
@@ -0,0 +1,15 @@
1
+ pandas
2
+ nltk
3
+ matplotlib
4
+ scikit-learn
5
+ seaborn
6
+ numpy
7
+ tensorflow
8
+ torch
9
+ xgboost
10
+ librosa
11
+ soundfile
12
+ datasets
13
+ transformers
14
+ evaluate
15
+ gammatone
@@ -0,0 +1 @@
1
+ mylabcopier
@@ -0,0 +1,22 @@
1
+ import importlib.resources
2
+
3
+ def export_labs(output_filename="my_all_labs.py"):
4
+ """
5
+ Exports the entire content of the bundled labs.py file.
6
+
7
+ Args:
8
+ output_filename (str): The name of the file to save the lab code to.
9
+ Defaults to "my_all_labs.py".
10
+ """
11
+ print(f"Exporting lab code to '{output_filename}'...")
12
+
13
+ try:
14
+ # This safely finds and reads the labs.py file from within the installed package
15
+ source_code = importlib.resources.read_text(__package__, "labs.py")
16
+
17
+ with open(output_filename, "w", encoding="utf-8") as f:
18
+ f.write(source_code)
19
+
20
+ print(f"Successfully exported all lab code to '{output_filename}'.")
21
+ except Exception as e:
22
+ print(f"An error occurred during export: {e}")