bluer-sbc 9.168.1__py3-none-any.whl → 9.319.1__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.
- bluer_sbc/.abcli/sbc/parts/edit.sh +5 -0
- bluer_sbc/.abcli/sbc/parts/open.sh +5 -0
- bluer_sbc/.abcli/sbc/parts.sh +1 -1
- bluer_sbc/.abcli/seed/rpi_64_bit.sh +1 -1
- bluer_sbc/.abcli/tests/help.sh +2 -0
- bluer_sbc/README/design.py +31 -19
- bluer_sbc/README/designs/__init__.py +12 -8
- bluer_sbc/README/designs/adapter_bus.py +2 -2
- bluer_sbc/README/designs/anchor/__init__.py +15 -0
- bluer_sbc/README/designs/anchor/body/__init__.py +0 -0
- bluer_sbc/README/designs/anchor/body/docs.py +20 -0
- bluer_sbc/README/designs/anchor/docs.py +16 -0
- bluer_sbc/README/designs/anchor/items.py +10 -0
- bluer_sbc/README/designs/anchor/parts.py +54 -0
- bluer_sbc/README/designs/battery_bus/__init__.py +15 -0
- bluer_sbc/README/designs/battery_bus/body/__init__.py +0 -0
- bluer_sbc/README/designs/battery_bus/body/docs.py +20 -0
- bluer_sbc/README/designs/battery_bus/body/li_ion.py +20 -0
- bluer_sbc/README/designs/battery_bus/body/sla.py +17 -0
- bluer_sbc/README/designs/battery_bus/docs.py +17 -0
- bluer_sbc/README/designs/battery_bus/items.py +17 -0
- bluer_sbc/README/designs/battery_bus/parts.py +19 -0
- bluer_sbc/README/designs/cheshmak/__init__.py +14 -0
- bluer_sbc/README/designs/cheshmak/body/__init__.py +0 -0
- bluer_sbc/README/designs/cheshmak/body/docs.py +23 -0
- bluer_sbc/README/designs/cheshmak/body/v1.py +18 -0
- bluer_sbc/README/designs/cheshmak/docs.py +19 -0
- bluer_sbc/README/designs/cheshmak/items.py +10 -0
- bluer_sbc/README/designs/cheshmak/operation.py +5 -0
- bluer_sbc/README/designs/cheshmak/parts.py +28 -0
- bluer_sbc/README/designs/cheshmak/validations.py +14 -0
- bluer_sbc/README/designs/nafha.py +11 -5
- bluer_sbc/README/designs/pwm_generator.py +71 -0
- bluer_sbc/README/designs/regulated_bus.py +79 -0
- bluer_sbc/README/designs/shelter.py +3 -0
- bluer_sbc/README/designs/swallow/__init__.py +20 -0
- bluer_sbc/README/designs/swallow/consts.py +7 -0
- bluer_sbc/README/designs/swallow/docs.py +24 -0
- bluer_sbc/README/designs/swallow/history.py +34 -0
- bluer_sbc/README/designs/swallow/parts.py +16 -0
- bluer_sbc/README/designs/swallow_head/__init__.py +22 -0
- bluer_sbc/README/designs/swallow_head/docs.py +24 -0
- bluer_sbc/README/designs/swallow_head/history.py +21 -0
- bluer_sbc/README/designs/{swallow_head.py → swallow_head/parts.py} +9 -43
- bluer_sbc/README/root.py +11 -7
- bluer_sbc/__init__.py +1 -1
- bluer_sbc/help/parts.py +33 -1
- bluer_sbc/parts/db.py +136 -16
- bluer_sbc-9.319.1.dist-info/METADATA +73 -0
- {bluer_sbc-9.168.1.dist-info → bluer_sbc-9.319.1.dist-info}/RECORD +53 -22
- bluer_sbc/README/designs/battery_bus.py +0 -52
- bluer_sbc/README/designs/bryce.py +0 -28
- bluer_sbc/README/designs/cheshmak.py +0 -29
- bluer_sbc/README/designs/swallow.py +0 -46
- bluer_sbc-9.168.1.dist-info/METADATA +0 -73
- {bluer_sbc-9.168.1.dist-info → bluer_sbc-9.319.1.dist-info}/WHEEL +0 -0
- {bluer_sbc-9.168.1.dist-info → bluer_sbc-9.319.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_sbc-9.168.1.dist-info → bluer_sbc-9.319.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
from bluer_objects import README
|
|
2
|
+
from bluer_objects.README.items import ImageItems
|
|
3
|
+
from bluer_objects.README.consts import assets_url, designs_url
|
|
4
|
+
|
|
5
|
+
from bluer_sbc.README.design import design_doc
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
assets2 = assets_url(
|
|
9
|
+
suffix="pwm-generator",
|
|
10
|
+
volume=2,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
marquee = README.Items(
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
"name": "pwm generator",
|
|
17
|
+
"marquee": f"{assets2}/20251116_125132.jpg",
|
|
18
|
+
"url": "./bluer_sbc/docs/pwm-generator.md",
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
items = ImageItems(
|
|
24
|
+
{
|
|
25
|
+
designs_url(
|
|
26
|
+
"pwm-generator/wiring.png?raw=true",
|
|
27
|
+
): designs_url(
|
|
28
|
+
"pwm-generator/wiring.svg",
|
|
29
|
+
),
|
|
30
|
+
**{
|
|
31
|
+
f"{assets2}/{timestamp}.jpg": ""
|
|
32
|
+
for timestamp in [
|
|
33
|
+
"20251116_124854",
|
|
34
|
+
"20251116_125104",
|
|
35
|
+
"20251116_125112",
|
|
36
|
+
"20251116_125132",
|
|
37
|
+
"20251116_125140",
|
|
38
|
+
"20251116_125146",
|
|
39
|
+
"20251116_125200",
|
|
40
|
+
"20251116_125206",
|
|
41
|
+
"20251116_125212",
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
parts = {
|
|
48
|
+
"dc-power-plug": "",
|
|
49
|
+
"dc-power-jack": "",
|
|
50
|
+
"dsn-vc288": "",
|
|
51
|
+
"plexiglass": "2 x 80 cm x 100 cm",
|
|
52
|
+
"pwm-manual-dc-motor-controller": "",
|
|
53
|
+
"nuts-bolts-spacers": "M3: ({})".format(
|
|
54
|
+
" + ".join(
|
|
55
|
+
[
|
|
56
|
+
"4 x bolt",
|
|
57
|
+
"4 x nut",
|
|
58
|
+
"4 x 40 mm spacer",
|
|
59
|
+
]
|
|
60
|
+
)
|
|
61
|
+
),
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
docs = [
|
|
66
|
+
design_doc(
|
|
67
|
+
"pwm-generator",
|
|
68
|
+
items,
|
|
69
|
+
parts,
|
|
70
|
+
)
|
|
71
|
+
]
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from bluer_objects import README
|
|
2
|
+
from bluer_objects.README.items import ImageItems
|
|
3
|
+
from bluer_objects.README.consts import assets_url, designs_url
|
|
4
|
+
|
|
5
|
+
from bluer_sbc.README.design import design_doc
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
assets2 = assets_url(
|
|
9
|
+
suffix="regulated-bus",
|
|
10
|
+
volume=2,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
marquee = README.Items(
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
"name": "regulated bus",
|
|
17
|
+
"marquee": f"{assets2}/20251113_113332.jpg",
|
|
18
|
+
"url": "./bluer_sbc/docs/regulated-bus.md",
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
items = ImageItems(
|
|
24
|
+
{
|
|
25
|
+
designs_url(
|
|
26
|
+
"regulated-bus/wiring.png?raw=true",
|
|
27
|
+
): designs_url(
|
|
28
|
+
"regulated-bus/wiring.svg",
|
|
29
|
+
),
|
|
30
|
+
**{
|
|
31
|
+
f"{assets2}/{timestamp}.jpg": ""
|
|
32
|
+
for timestamp in [
|
|
33
|
+
"20251112_214845",
|
|
34
|
+
"20251113_103345",
|
|
35
|
+
"20251113_103404",
|
|
36
|
+
"20251113_103646",
|
|
37
|
+
"20251113_103653",
|
|
38
|
+
"20251113_103659",
|
|
39
|
+
"20251113_103703",
|
|
40
|
+
"20251113_103713",
|
|
41
|
+
"20251113_103722",
|
|
42
|
+
"20251113_104805",
|
|
43
|
+
"20251113_113332",
|
|
44
|
+
"20251116_234737",
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
parts = {
|
|
51
|
+
"dc-power-plug": "",
|
|
52
|
+
"dsn-vc288": "",
|
|
53
|
+
"XL4015": "",
|
|
54
|
+
"white-terminal": "2 x",
|
|
55
|
+
"pin-headers": "2 x (2 x 3, 90 degree)",
|
|
56
|
+
"PCB-double-9x7": "10 x 15 holes",
|
|
57
|
+
"nuts-bolts-spacers": "M3: ({})".format(
|
|
58
|
+
" + ".join(
|
|
59
|
+
[
|
|
60
|
+
"7 x bolt",
|
|
61
|
+
"7 x nut",
|
|
62
|
+
"1 x 5 mm spacer",
|
|
63
|
+
"7 x 15 mm spacer",
|
|
64
|
+
"2 x 25 mm spacer",
|
|
65
|
+
"3 x 35 mm spacer",
|
|
66
|
+
]
|
|
67
|
+
)
|
|
68
|
+
),
|
|
69
|
+
"plexiglass": "2 x 88 cm x 88 cm",
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
docs = [
|
|
74
|
+
design_doc(
|
|
75
|
+
"regulated-bus",
|
|
76
|
+
items,
|
|
77
|
+
parts,
|
|
78
|
+
)
|
|
79
|
+
]
|
|
@@ -38,6 +38,9 @@ items = ImageItems(
|
|
|
38
38
|
f"{assets2}/20251109_000641.jpg": "",
|
|
39
39
|
f"{assets2}/20251109_002124.jpg": "",
|
|
40
40
|
f"{assets2}/20251109_002639.jpg": "",
|
|
41
|
+
f"{assets2}/20251124_094744.jpg": "",
|
|
42
|
+
f"{assets2}/20251202_101949.jpg": "",
|
|
43
|
+
f"{assets2}/20251202_102912.jpg": "",
|
|
41
44
|
}
|
|
42
45
|
)
|
|
43
46
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from bluer_objects import README
|
|
2
|
+
|
|
3
|
+
from bluer_sbc.README.designs.consts import assets2
|
|
4
|
+
|
|
5
|
+
latest_version: int = 6
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def image_template(version: int) -> str:
|
|
9
|
+
return assets2 + f"swallow/design/v{version}/{{}}?raw=true"
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
marquee = README.Items(
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
"name": "swallow",
|
|
16
|
+
"marquee": image_template(latest_version).format("01.jpg"),
|
|
17
|
+
"url": "./bluer_sbc/docs/swallow",
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from bluer_objects.README.items import ImageItems
|
|
2
|
+
|
|
3
|
+
from bluer_sbc.README.design import design_doc
|
|
4
|
+
from bluer_sbc.README.designs.swallow import image_template
|
|
5
|
+
from bluer_sbc.README.designs.swallow.parts import parts
|
|
6
|
+
from bluer_sbc.README.designs.swallow import history
|
|
7
|
+
from bluer_sbc.README.designs.swallow import latest_version
|
|
8
|
+
|
|
9
|
+
items = ImageItems(
|
|
10
|
+
{
|
|
11
|
+
image_template(latest_version).format(f"{index+1:02}.jpg"): ""
|
|
12
|
+
for index in range(6)
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
docs = [
|
|
17
|
+
design_doc(
|
|
18
|
+
"swallow",
|
|
19
|
+
items,
|
|
20
|
+
parts,
|
|
21
|
+
own_folder=True,
|
|
22
|
+
parts_reference="../parts",
|
|
23
|
+
)
|
|
24
|
+
] + history.docs
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from bluer_objects.README.items import ImageItems
|
|
2
|
+
|
|
3
|
+
from bluer_sbc.README.design import design_doc
|
|
4
|
+
from bluer_sbc.README.designs.swallow.consts import swallow_assets2
|
|
5
|
+
from bluer_sbc.README.designs.swallow import image_template, latest_version
|
|
6
|
+
from bluer_sbc.README.designs.swallow.parts import parts
|
|
7
|
+
|
|
8
|
+
docs = [
|
|
9
|
+
design_doc(
|
|
10
|
+
"swallow/v1",
|
|
11
|
+
ImageItems(
|
|
12
|
+
{
|
|
13
|
+
f"{swallow_assets2}/20250609_164433.jpg": "",
|
|
14
|
+
f"{swallow_assets2}/20250614_114954.jpg": "",
|
|
15
|
+
f"{swallow_assets2}/20250615_192339.jpg": "",
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
parts,
|
|
19
|
+
)
|
|
20
|
+
] + [
|
|
21
|
+
design_doc(
|
|
22
|
+
f"swallow/v{version}",
|
|
23
|
+
ImageItems(
|
|
24
|
+
{
|
|
25
|
+
image_template(version).format(
|
|
26
|
+
f"{index+1:02}.jpg",
|
|
27
|
+
): ""
|
|
28
|
+
for index in range(6)
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
parts,
|
|
32
|
+
)
|
|
33
|
+
for version in range(2, latest_version)
|
|
34
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
parts = {
|
|
2
|
+
"BTS7960": "2 x",
|
|
3
|
+
"connector": "2 females",
|
|
4
|
+
"white-terminal": "8 x",
|
|
5
|
+
"nuts-bolts-spacers": "M3: ({})".format(
|
|
6
|
+
" + ".join(
|
|
7
|
+
[
|
|
8
|
+
"4 x nut",
|
|
9
|
+
"8 x 25 mm spacer",
|
|
10
|
+
"4 x 30 mm spacer",
|
|
11
|
+
]
|
|
12
|
+
)
|
|
13
|
+
),
|
|
14
|
+
"solid-cable-1-15": "20 cm x (red + black/blue)",
|
|
15
|
+
"PCB-single-14x9_5": "",
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from bluer_objects import README
|
|
2
|
+
from bluer_objects.README.items import ImageItems
|
|
3
|
+
|
|
4
|
+
from bluer_sbc.README.designs.consts import assets2
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
latest_version: int = 2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def image_template(version: int) -> str:
|
|
11
|
+
return assets2 + f"swallow/design/head-v{version}/{{}}?raw=true"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
marquee = README.Items(
|
|
15
|
+
[
|
|
16
|
+
{
|
|
17
|
+
"name": "swallow head",
|
|
18
|
+
"marquee": image_template(latest_version).format("01.jpg"),
|
|
19
|
+
"url": "./bluer_sbc/docs/swallow-head",
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from bluer_objects.README.items import ImageItems
|
|
2
|
+
|
|
3
|
+
from bluer_sbc.README.design import design_doc
|
|
4
|
+
from bluer_sbc.README.designs.swallow_head import image_template
|
|
5
|
+
from bluer_sbc.README.designs.swallow_head.parts import parts
|
|
6
|
+
from bluer_sbc.README.designs.swallow_head import history
|
|
7
|
+
from bluer_sbc.README.designs.swallow_head import latest_version
|
|
8
|
+
|
|
9
|
+
items = ImageItems(
|
|
10
|
+
{
|
|
11
|
+
image_template(latest_version).format(f"{index+1:02}.jpg"): ""
|
|
12
|
+
for index in range(6)
|
|
13
|
+
}
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
docs = [
|
|
17
|
+
design_doc(
|
|
18
|
+
"swallow-head",
|
|
19
|
+
items,
|
|
20
|
+
parts,
|
|
21
|
+
own_folder=True,
|
|
22
|
+
parts_reference="../parts",
|
|
23
|
+
)
|
|
24
|
+
] + history.docs
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from bluer_objects.README.items import ImageItems
|
|
2
|
+
|
|
3
|
+
from bluer_sbc.README.design import design_doc
|
|
4
|
+
from bluer_sbc.README.designs.swallow_head import image_template, latest_version
|
|
5
|
+
from bluer_sbc.README.designs.swallow_head.parts import parts
|
|
6
|
+
|
|
7
|
+
docs = [
|
|
8
|
+
design_doc(
|
|
9
|
+
f"swallow-head/v{version}",
|
|
10
|
+
ImageItems(
|
|
11
|
+
{
|
|
12
|
+
image_template(version).format(
|
|
13
|
+
f"{index+1:02}.jpg",
|
|
14
|
+
): ""
|
|
15
|
+
for index in range(6)
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
parts,
|
|
19
|
+
)
|
|
20
|
+
for version in range(1, latest_version)
|
|
21
|
+
]
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
from bluer_objects import README
|
|
2
|
-
from bluer_objects.README.items import ImageItems
|
|
3
|
-
|
|
4
|
-
from bluer_sbc.README.designs.consts import assets2
|
|
5
|
-
from bluer_sbc.README.design import design_doc
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
image_template = assets2 + "swallow/design/head-v1/{}?raw=true"
|
|
9
|
-
|
|
10
|
-
marquee = README.Items(
|
|
11
|
-
[
|
|
12
|
-
{
|
|
13
|
-
"name": "swallow head",
|
|
14
|
-
"marquee": image_template.format("01.jpg"),
|
|
15
|
-
"url": "./bluer_sbc/docs/swallow-head.md",
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
items = ImageItems(
|
|
21
|
-
{image_template.format(f"{index+1:02}.jpg"): "" for index in range(6)}
|
|
22
|
-
)
|
|
23
|
-
|
|
24
1
|
parts = {
|
|
25
2
|
"sd-card-32-gb": "",
|
|
26
3
|
"rpi": "",
|
|
@@ -28,11 +5,10 @@ parts = {
|
|
|
28
5
|
"470-mF": "",
|
|
29
6
|
"Polyfuse": "optional",
|
|
30
7
|
"TVS-diode": "",
|
|
31
|
-
"resistor": "7 x 330-470 Ω +
|
|
8
|
+
"resistor": "7 x 330-470 Ω + 4 x 2.2 kΩ + 4 x 3.3 kΩ",
|
|
32
9
|
"LED": "green + red + yellow + 4 x blue",
|
|
33
10
|
"rpi-camera": "",
|
|
34
|
-
"PCB-single-14x9_5": "
|
|
35
|
-
"PCB-double-9x7": "2 x",
|
|
11
|
+
"PCB-single-14x9_5": "",
|
|
36
12
|
"pushbutton": "",
|
|
37
13
|
"ultrasonic-sensor": "4 x",
|
|
38
14
|
"connector": "1 female",
|
|
@@ -42,8 +18,8 @@ parts = {
|
|
|
42
18
|
" + ".join(
|
|
43
19
|
[
|
|
44
20
|
"2 x bolt",
|
|
45
|
-
"2 x 5 mm spacer",
|
|
46
21
|
"4 x nut",
|
|
22
|
+
"2 x 5 mm spacer",
|
|
47
23
|
]
|
|
48
24
|
)
|
|
49
25
|
),
|
|
@@ -51,8 +27,8 @@ parts = {
|
|
|
51
27
|
" + ".join(
|
|
52
28
|
[
|
|
53
29
|
"4 x bolt",
|
|
54
|
-
"8 x 10 mm spacer",
|
|
55
30
|
"4 x nut",
|
|
31
|
+
"8 x 10 mm spacer",
|
|
56
32
|
]
|
|
57
33
|
)
|
|
58
34
|
),
|
|
@@ -60,30 +36,20 @@ parts = {
|
|
|
60
36
|
" + ".join(
|
|
61
37
|
[
|
|
62
38
|
"1 x bolt",
|
|
63
|
-
"3 x 35 mm spacer",
|
|
64
|
-
"3 x 25 mm spacer",
|
|
65
|
-
"7 x 15 mm spacer",
|
|
66
|
-
"4 x 5 mm spacer",
|
|
67
39
|
"5 x nut",
|
|
40
|
+
"5 x 25 mm spacer",
|
|
41
|
+
"8 x 15 mm spacer",
|
|
42
|
+
"4 x 5 mm spacer",
|
|
68
43
|
]
|
|
69
44
|
)
|
|
70
45
|
),
|
|
71
46
|
]
|
|
72
47
|
),
|
|
73
48
|
"plexiglass": "14 cm x 9.5 cm",
|
|
74
|
-
"
|
|
49
|
+
"green-terminal": "2 x",
|
|
75
50
|
"dupont-cables": "1 x 30 cm + 1 x 10 cm",
|
|
76
51
|
"16-awg-wire": "40 cm x (red + black/blue)",
|
|
77
52
|
"solid-cable-1-15": "10 cm x (red + black/blue)",
|
|
78
53
|
"strong-thread": "1 m",
|
|
79
|
-
"pin-headers": "1 x (female, 2 x 40) -> 2 x 20 + 2 x (male, 1 x 40) -> 4 x
|
|
54
|
+
"pin-headers": "1 x (female, 2 x 40) -> 2 x 20 + 2 x (male, 1 x 40) -> 4 x 1 + 2 x 20 + 1 x (male, 2 x 40) -> 2 x 2 x 6",
|
|
80
55
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
docs = [
|
|
84
|
-
design_doc(
|
|
85
|
-
"swallow-head",
|
|
86
|
-
items,
|
|
87
|
-
parts,
|
|
88
|
-
)
|
|
89
|
-
]
|
bluer_sbc/README/root.py
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
from bluer_sbc.README.designs.
|
|
1
|
+
from bluer_sbc.README.designs.adapter_bus import marquee as adapter_bus_marquee
|
|
2
|
+
from bluer_sbc.README.designs.anchor import marquee as anchor_marquee
|
|
3
|
+
from bluer_sbc.README.designs.battery_bus import marquee as battery_bus_marquee
|
|
2
4
|
from bluer_sbc.README.designs.blue_bracket import items as blue_bracket_items
|
|
3
|
-
from bluer_sbc.README.designs.swallow import marquee as swallow_marquee
|
|
4
|
-
from bluer_sbc.README.designs.swallow_head import marquee as swallow_head_marquee
|
|
5
|
-
from bluer_sbc.README.designs.bryce import marquee as bryce_marquee
|
|
6
5
|
from bluer_sbc.README.designs.nafha import marquee as nafha_marquee
|
|
6
|
+
from bluer_sbc.README.designs.cheshmak import marquee as cheshmak_marquee
|
|
7
|
+
from bluer_sbc.README.designs.pwm_generator import marquee as pwm_generator_marquee
|
|
8
|
+
from bluer_sbc.README.designs.regulated_bus import marquee as regulated_bus_marquee
|
|
7
9
|
from bluer_sbc.README.designs.shelter import marquee as shelter_marquee
|
|
8
|
-
from bluer_sbc.README.designs.
|
|
9
|
-
from bluer_sbc.README.designs.
|
|
10
|
+
from bluer_sbc.README.designs.swallow import marquee as swallow_marquee
|
|
11
|
+
from bluer_sbc.README.designs.swallow_head import marquee as swallow_head_marquee
|
|
10
12
|
from bluer_sbc.README.designs.ultrasonic_sensor_tester import (
|
|
11
13
|
marquee as ultrasonic_sensor_tester_marquee,
|
|
12
14
|
)
|
|
@@ -17,10 +19,12 @@ docs = [
|
|
|
17
19
|
"items": []
|
|
18
20
|
+ swallow_head_marquee
|
|
19
21
|
+ swallow_marquee
|
|
22
|
+
+ anchor_marquee
|
|
23
|
+
+ pwm_generator_marquee
|
|
24
|
+
+ regulated_bus_marquee
|
|
20
25
|
+ battery_bus_marquee
|
|
21
26
|
+ adapter_bus_marquee
|
|
22
27
|
+ ultrasonic_sensor_tester_marquee
|
|
23
|
-
+ bryce_marquee
|
|
24
28
|
+ cheshmak_marquee
|
|
25
29
|
+ nafha_marquee
|
|
26
30
|
+ shelter_marquee
|
bluer_sbc/__init__.py
CHANGED
bluer_sbc/help/parts.py
CHANGED
|
@@ -15,7 +15,7 @@ def help_cd(
|
|
|
15
15
|
"parts",
|
|
16
16
|
"cd",
|
|
17
17
|
],
|
|
18
|
-
"cd to part images.",
|
|
18
|
+
"cd to part images folder.",
|
|
19
19
|
mono=mono,
|
|
20
20
|
)
|
|
21
21
|
|
|
@@ -43,7 +43,39 @@ def help_adjust(
|
|
|
43
43
|
)
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
def help_edit(
|
|
47
|
+
tokens: List[str],
|
|
48
|
+
mono: bool,
|
|
49
|
+
) -> str:
|
|
50
|
+
return show_usage(
|
|
51
|
+
[
|
|
52
|
+
"@sbc",
|
|
53
|
+
"parts",
|
|
54
|
+
"edit",
|
|
55
|
+
],
|
|
56
|
+
"edit parts db.",
|
|
57
|
+
mono=mono,
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def help_open(
|
|
62
|
+
tokens: List[str],
|
|
63
|
+
mono: bool,
|
|
64
|
+
) -> str:
|
|
65
|
+
return show_usage(
|
|
66
|
+
[
|
|
67
|
+
"@sbc",
|
|
68
|
+
"parts",
|
|
69
|
+
"open",
|
|
70
|
+
],
|
|
71
|
+
"open part images folder.",
|
|
72
|
+
mono=mono,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
46
76
|
help_functions = {
|
|
47
77
|
"adjust": help_adjust,
|
|
48
78
|
"cd": help_cd,
|
|
79
|
+
"edit": help_edit,
|
|
80
|
+
"open": help_open,
|
|
49
81
|
}
|