swarmbee-bakery 0.1.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Swarm and Bee LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,199 @@
1
+ Metadata-Version: 2.4
2
+ Name: swarmbee-bakery
3
+ Version: 0.1.0
4
+ Summary: CLI for the Swarm & Bee dataset bakery — order curated AI training corpora from the terminal.
5
+ Author-email: Swarm and Bee LLC <build@swarmandbee.ai>
6
+ License: MIT
7
+ Project-URL: Bakery, https://bakery.swarmandbee.ai
8
+ Project-URL: Homepage, https://swarmandbee.ai
9
+ Project-URL: Repository, https://github.com/SudoSuOps/swarmbee-bakery
10
+ Project-URL: Bounty, https://bounty.swarmandbee.ai
11
+ Project-URL: Identity, https://identity.swarmandbee.ai
12
+ Project-URL: Defendable, https://defendable.eth.limo
13
+ Keywords: AI,dataset,training data,curation,RAG,LLM,bakery,CCIR,Swarm and Bee
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: requests>=2.31
27
+ Provides-Extra: test
28
+ Requires-Dist: pytest>=8.0; extra == "test"
29
+ Dynamic: license-file
30
+
31
+ # swarmbee-bakery
32
+
33
+ CLI for the [Swarm & Bee dataset bakery](https://bakery.swarmandbee.ai). Order
34
+ curated AI training corpora from the terminal.
35
+
36
+ > **AI is a bakery first.** Signal is supply. Curators are bakers. Distribution
37
+ > is delivery. Fresh every day, with a shelf life. 500 fantastic muffins crush
38
+ > 25,000 ingredients. *Less is better.*
39
+
40
+ > **Compassionate intelligence** — organic datasets with real-world purpose.
41
+ > Medical / autoimmune is the lead vertical. The diabetes corpus is the seed.
42
+
43
+ ## What you can do
44
+
45
+ ```bash
46
+ swarmbee-bakery menu # browse the inventory
47
+ swarmbee-bakery menu --domain finance # filter by domain
48
+ swarmbee-bakery sample finance --summary # taste the finance pack
49
+ swarmbee-bakery order --sku 500-pack \
50
+ --domain finance \
51
+ --failure-mode "math verification at honey confidence" \
52
+ --name "Your Name" --email "you@you.dev"
53
+ # ⤷ prints the order payload + sha256 receipt, DRY RUN by default
54
+ swarmbee-bakery order ... --confirm # add --confirm to actually submit
55
+ ```
56
+
57
+ Every order is **dry-run by default**. A human reads every submission. The
58
+ CLI never auto-spends, never auto-submits without `--confirm`.
59
+
60
+ ## Install
61
+
62
+ ```bash
63
+ pip install swarmbee-bakery
64
+ ```
65
+
66
+ Requires Python 3.10+. One runtime dep (`requests`).
67
+
68
+ ## Subcommands
69
+
70
+ | command | purpose |
71
+ |---|---|
72
+ | `menu` | fetch + pretty-print the live `menu.json` from `bakery.swarmandbee.ai/menu.json` |
73
+ | `menu --json` | raw machine-readable JSON |
74
+ | `menu --domain <name>` | filter to one vertical (finance / medical / healing / agents / legal) |
75
+ | `sample <domain>` | fetch a sample pack (full JSON to stdout) |
76
+ | `sample <domain> --summary` | compact pair-by-pair summary |
77
+ | `sample <domain> --out path.json` | save to file |
78
+ | `order` | build (and with `--confirm`, submit) an order. Always prints a local sha256 receipt of the exact payload. |
79
+ | `receipt` | hash a JSON payload from stdin/file — audit utility |
80
+ | `version` | print version + endpoint |
81
+
82
+ ## The two SKUs
83
+
84
+ ### By the pound · wholesale corpora
85
+
86
+ For shops with a base model and a need for breadth. Bulk training corpora,
87
+ graded, deduped, freshness-stamped. Sold per 1,000 pairs.
88
+
89
+ ```bash
90
+ swarmbee-bakery order --sku by-the-pound \
91
+ --domain finance \
92
+ --budget "100k pairs" \
93
+ --name "Jane" --email "jane@acme.com"
94
+ ```
95
+
96
+ **Lead vertical: medical / autoimmune.** In stock:
97
+ `sb-diabetes-24k` (24,000 pairs · diabetes lane · two-stream sourced + lived-experience-anchored · pre-Tribunal release),
98
+ `sb-medical-verified` (418,783 medical pairs · grading in progress),
99
+ `sb-cre-verified` (810,097 finance/CRE pairs · Atlas-class proof-of-process).
100
+ Aviation raw available on request post-audit. Autoimmune expansion, legal,
101
+ agents in development.
102
+
103
+ ### The 500-Pack · signature blend
104
+
105
+ 500-1,000 pairs hand-built around one failure mode. Each pair carries
106
+ `failure_source` + `repair_goal` metadata. Tribunal-sealed before delivery.
107
+ **25-50× the leverage of equivalent wholesale.**
108
+
109
+ ```bash
110
+ swarmbee-bakery order --sku 500-pack \
111
+ --domain finance \
112
+ --failure-mode "math verification at honey confidence — refusal pattern on insufficient inputs" \
113
+ --name "Jane" --email "jane@acme.com" \
114
+ --notes "Atlas v2 repair, want the Tribunal seal"
115
+ ```
116
+
117
+ Starter kits available: `fabrication_detection_500`, `math_verification_500`,
118
+ `recommendation_alignment_500`, `patient_comm_500`, `contract_risk_flag_500`.
119
+ Custom failure-mode scoping on intake.
120
+
121
+ ## Sample packs — taste before you buy
122
+
123
+ Every domain has a free sample pack with the same provenance shape as a full
124
+ delivery. Each pack includes at least one **PROPOLIS-graded contrast pair** so
125
+ you see the rejection bar, not just the acceptance bar.
126
+
127
+ ```bash
128
+ swarmbee-bakery sample finance --summary
129
+ # ─── FINANCE SAMPLE PACK (7 pairs) ───────
130
+ # · cre-001 [HONEY ] avg_rubric=8.6
131
+ # Calculate the going-in cap rate.
132
+ # · cre-002 [HONEY ] avg_rubric=9.4
133
+ # Compute DSCR for this debt structure.
134
+ # · cre-003 [HONEY ] avg_rubric=9.8
135
+ # Estimate IRR for this acquisition.
136
+ # note: Refusal pattern. The right answer to insufficient inputs...
137
+ # ...
138
+ # · cre-PROPOLIS-001 [PROPOLIS] avg_rubric=0.2
139
+ # note: INCLUDED FOR TRANSPARENCY — THIS IS WHAT WE FILTER OUT.
140
+ ```
141
+
142
+ ## Provenance
143
+
144
+ Every pair carries:
145
+ - `tier_grade` — APEX | HONEY | JELLY | POLLEN | PROPOLIS
146
+ - 5-dim rubric scores (1–10 each)
147
+ - `graded_at` datestamp
148
+ - `source_type`
149
+ - `tribunal_sealed` flag
150
+
151
+ Every batch carries:
152
+ - `manifest.json` with per-pair sha256
153
+ - Tribunal-seal signature (if sealed)
154
+ - Optional Hedera anchor (HCS topic `0.0.10291838`)
155
+ - Issuer signature from `swarmandbee.eth`
156
+
157
+ Outputs trained on these corpora may carry the
158
+ [**defendable.eth**](https://defendable.eth.limo) certification mark.
159
+
160
+ ## Boundaries (hard rules)
161
+
162
+ The CLI **will never**:
163
+ - Submit an order without explicit `--confirm`
164
+ - Spend money or charge a card
165
+ - Create an account on your behalf
166
+ - Send messages on any platform
167
+ - Bypass any login or anti-bot mechanism
168
+
169
+ A human at Swarm & Bee reads every submission and responds within one business
170
+ day. There is no auto-submit, no spam, no upsell flow.
171
+
172
+ ## Environment
173
+
174
+ ```
175
+ BAKERY_BASE_URL=https://bakery.swarmandbee.ai # default; override for testing
176
+ ```
177
+
178
+ ## Develop
179
+
180
+ ```bash
181
+ git clone https://github.com/SudoSuOps/swarmbee-bakery
182
+ cd swarmbee-bakery
183
+ pip install -e ".[test]"
184
+ pytest -v
185
+ # Optional live tests against production:
186
+ SWARMBEE_LIVE=1 pytest -v
187
+ ```
188
+
189
+ ## License
190
+
191
+ MIT.
192
+
193
+ ## Links
194
+
195
+ - [bakery.swarmandbee.ai](https://bakery.swarmandbee.ai) — the bakery
196
+ - [bounty.swarmandbee.ai](https://bounty.swarmandbee.ai) — broader work intake
197
+ - [identity.swarmandbee.ai](https://identity.swarmandbee.ai) — sovereign IDs
198
+ - [defendable.eth.limo](https://defendable.eth.limo) — certification standard
199
+ - `build@swarmandbee.ai` — humans, fast
@@ -0,0 +1,169 @@
1
+ # swarmbee-bakery
2
+
3
+ CLI for the [Swarm & Bee dataset bakery](https://bakery.swarmandbee.ai). Order
4
+ curated AI training corpora from the terminal.
5
+
6
+ > **AI is a bakery first.** Signal is supply. Curators are bakers. Distribution
7
+ > is delivery. Fresh every day, with a shelf life. 500 fantastic muffins crush
8
+ > 25,000 ingredients. *Less is better.*
9
+
10
+ > **Compassionate intelligence** — organic datasets with real-world purpose.
11
+ > Medical / autoimmune is the lead vertical. The diabetes corpus is the seed.
12
+
13
+ ## What you can do
14
+
15
+ ```bash
16
+ swarmbee-bakery menu # browse the inventory
17
+ swarmbee-bakery menu --domain finance # filter by domain
18
+ swarmbee-bakery sample finance --summary # taste the finance pack
19
+ swarmbee-bakery order --sku 500-pack \
20
+ --domain finance \
21
+ --failure-mode "math verification at honey confidence" \
22
+ --name "Your Name" --email "you@you.dev"
23
+ # ⤷ prints the order payload + sha256 receipt, DRY RUN by default
24
+ swarmbee-bakery order ... --confirm # add --confirm to actually submit
25
+ ```
26
+
27
+ Every order is **dry-run by default**. A human reads every submission. The
28
+ CLI never auto-spends, never auto-submits without `--confirm`.
29
+
30
+ ## Install
31
+
32
+ ```bash
33
+ pip install swarmbee-bakery
34
+ ```
35
+
36
+ Requires Python 3.10+. One runtime dep (`requests`).
37
+
38
+ ## Subcommands
39
+
40
+ | command | purpose |
41
+ |---|---|
42
+ | `menu` | fetch + pretty-print the live `menu.json` from `bakery.swarmandbee.ai/menu.json` |
43
+ | `menu --json` | raw machine-readable JSON |
44
+ | `menu --domain <name>` | filter to one vertical (finance / medical / healing / agents / legal) |
45
+ | `sample <domain>` | fetch a sample pack (full JSON to stdout) |
46
+ | `sample <domain> --summary` | compact pair-by-pair summary |
47
+ | `sample <domain> --out path.json` | save to file |
48
+ | `order` | build (and with `--confirm`, submit) an order. Always prints a local sha256 receipt of the exact payload. |
49
+ | `receipt` | hash a JSON payload from stdin/file — audit utility |
50
+ | `version` | print version + endpoint |
51
+
52
+ ## The two SKUs
53
+
54
+ ### By the pound · wholesale corpora
55
+
56
+ For shops with a base model and a need for breadth. Bulk training corpora,
57
+ graded, deduped, freshness-stamped. Sold per 1,000 pairs.
58
+
59
+ ```bash
60
+ swarmbee-bakery order --sku by-the-pound \
61
+ --domain finance \
62
+ --budget "100k pairs" \
63
+ --name "Jane" --email "jane@acme.com"
64
+ ```
65
+
66
+ **Lead vertical: medical / autoimmune.** In stock:
67
+ `sb-diabetes-24k` (24,000 pairs · diabetes lane · two-stream sourced + lived-experience-anchored · pre-Tribunal release),
68
+ `sb-medical-verified` (418,783 medical pairs · grading in progress),
69
+ `sb-cre-verified` (810,097 finance/CRE pairs · Atlas-class proof-of-process).
70
+ Aviation raw available on request post-audit. Autoimmune expansion, legal,
71
+ agents in development.
72
+
73
+ ### The 500-Pack · signature blend
74
+
75
+ 500-1,000 pairs hand-built around one failure mode. Each pair carries
76
+ `failure_source` + `repair_goal` metadata. Tribunal-sealed before delivery.
77
+ **25-50× the leverage of equivalent wholesale.**
78
+
79
+ ```bash
80
+ swarmbee-bakery order --sku 500-pack \
81
+ --domain finance \
82
+ --failure-mode "math verification at honey confidence — refusal pattern on insufficient inputs" \
83
+ --name "Jane" --email "jane@acme.com" \
84
+ --notes "Atlas v2 repair, want the Tribunal seal"
85
+ ```
86
+
87
+ Starter kits available: `fabrication_detection_500`, `math_verification_500`,
88
+ `recommendation_alignment_500`, `patient_comm_500`, `contract_risk_flag_500`.
89
+ Custom failure-mode scoping on intake.
90
+
91
+ ## Sample packs — taste before you buy
92
+
93
+ Every domain has a free sample pack with the same provenance shape as a full
94
+ delivery. Each pack includes at least one **PROPOLIS-graded contrast pair** so
95
+ you see the rejection bar, not just the acceptance bar.
96
+
97
+ ```bash
98
+ swarmbee-bakery sample finance --summary
99
+ # ─── FINANCE SAMPLE PACK (7 pairs) ───────
100
+ # · cre-001 [HONEY ] avg_rubric=8.6
101
+ # Calculate the going-in cap rate.
102
+ # · cre-002 [HONEY ] avg_rubric=9.4
103
+ # Compute DSCR for this debt structure.
104
+ # · cre-003 [HONEY ] avg_rubric=9.8
105
+ # Estimate IRR for this acquisition.
106
+ # note: Refusal pattern. The right answer to insufficient inputs...
107
+ # ...
108
+ # · cre-PROPOLIS-001 [PROPOLIS] avg_rubric=0.2
109
+ # note: INCLUDED FOR TRANSPARENCY — THIS IS WHAT WE FILTER OUT.
110
+ ```
111
+
112
+ ## Provenance
113
+
114
+ Every pair carries:
115
+ - `tier_grade` — APEX | HONEY | JELLY | POLLEN | PROPOLIS
116
+ - 5-dim rubric scores (1–10 each)
117
+ - `graded_at` datestamp
118
+ - `source_type`
119
+ - `tribunal_sealed` flag
120
+
121
+ Every batch carries:
122
+ - `manifest.json` with per-pair sha256
123
+ - Tribunal-seal signature (if sealed)
124
+ - Optional Hedera anchor (HCS topic `0.0.10291838`)
125
+ - Issuer signature from `swarmandbee.eth`
126
+
127
+ Outputs trained on these corpora may carry the
128
+ [**defendable.eth**](https://defendable.eth.limo) certification mark.
129
+
130
+ ## Boundaries (hard rules)
131
+
132
+ The CLI **will never**:
133
+ - Submit an order without explicit `--confirm`
134
+ - Spend money or charge a card
135
+ - Create an account on your behalf
136
+ - Send messages on any platform
137
+ - Bypass any login or anti-bot mechanism
138
+
139
+ A human at Swarm & Bee reads every submission and responds within one business
140
+ day. There is no auto-submit, no spam, no upsell flow.
141
+
142
+ ## Environment
143
+
144
+ ```
145
+ BAKERY_BASE_URL=https://bakery.swarmandbee.ai # default; override for testing
146
+ ```
147
+
148
+ ## Develop
149
+
150
+ ```bash
151
+ git clone https://github.com/SudoSuOps/swarmbee-bakery
152
+ cd swarmbee-bakery
153
+ pip install -e ".[test]"
154
+ pytest -v
155
+ # Optional live tests against production:
156
+ SWARMBEE_LIVE=1 pytest -v
157
+ ```
158
+
159
+ ## License
160
+
161
+ MIT.
162
+
163
+ ## Links
164
+
165
+ - [bakery.swarmandbee.ai](https://bakery.swarmandbee.ai) — the bakery
166
+ - [bounty.swarmandbee.ai](https://bounty.swarmandbee.ai) — broader work intake
167
+ - [identity.swarmandbee.ai](https://identity.swarmandbee.ai) — sovereign IDs
168
+ - [defendable.eth.limo](https://defendable.eth.limo) — certification standard
169
+ - `build@swarmandbee.ai` — humans, fast
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "swarmbee-bakery"
7
+ version = "0.1.0"
8
+ description = "CLI for the Swarm & Bee dataset bakery — order curated AI training corpora from the terminal."
9
+ readme = "README.md"
10
+ license = {text = "MIT"}
11
+ requires-python = ">=3.10"
12
+ authors = [{name = "Swarm and Bee LLC", email = "build@swarmandbee.ai"}]
13
+ keywords = ["AI", "dataset", "training data", "curation", "RAG", "LLM", "bakery", "CCIR", "Swarm and Bee"]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Console",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.10",
21
+ "Programming Language :: Python :: 3.11",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
24
+ ]
25
+ dependencies = [
26
+ "requests>=2.31",
27
+ ]
28
+
29
+ [project.optional-dependencies]
30
+ test = ["pytest>=8.0"]
31
+
32
+ [project.urls]
33
+ Bakery = "https://bakery.swarmandbee.ai"
34
+ Homepage = "https://swarmandbee.ai"
35
+ Repository = "https://github.com/SudoSuOps/swarmbee-bakery"
36
+ Bounty = "https://bounty.swarmandbee.ai"
37
+ Identity = "https://identity.swarmandbee.ai"
38
+ Defendable = "https://defendable.eth.limo"
39
+
40
+ [project.scripts]
41
+ swarmbee-bakery = "swarmbee_bakery.cli:main"
42
+
43
+ [tool.setuptools.packages.find]
44
+ include = ["swarmbee_bakery*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,14 @@
1
+ """swarmbee-bakery — CLI for the Swarm & Bee dataset bakery.
2
+
3
+ Order curated AI training corpora from the terminal. Same backend as the
4
+ form at https://bakery.swarmandbee.ai, with structured `--sku` / `--domain`
5
+ / `--failure-mode` flags.
6
+
7
+ Public API:
8
+ from swarmbee_bakery import client, order
9
+ menu = client.fetch_menu()
10
+ pack = client.fetch_sample("finance")
11
+ """
12
+ __version__ = "0.1.0"
13
+ __author__ = "Swarm and Bee LLC"
14
+ __url__ = "https://bakery.swarmandbee.ai"