Skip to content

Commit 191d8ca

Browse files
authored
feat: list sqlalchemy-inbox, with a brand mark (#145)
1 parent 9e39fb7 commit 191d8ca

115 files changed

Lines changed: 27 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎brand/apparel/back-lockup-2400.png‎

1.78 KB

‎brand/apparel/chest-mark-1050.png‎

30 Bytes

‎brand/build/projects.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"jwks-client": lambda: sym.key(_CX, _CY, R),
4646
# utilities
4747
"db-retry": lambda: sym.db_retry(_CX, _CY, R),
48+
"sqlalchemy-inbox": lambda: sym.inbox(_CX, _CY, R),
4849
"eof-fixer": lambda: sym.eof_fixer(_CX, _CY, R),
4950
"semvertag": lambda: sym.tag(_CX, _CY, R),
5051
"compose2pod": lambda: sym.pod(_CX, _CY, R),

‎brand/build/symbols.py‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,26 @@ def outbox(cx: float, cy: float, r: float) -> str:
379379
return base + out
380380

381381

382+
def inbox(cx: float, cy: float, r: float) -> str:
383+
"""sqlalchemy-inbox: an arrow dropping into a database cylinder marked with a check."""
384+
cyl_cy = cy + 0.3 * r
385+
h = 0.9
386+
base = _cyl(cx, cyl_cy, r * 1.05, h)
387+
top = cyl_cy - h / 2 * r * 1.05
388+
shaft = (
389+
f'<line x1="{cx}" y1="{cy - 1.05 * r:.1f}" x2="{cx}" y2="{top - 0.5 * r:.1f}" '
390+
f'stroke="{GOLD}" stroke-width="{r * 0.2:.1f}"/>'
391+
)
392+
head = _ah(cx, top - 0.16 * r, math.pi / 2, r * 0.44)
393+
by = cyl_cy + 0.12 * r
394+
check = (
395+
f'<polyline points="{cx - 0.24 * r:.1f},{by:.1f} {cx - 0.06 * r:.1f},{by + 0.18 * r:.1f} '
396+
f'{cx + 0.26 * r:.1f},{by - 0.16 * r:.1f}" fill="none" stroke="{CREAM}" '
397+
f'stroke-width="{r * 0.11:.1f}" stroke-linecap="round" stroke-linejoin="round"/>'
398+
)
399+
return base + shaft + head + check
400+
401+
382402
def db_retry(cx: float, cy: float, r: float) -> str:
383403
"""db-retry: a database cylinder inside a two-head clockwise retry circle."""
384404
rad = 0.92 * r

‎brand/org/apple-touch-icon-180.png‎

-2 Bytes

‎brand/org/avatar-1024.png‎

28 Bytes

‎brand/org/avatar-circle-1024.png‎

42 Bytes

‎brand/org/boosty-cover.png‎

38 Bytes

‎brand/org/social-card-green.png‎

40 Bytes

‎brand/org/social-card.png‎

67 Bytes

0 commit comments

Comments
 (0)