streamlit-toggle-diy 1.1.3__tar.gz → 1.1.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. {streamlit_toggle_diy-1.1.3/streamlit_toggle_diy.egg-info → streamlit_toggle_diy-1.1.4}/PKG-INFO +4 -8
  2. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/README.md +3 -7
  3. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/setup.py +1 -1
  4. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4/streamlit_toggle_diy.egg-info}/PKG-INFO +4 -8
  5. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/LICENSE +0 -0
  6. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/MANIFEST.in +0 -0
  7. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/setup.cfg +0 -0
  8. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/__init__.py +0 -0
  9. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/asset-manifest.json +0 -0
  10. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/bootstrap.min.css +0 -0
  11. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/index.html +0 -0
  12. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/precache-manifest.b7df6085566f07f8f27b94ee8ed2d302.js +0 -0
  13. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/service-worker.js +0 -0
  14. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js +0 -0
  15. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js.LICENSE.txt +0 -0
  16. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/2.9720bf9e.chunk.js.map +0 -0
  17. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/main.9f3c3eed.chunk.js +0 -0
  18. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/main.9f3c3eed.chunk.js.map +0 -0
  19. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/runtime-main.cc20bba3.js +0 -0
  20. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/build/static/js/runtime-main.cc20bba3.js.map +0 -0
  21. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/public/bootstrap.min.css +0 -0
  22. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/public/index.html +0 -0
  23. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/src/index.tsx +0 -0
  24. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/src/react-app-env.d.ts +0 -0
  25. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/src/streamlit_toggle.tsx +0 -0
  26. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy/frontend/src/style.css +0 -0
  27. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy.egg-info/SOURCES.txt +0 -0
  28. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy.egg-info/dependency_links.txt +0 -0
  29. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy.egg-info/requires.txt +0 -0
  30. {streamlit_toggle_diy-1.1.3 → streamlit_toggle_diy-1.1.4}/streamlit_toggle_diy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamlit_toggle_diy
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: A customized Streamlit toggle switch component with customizable labels, colors, and border radius
5
5
  Home-page: https://github.com/flowing-water1/streamlit-toggle-switch-diy
6
6
  Author: Flow Water
@@ -10,12 +10,10 @@ Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
11
  Requires-Dist: streamlit>=0.63
12
12
 
13
- # streamlit_toggle_switch_diy
13
+ # streamlit-toggle-diy
14
14
 
15
15
  Creates a toggle switch with color and placement customizations, and you can change the label's color, radius, font size, and more.
16
16
 
17
-
18
-
19
17
  ## Function
20
18
 
21
19
  - Customize label background color
@@ -28,14 +26,14 @@ Creates a toggle switch with color and placement customizations, and you can cha
28
26
  ## Installation
29
27
 
30
28
  ```shell
31
- pip install streamlit-toggle-switch-diy
29
+ pip install streamlit-toggle-diy
32
30
  ```
33
31
 
34
32
  ## Usage
35
33
 
36
34
  ```python
37
35
  import streamlit as st
38
- import streamlit_toggle_switch_diy as tog
36
+ import streamlit-toggle-diy as tog
39
37
 
40
38
  tog.st_toggle_switch(
41
39
  key=None,
@@ -54,7 +52,6 @@ tog.st_toggle_switch(
54
52
  )
55
53
  ```
56
54
 
57
-
58
55
  ## Parameters
59
56
 
60
57
 
@@ -85,7 +82,6 @@ tog.st_toggle_switch(
85
82
  > * If both `background_color_near_button_start` and `background_color_near_button_end` are provided, a gradient behind the switch is created.
86
83
  > * If you only provide one color, it will be used as a solid background.
87
84
  > * `label_start_color` and `label_end_color` control the text color of labels, while `label_bg_color_start` and `label_bg_color_end` control the background of those labels.
88
- >
89
85
 
90
86
  ## Operation
91
87
 
@@ -1,9 +1,7 @@
1
- # streamlit_toggle_switch_diy
1
+ # streamlit-toggle-diy
2
2
 
3
3
  Creates a toggle switch with color and placement customizations, and you can change the label's color, radius, font size, and more.
4
4
 
5
-
6
-
7
5
  ## Function
8
6
 
9
7
  - Customize label background color
@@ -16,14 +14,14 @@ Creates a toggle switch with color and placement customizations, and you can cha
16
14
  ## Installation
17
15
 
18
16
  ```shell
19
- pip install streamlit-toggle-switch-diy
17
+ pip install streamlit-toggle-diy
20
18
  ```
21
19
 
22
20
  ## Usage
23
21
 
24
22
  ```python
25
23
  import streamlit as st
26
- import streamlit_toggle_switch_diy as tog
24
+ import streamlit-toggle-diy as tog
27
25
 
28
26
  tog.st_toggle_switch(
29
27
  key=None,
@@ -42,7 +40,6 @@ tog.st_toggle_switch(
42
40
  )
43
41
  ```
44
42
 
45
-
46
43
  ## Parameters
47
44
 
48
45
 
@@ -73,7 +70,6 @@ tog.st_toggle_switch(
73
70
  > * If both `background_color_near_button_start` and `background_color_near_button_end` are provided, a gradient behind the switch is created.
74
71
  > * If you only provide one color, it will be used as a solid background.
75
72
  > * `label_start_color` and `label_end_color` control the text color of labels, while `label_bg_color_start` and `label_bg_color_end` control the background of those labels.
76
- >
77
73
 
78
74
  ## Operation
79
75
 
@@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
7
7
 
8
8
  setuptools.setup(
9
9
  name="streamlit_toggle_diy",
10
- version="1.1.3",
10
+ version="1.1.4",
11
11
  author="Flow Water",
12
12
  author_email="1665526933@qq.com",
13
13
  description="A customized Streamlit toggle switch component with customizable labels, colors, and border radius",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamlit_toggle_diy
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: A customized Streamlit toggle switch component with customizable labels, colors, and border radius
5
5
  Home-page: https://github.com/flowing-water1/streamlit-toggle-switch-diy
6
6
  Author: Flow Water
@@ -10,12 +10,10 @@ Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
11
  Requires-Dist: streamlit>=0.63
12
12
 
13
- # streamlit_toggle_switch_diy
13
+ # streamlit-toggle-diy
14
14
 
15
15
  Creates a toggle switch with color and placement customizations, and you can change the label's color, radius, font size, and more.
16
16
 
17
-
18
-
19
17
  ## Function
20
18
 
21
19
  - Customize label background color
@@ -28,14 +26,14 @@ Creates a toggle switch with color and placement customizations, and you can cha
28
26
  ## Installation
29
27
 
30
28
  ```shell
31
- pip install streamlit-toggle-switch-diy
29
+ pip install streamlit-toggle-diy
32
30
  ```
33
31
 
34
32
  ## Usage
35
33
 
36
34
  ```python
37
35
  import streamlit as st
38
- import streamlit_toggle_switch_diy as tog
36
+ import streamlit-toggle-diy as tog
39
37
 
40
38
  tog.st_toggle_switch(
41
39
  key=None,
@@ -54,7 +52,6 @@ tog.st_toggle_switch(
54
52
  )
55
53
  ```
56
54
 
57
-
58
55
  ## Parameters
59
56
 
60
57
 
@@ -85,7 +82,6 @@ tog.st_toggle_switch(
85
82
  > * If both `background_color_near_button_start` and `background_color_near_button_end` are provided, a gradient behind the switch is created.
86
83
  > * If you only provide one color, it will be used as a solid background.
87
84
  > * `label_start_color` and `label_end_color` control the text color of labels, while `label_bg_color_start` and `label_bg_color_end` control the background of those labels.
88
- >
89
85
 
90
86
  ## Operation
91
87