blue-sandbox 5.334.1__tar.gz → 5.345.1__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.
Files changed (44) hide show
  1. {blue_sandbox-5.334.1/blue_sandbox.egg-info → blue_sandbox-5.345.1}/PKG-INFO +7 -2
  2. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/README.md +4 -1
  3. blue_sandbox-5.345.1/blue_sandbox/README.py +40 -0
  4. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/__init__.py +1 -1
  5. blue_sandbox-5.345.1/blue_sandbox/virtualcam/__init__.py +0 -0
  6. blue_sandbox-5.345.1/blue_sandbox/virtualcam/__main__.py +21 -0
  7. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1/blue_sandbox.egg-info}/PKG-INFO +7 -2
  8. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/SOURCES.txt +3 -1
  9. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/setup.py +1 -0
  10. blue_sandbox-5.334.1/blue_sandbox/README.py +0 -15
  11. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/LICENSE +0 -0
  12. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/MANIFEST.in +0 -0
  13. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/abcli.sh +0 -0
  14. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/actions.sh +0 -0
  15. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/aka.sh +0 -0
  16. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/alias.sh +0 -0
  17. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/assets/publish.sh +0 -0
  18. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/assets.sh +0 -0
  19. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/blue_sandbox.sh +0 -0
  20. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/browse.sh +0 -0
  21. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/install.sh +0 -0
  22. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/README.sh +0 -0
  23. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/help.sh +0 -0
  24. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/version.sh +0 -0
  25. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/__main__.py +0 -0
  26. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/__init__.py +0 -0
  27. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/__main__.py +0 -0
  28. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/functions.py +0 -0
  29. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/config.env +0 -0
  30. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/env.py +0 -0
  31. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/functions.py +0 -0
  32. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/__init__.py +0 -0
  33. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/__main__.py +0 -0
  34. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/functions.py +0 -0
  35. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/host.py +0 -0
  36. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/logger.py +0 -0
  37. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/sample.env +0 -0
  38. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/urls.py +0 -0
  39. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/dependency_links.txt +0 -0
  40. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/requires.txt +0 -0
  41. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/top_level.txt +0 -0
  42. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/pyproject.toml +0 -0
  43. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/requirements.txt +0 -0
  44. {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.334.1
3
+ Version: 5.345.1
4
4
  Summary: 🌀 A sandbox for ideas and experiments.
5
5
  Home-page: https://github.com/kamangir/blue-sandbox
6
6
  Author: Arash Abadpour (Kamangir)
@@ -50,10 +50,15 @@ Dynamic: summary
50
50
  pip install blue-sandbox
51
51
  ```
52
52
 
53
+ | | | |
54
+ | --- | --- | --- |
55
+ | [`virtualcam`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/virtualcam) [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/virtualcam.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/virtualcam) Python + [OBS Studio](https://obsproject.com/) ⏸️ | | |
53
56
 
54
57
  ---
55
58
 
56
59
 
57
60
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
58
61
 
59
- built by 🌀 [`blue_options-4.234.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.334.1`](https://github.com/kamangir/blue-sandbox).
62
+ built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.345.1`](https://github.com/kamangir/blue-sandbox).
63
+
64
+ built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
@@ -6,10 +6,13 @@
6
6
  pip install blue-sandbox
7
7
  ```
8
8
 
9
+ | | | |
10
+ | --- | --- | --- |
11
+ | [`virtualcam`](./blue_sandbox/virtualcam) [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/virtualcam.png?raw=true)](./blue_sandbox/virtualcam) Python + [OBS Studio](https://obsproject.com/) ⏸️ | | |
9
12
 
10
13
  ---
11
14
 
12
15
 
13
16
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
14
17
 
15
- built by 🌀 [`blue_options-4.234.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.334.1`](https://github.com/kamangir/blue-sandbox).
18
+ built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.345.1`](https://github.com/kamangir/blue-sandbox).
@@ -0,0 +1,40 @@
1
+ import os
2
+
3
+ from blue_objects import file, README
4
+
5
+ from blue_sandbox import NAME, VERSION, ICON, REPO_NAME
6
+
7
+
8
+ items = README.Items(
9
+ [
10
+ {
11
+ "name": "virtualcam",
12
+ "url": "./blue_sandbox/virtualcam",
13
+ "marquee": "https://github.com/kamangir/assets/raw/main/blue-sandbox/virtualcam.png?raw=true",
14
+ "description": "Python + [OBS Studio](https://obsproject.com/) ⏸️",
15
+ },
16
+ {},
17
+ {},
18
+ ]
19
+ )
20
+
21
+
22
+ def build():
23
+ return all(
24
+ README.build(
25
+ items=readme.get("items", []),
26
+ cols=3,
27
+ path=os.path.join(file.path(__file__), readme["path"]),
28
+ ICON=ICON,
29
+ NAME=NAME,
30
+ VERSION=VERSION,
31
+ REPO_NAME=REPO_NAME,
32
+ )
33
+ for readme in [
34
+ {
35
+ "path": "..",
36
+ "items": items,
37
+ },
38
+ {"path": "./virtualcam"},
39
+ ]
40
+ )
@@ -4,7 +4,7 @@ ICON = "🌀"
4
4
 
5
5
  DESCRIPTION = f"{ICON} A sandbox for ideas and experiments."
6
6
 
7
- VERSION = "5.334.1"
7
+ VERSION = "5.345.1"
8
8
 
9
9
  REPO_NAME = "blue-sandbox"
10
10
 
@@ -0,0 +1,21 @@
1
+ # https://chatgpt.com/c/67d8a46a-69dc-8005-9176-e1ec3528afdf
2
+
3
+ import cv2
4
+ import pyvirtualcam
5
+ from pyvirtualcam import PixelFormat
6
+
7
+ cap = cv2.VideoCapture(0) # Capture video from the first webcam
8
+
9
+ with pyvirtualcam.Camera(width=640, height=480, fps=20, fmt=PixelFormat.BGR) as cam:
10
+ while True:
11
+ ret, frame = cap.read()
12
+ if not ret:
13
+ break
14
+
15
+ # Process frame (apply your functions here)
16
+ processed_frame = cv2.cvtColor(
17
+ frame, cv2.COLOR_BGR2GRAY
18
+ ) # Example: convert to grayscale
19
+
20
+ cam.send(processed_frame)
21
+ cam.sleep_until_next_frame()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: blue_sandbox
3
- Version: 5.334.1
3
+ Version: 5.345.1
4
4
  Summary: 🌀 A sandbox for ideas and experiments.
5
5
  Home-page: https://github.com/kamangir/blue-sandbox
6
6
  Author: Arash Abadpour (Kamangir)
@@ -50,10 +50,15 @@ Dynamic: summary
50
50
  pip install blue-sandbox
51
51
  ```
52
52
 
53
+ | | | |
54
+ | --- | --- | --- |
55
+ | [`virtualcam`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/virtualcam) [![image](https://github.com/kamangir/assets/raw/main/blue-sandbox/virtualcam.png?raw=true)](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/virtualcam) Python + [OBS Studio](https://obsproject.com/) ⏸️ | | |
53
56
 
54
57
  ---
55
58
 
56
59
 
57
60
  [![pylint](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/blue-sandbox.svg)](https://pypi.org/project/blue-sandbox/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/blue-sandbox)](https://pypistats.org/packages/blue-sandbox)
58
61
 
59
- built by 🌀 [`blue_options-4.234.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.334.1`](https://github.com/kamangir/blue-sandbox).
62
+ built by 🌀 [`blue_options-4.240.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.345.1`](https://github.com/kamangir/blue-sandbox).
63
+
64
+ built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
@@ -36,4 +36,6 @@ blue_sandbox/assets/__main__.py
36
36
  blue_sandbox/assets/functions.py
37
37
  blue_sandbox/help/__init__.py
38
38
  blue_sandbox/help/__main__.py
39
- blue_sandbox/help/functions.py
39
+ blue_sandbox/help/functions.py
40
+ blue_sandbox/virtualcam/__init__.py
41
+ blue_sandbox/virtualcam/__main__.py
@@ -11,6 +11,7 @@ setup(
11
11
  NAME,
12
12
  f"{NAME}.assets",
13
13
  f"{NAME}.help",
14
+ f"{NAME}.virtualcam",
14
15
  ],
15
16
  include_package_data=True,
16
17
  package_data={
@@ -1,15 +0,0 @@
1
- import os
2
-
3
- from blue_objects import file, README
4
-
5
- from blue_sandbox import NAME, VERSION, ICON, REPO_NAME
6
-
7
-
8
- def build():
9
- return README.build(
10
- path=os.path.join(file.path(__file__), ".."),
11
- ICON=ICON,
12
- NAME=NAME,
13
- VERSION=VERSION,
14
- REPO_NAME=REPO_NAME,
15
- )
File without changes
File without changes