pysparke 0.1.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.
- pysparke-0.1.0/LICENSE +21 -0
- pysparke-0.1.0/PKG-INFO +71 -0
- pysparke-0.1.0/README.md +56 -0
- pysparke-0.1.0/pyproject.toml +29 -0
- pysparke-0.1.0/pysparke/__init__.py +3 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/DSTL/Practical 7.pdf +0 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/DSTL/Practical_2.pdf +0 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/DSTL/Practical_3 (1).ipynb +1 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/DSTL/practical2.txt +377 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/DSTL/practical7.txt +330 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/PL/PROBLEM STATEMENT.pdf +0 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/PL/Programming Lab Practice Programs.pdf +0 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/PL/problem_statements.txt +33 -0
- pysparke-0.1.0/pysparke/data/TY_Codes/PL/programs.txt +1586 -0
- pysparke-0.1.0/pysparke/library.py +536 -0
- pysparke-0.1.0/pysparke.egg-info/PKG-INFO +71 -0
- pysparke-0.1.0/pysparke.egg-info/SOURCES.txt +18 -0
- pysparke-0.1.0/pysparke.egg-info/dependency_links.txt +1 -0
- pysparke-0.1.0/pysparke.egg-info/top_level.txt +1 -0
- pysparke-0.1.0/setup.cfg +4 -0
pysparke-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
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.
|
pysparke-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pysparke
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Topic-wise practical code printer for PySpark, time series, MongoDB, PL, CloudSim, and more.
|
|
5
|
+
Author: admin
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: education,practicals,pyspark,cloudsim,time-series
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# pysparke
|
|
17
|
+
|
|
18
|
+
This library exposes two main classes:
|
|
19
|
+
|
|
20
|
+
- `DSTL`
|
|
21
|
+
- `PL`
|
|
22
|
+
|
|
23
|
+
Example:
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from pysparke import DSTL, PL
|
|
27
|
+
|
|
28
|
+
dstl = DSTL()
|
|
29
|
+
pl = PL()
|
|
30
|
+
|
|
31
|
+
dstl.listing()
|
|
32
|
+
dstl.time_series.show()
|
|
33
|
+
dstl.mongodb.instructions()
|
|
34
|
+
|
|
35
|
+
pl.listing()
|
|
36
|
+
pl.activation_functions.top()
|
|
37
|
+
pl.activation_functions.basic_activation_function_visualizer()
|
|
38
|
+
pl.cloudsim.instructions()
|
|
39
|
+
pl.cloudsim.priority_based_cloudlet_scheduling()
|
|
40
|
+
pl.cloud_apps.employee_record_management_system()
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Structure
|
|
44
|
+
|
|
45
|
+
- `DSTL`
|
|
46
|
+
- `pyspark`
|
|
47
|
+
- `time_series`
|
|
48
|
+
- `mongodb`
|
|
49
|
+
- `PL`
|
|
50
|
+
- `activation_functions`
|
|
51
|
+
- `neural_networks`
|
|
52
|
+
- `fuzzy_logic`
|
|
53
|
+
- `cloud_computing`
|
|
54
|
+
- `cloud_apps`
|
|
55
|
+
- `cloudsim`
|
|
56
|
+
- `apex`
|
|
57
|
+
|
|
58
|
+
Each PL topic has:
|
|
59
|
+
|
|
60
|
+
- `top()` to print the related problem statements from `PROBLEM STATEMENT.pdf`
|
|
61
|
+
- topic-specific methods to print the matching code/content from `Programming Lab Practice Programs.pdf`
|
|
62
|
+
|
|
63
|
+
Extra helpers:
|
|
64
|
+
|
|
65
|
+
- `listing()` prints available groups or methods
|
|
66
|
+
- `instructions()` prints setup or run instructions where available
|
|
67
|
+
|
|
68
|
+
Notes:
|
|
69
|
+
|
|
70
|
+
- The library prints the extracted text as stored in the repo.
|
|
71
|
+
- Some PL content comes from OCR text extracted from PDF, so spacing/formatting may look imperfect.
|
pysparke-0.1.0/README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# pysparke
|
|
2
|
+
|
|
3
|
+
This library exposes two main classes:
|
|
4
|
+
|
|
5
|
+
- `DSTL`
|
|
6
|
+
- `PL`
|
|
7
|
+
|
|
8
|
+
Example:
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from pysparke import DSTL, PL
|
|
12
|
+
|
|
13
|
+
dstl = DSTL()
|
|
14
|
+
pl = PL()
|
|
15
|
+
|
|
16
|
+
dstl.listing()
|
|
17
|
+
dstl.time_series.show()
|
|
18
|
+
dstl.mongodb.instructions()
|
|
19
|
+
|
|
20
|
+
pl.listing()
|
|
21
|
+
pl.activation_functions.top()
|
|
22
|
+
pl.activation_functions.basic_activation_function_visualizer()
|
|
23
|
+
pl.cloudsim.instructions()
|
|
24
|
+
pl.cloudsim.priority_based_cloudlet_scheduling()
|
|
25
|
+
pl.cloud_apps.employee_record_management_system()
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Structure
|
|
29
|
+
|
|
30
|
+
- `DSTL`
|
|
31
|
+
- `pyspark`
|
|
32
|
+
- `time_series`
|
|
33
|
+
- `mongodb`
|
|
34
|
+
- `PL`
|
|
35
|
+
- `activation_functions`
|
|
36
|
+
- `neural_networks`
|
|
37
|
+
- `fuzzy_logic`
|
|
38
|
+
- `cloud_computing`
|
|
39
|
+
- `cloud_apps`
|
|
40
|
+
- `cloudsim`
|
|
41
|
+
- `apex`
|
|
42
|
+
|
|
43
|
+
Each PL topic has:
|
|
44
|
+
|
|
45
|
+
- `top()` to print the related problem statements from `PROBLEM STATEMENT.pdf`
|
|
46
|
+
- topic-specific methods to print the matching code/content from `Programming Lab Practice Programs.pdf`
|
|
47
|
+
|
|
48
|
+
Extra helpers:
|
|
49
|
+
|
|
50
|
+
- `listing()` prints available groups or methods
|
|
51
|
+
- `instructions()` prints setup or run instructions where available
|
|
52
|
+
|
|
53
|
+
Notes:
|
|
54
|
+
|
|
55
|
+
- The library prints the extracted text as stored in the repo.
|
|
56
|
+
- Some PL content comes from OCR text extracted from PDF, so spacing/formatting may look imperfect.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=69", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pysparke"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Topic-wise practical code printer for PySpark, time series, MongoDB, PL, CloudSim, and more."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
authors = [
|
|
12
|
+
{ name = "admin" }
|
|
13
|
+
]
|
|
14
|
+
license = { text = "MIT" }
|
|
15
|
+
keywords = ["education", "practicals", "pyspark", "cloudsim", "time-series"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[tool.setuptools]
|
|
23
|
+
include-package-data = true
|
|
24
|
+
|
|
25
|
+
[tool.setuptools.packages.find]
|
|
26
|
+
include = ["pysparke*"]
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.package-data]
|
|
29
|
+
pysparke = ["data/TY_Codes/**/*"]
|
|
Binary file
|
|
Binary file
|