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.
- {blue_sandbox-5.334.1/blue_sandbox.egg-info → blue_sandbox-5.345.1}/PKG-INFO +7 -2
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/README.md +4 -1
- blue_sandbox-5.345.1/blue_sandbox/README.py +40 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/__init__.py +1 -1
- blue_sandbox-5.345.1/blue_sandbox/virtualcam/__init__.py +0 -0
- blue_sandbox-5.345.1/blue_sandbox/virtualcam/__main__.py +21 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1/blue_sandbox.egg-info}/PKG-INFO +7 -2
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/SOURCES.txt +3 -1
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/setup.py +1 -0
- blue_sandbox-5.334.1/blue_sandbox/README.py +0 -15
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/LICENSE +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/MANIFEST.in +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/abcli.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/actions.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/aka.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/alias.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/assets/publish.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/assets.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/blue_sandbox.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/browse.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/install.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/README.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/help.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/.abcli/tests/version.sh +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/__main__.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/__init__.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/__main__.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/assets/functions.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/config.env +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/env.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/functions.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/__init__.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/__main__.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/help/functions.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/host.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/logger.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/sample.env +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox/urls.py +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/dependency_links.txt +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/requires.txt +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/blue_sandbox.egg-info/top_level.txt +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/pyproject.toml +0 -0
- {blue_sandbox-5.334.1 → blue_sandbox-5.345.1}/requirements.txt +0 -0
- {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.
|
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) [](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
|
[](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [](https://pypi.org/project/blue-sandbox/) [](https://pypistats.org/packages/blue-sandbox)
|
58
61
|
|
59
|
-
built by 🌀 [`blue_options-4.
|
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) [](./blue_sandbox/virtualcam) Python + [OBS Studio](https://obsproject.com/) ⏸️ | | |
|
9
12
|
|
10
13
|
---
|
11
14
|
|
12
15
|
|
13
16
|
[](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [](https://pypi.org/project/blue-sandbox/) [](https://pypistats.org/packages/blue-sandbox)
|
14
17
|
|
15
|
-
built by 🌀 [`blue_options-4.
|
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
|
+
)
|
File without changes
|
@@ -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.
|
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) [](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
|
[](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [](https://pypi.org/project/blue-sandbox/) [](https://pypistats.org/packages/blue-sandbox)
|
58
61
|
|
59
|
-
built by 🌀 [`blue_options-4.
|
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
|
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|