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.
- lab10lol-1.0.0/PKG-INFO +34 -0
- lab10lol-1.0.0/README.md +8 -0
- lab10lol-1.0.0/lab10lol.egg-info/PKG-INFO +34 -0
- lab10lol-1.0.0/lab10lol.egg-info/SOURCES.txt +9 -0
- lab10lol-1.0.0/lab10lol.egg-info/dependency_links.txt +1 -0
- lab10lol-1.0.0/lab10lol.egg-info/requires.txt +15 -0
- lab10lol-1.0.0/lab10lol.egg-info/top_level.txt +1 -0
- lab10lol-1.0.0/mylabcopier/__init__.py +22 -0
- lab10lol-1.0.0/mylabcopier/labs.py +1683 -0
- lab10lol-1.0.0/pyproject.toml +40 -0
- lab10lol-1.0.0/setup.cfg +4 -0
lab10lol-1.0.0/PKG-INFO
ADDED
|
@@ -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
|
lab10lol-1.0.0/README.md
ADDED
|
@@ -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 @@
|
|
|
1
|
+
|
|
@@ -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}")
|