sklip 0.1.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
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.
- sklip/__init__.py +2 -3
- sklip/core.py +10 -1
- {sklip-0.1.0.dist-info → sklip-0.3.0.dist-info}/METADATA +1 -1
- sklip-0.3.0.dist-info/RECORD +6 -0
- sklip-0.1.0.dist-info/RECORD +0 -6
- {sklip-0.1.0.dist-info → sklip-0.3.0.dist-info}/WHEEL +0 -0
- {sklip-0.1.0.dist-info → sklip-0.3.0.dist-info}/top_level.txt +0 -0
sklip/__init__.py
CHANGED
sklip/core.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pyperclip
|
|
2
2
|
|
|
3
3
|
SNIPPETS = {
|
|
4
|
-
1: "import numpy as np",
|
|
4
|
+
1: "import numpy as np \n import pandas as pd \n import folium \n import seaborn as sns \n import matplotlib.pyplot as plt",
|
|
5
5
|
2: "import pandas as pd",
|
|
6
6
|
3: "import matplotlib.pyplot as plt",
|
|
7
7
|
4: "from sklearn.cluster import KMeans",
|
|
@@ -29,5 +29,14 @@ def s(id: int = 1) -> bool:
|
|
|
29
29
|
pyperclip.copy(text)
|
|
30
30
|
def ClusterKMeans(id: int = 1) -> bool:
|
|
31
31
|
|
|
32
|
+
text = SNIPPETS.get(id, SNIPPETS[1])
|
|
33
|
+
pyperclip.copy(text)
|
|
34
|
+
|
|
35
|
+
def figsize(id: int = 1, id2: int = 1) -> bool:
|
|
36
|
+
text = SNIPPETS.get(id, SNIPPETS[1])
|
|
37
|
+
pyperclip.copy(text)
|
|
38
|
+
|
|
39
|
+
def x(id: int = 1) -> bool:
|
|
40
|
+
|
|
32
41
|
text = SNIPPETS.get(id, SNIPPETS[1])
|
|
33
42
|
pyperclip.copy(text)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
sklip/__init__.py,sha256=Pch4oEAteyPwiZclOYforWGJVHW91sUQX1KDv3roI7g,89
|
|
2
|
+
sklip/core.py,sha256=HclCld1pr5dSy33qS0dwdZqqrpZcpMtsmhv8PL1mM4s,1495
|
|
3
|
+
sklip-0.3.0.dist-info/METADATA,sha256=ImjQQwbxDiQD3-lD23iExT7DNk83eZ6eWT9Guml9w0c,404
|
|
4
|
+
sklip-0.3.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
5
|
+
sklip-0.3.0.dist-info/top_level.txt,sha256=V2T-257V83osKN3UDVUjuq-qK9nVZLF611GZPke9kiA,6
|
|
6
|
+
sklip-0.3.0.dist-info/RECORD,,
|
sklip-0.1.0.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
sklip/__init__.py,sha256=PIe8K2gXufvVlA7AeO-K0FwqEkFJVH9D9xDiqZWr9Eg,83
|
|
2
|
-
sklip/core.py,sha256=8Cuk4OMD1rBMld7hAFSJPm4cYUVtQOk1GQ-xCmchW2g,1175
|
|
3
|
-
sklip-0.1.0.dist-info/METADATA,sha256=AL6X95lJjzY1PS-cxprEYnc5zRkKVJN2q_eRRBumcAo,404
|
|
4
|
-
sklip-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
5
|
-
sklip-0.1.0.dist-info/top_level.txt,sha256=V2T-257V83osKN3UDVUjuq-qK9nVZLF611GZPke9kiA,6
|
|
6
|
-
sklip-0.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|