custom-skateboard-deck-sizes 1.0.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 Custom Skateboard Decks
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,82 @@
1
+ Metadata-Version: 2.1
2
+ Name: custom-skateboard-deck-sizes
3
+ Version: 1.0.0
4
+ Summary: Skateboard deck shapes, width by length dimensions, truck axle pairings and 300 DPI print specs across 33 boards.
5
+ Home-page: https://customskateboarddecks.net
6
+ Author: Custom Skateboard Decks
7
+ License: MIT
8
+ Keywords: skateboard,skateboard-deck,longboard,surfskate,deck-sizes
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Project-URL: Homepage, https://customskateboarddecks.net
12
+ Project-URL: Online Designer, https://customskateboarddecks.net/design?utm_source=pypi&utm_medium=referral&utm_campaign=pypi
13
+ Project-URL: Repository, https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io
14
+ Project-URL: Issues, https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io/issues
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+
22
+ # custom-skateboard-deck-sizes
23
+
24
+ Real width by length dimensions, truck axle pairings and 300 DPI print specs for 33 skateboard deck shapes. Covers 12 street popsicles (7.25" to 9.5"), 12 shaped and pool decks, 2 cruisers, 2 surfskates and 5 longboards.
25
+
26
+ Use it to pair a deck outline with the right truck axle width or size a heat-transfer print sheet in a skate shop tool, board builder or sizing guide.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install custom-skateboard-deck-sizes
32
+ ```
33
+
34
+ ## Usage
35
+
36
+ ```python
37
+ from custom_skateboard_deck_sizes import DECKS, PRINT_SPEC, by_category, decks_near_width, find_deck
38
+
39
+ find_deck("8.25")
40
+ # {'id': 'popsicle-8-25', 'category': 'Popsicle', 'model': '8.25"', 'widthIn': 8.28, 'lengthIn': 32.6, 'truckAxle': '8.25"', 'use': 'Street, park and wall art'}
41
+
42
+ len(by_category("Shaped"))
43
+ # 12
44
+
45
+ [d["id"] for d in decks_near_width(8.5, 0.1)]
46
+ # ['popsicle-8-5', 'retro-rocket']
47
+
48
+ PRINT_SPEC["dpi"], len(DECKS)
49
+ # (300, 33)
50
+ ```
51
+
52
+ Queries are matched loosely: `8.25`, `popsicle-8-25` and `8.25"` return the same deck entry.
53
+
54
+ ## Data
55
+
56
+ Each entry in `decks` (also in `decks.json`):
57
+
58
+ | Field | Example |
59
+ |---|---|
60
+ | `id` | `popsicle-8-25` |
61
+ | `category` | `Popsicle`, `Shaped`, `Cruiser`, `Surfskate` or `Longboard` |
62
+ | `model` | `8.25"` |
63
+ | `widthIn` | `8.28` |
64
+ | `lengthIn` | `32.6` |
65
+ | `truckAxle` | `8.25"` |
66
+ | `use` | `Street, park and wall art` |
67
+
68
+ Not covered: woodshop-specific concave depth (mellow vs steep), 7-ply maple press variations, or vintage 2.5" vs modern 2.125" truck hole spacing on 80s reissues. Always check the full-bleed template against your print shop's transfer press sheet before running a batch.
69
+
70
+ ## Design graphics for these skateboard decks
71
+
72
+ The shape dimensions come from [Custom Skateboard Decks](https://customskateboarddecks.net), an AI 3D skateboard deck designer. Describe your idea or upload artwork, fit it across any of the 33 deck shapes, customize top grip tape, trucks and wheels, and export 300 DPI print-ready PNG files. **[Open the 3D skateboard deck designer](https://customskateboarddecks.net/design?utm_source=pypi&utm_medium=referral&utm_campaign=pypi)**
73
+
74
+ <img src="https://raw.githubusercontent.com/custom-skateboard-decks/custom-skateboard-decks.github.io/main/assets/deck-3d-editor-preview.webp" width="640" alt="AI generated skateboard deck graphic and grip tape, edited online in 2D and 3D">
75
+
76
+ ## Contributing
77
+
78
+ Spot a sizing error or want to suggest a classic board shape? [Open an issue](https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io/issues) with the deck outline, width, length and your source.
79
+
80
+ ## License
81
+
82
+ MIT
@@ -0,0 +1,61 @@
1
+ # custom-skateboard-deck-sizes
2
+
3
+ Real width by length dimensions, truck axle pairings and 300 DPI print specs for 33 skateboard deck shapes. Covers 12 street popsicles (7.25" to 9.5"), 12 shaped and pool decks, 2 cruisers, 2 surfskates and 5 longboards.
4
+
5
+ Use it to pair a deck outline with the right truck axle width or size a heat-transfer print sheet in a skate shop tool, board builder or sizing guide.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pip install custom-skateboard-deck-sizes
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```python
16
+ from custom_skateboard_deck_sizes import DECKS, PRINT_SPEC, by_category, decks_near_width, find_deck
17
+
18
+ find_deck("8.25")
19
+ # {'id': 'popsicle-8-25', 'category': 'Popsicle', 'model': '8.25"', 'widthIn': 8.28, 'lengthIn': 32.6, 'truckAxle': '8.25"', 'use': 'Street, park and wall art'}
20
+
21
+ len(by_category("Shaped"))
22
+ # 12
23
+
24
+ [d["id"] for d in decks_near_width(8.5, 0.1)]
25
+ # ['popsicle-8-5', 'retro-rocket']
26
+
27
+ PRINT_SPEC["dpi"], len(DECKS)
28
+ # (300, 33)
29
+ ```
30
+
31
+ Queries are matched loosely: `8.25`, `popsicle-8-25` and `8.25"` return the same deck entry.
32
+
33
+ ## Data
34
+
35
+ Each entry in `decks` (also in `decks.json`):
36
+
37
+ | Field | Example |
38
+ |---|---|
39
+ | `id` | `popsicle-8-25` |
40
+ | `category` | `Popsicle`, `Shaped`, `Cruiser`, `Surfskate` or `Longboard` |
41
+ | `model` | `8.25"` |
42
+ | `widthIn` | `8.28` |
43
+ | `lengthIn` | `32.6` |
44
+ | `truckAxle` | `8.25"` |
45
+ | `use` | `Street, park and wall art` |
46
+
47
+ Not covered: woodshop-specific concave depth (mellow vs steep), 7-ply maple press variations, or vintage 2.5" vs modern 2.125" truck hole spacing on 80s reissues. Always check the full-bleed template against your print shop's transfer press sheet before running a batch.
48
+
49
+ ## Design graphics for these skateboard decks
50
+
51
+ The shape dimensions come from [Custom Skateboard Decks](https://customskateboarddecks.net), an AI 3D skateboard deck designer. Describe your idea or upload artwork, fit it across any of the 33 deck shapes, customize top grip tape, trucks and wheels, and export 300 DPI print-ready PNG files. **[Open the 3D skateboard deck designer](https://customskateboarddecks.net/design?utm_source=pypi&utm_medium=referral&utm_campaign=pypi)**
52
+
53
+ <img src="https://raw.githubusercontent.com/custom-skateboard-decks/custom-skateboard-decks.github.io/main/assets/deck-3d-editor-preview.webp" width="640" alt="AI generated skateboard deck graphic and grip tape, edited online in 2D and 3D">
54
+
55
+ ## Contributing
56
+
57
+ Spot a sizing error or want to suggest a classic board shape? [Open an issue](https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io/issues) with the deck outline, width, length and your source.
58
+
59
+ ## License
60
+
61
+ MIT
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "custom-skateboard-deck-sizes"
7
+ version = "1.0.0"
8
+ description = "Skateboard deck shapes, width by length dimensions, truck axle pairings and 300 DPI print specs across 33 boards."
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ license = { text = "MIT" }
12
+ authors = [{ name = "Custom Skateboard Decks" }]
13
+ keywords = ["skateboard", "skateboard-deck", "longboard", "surfskate", "deck-sizes"]
14
+ classifiers = [
15
+ "Development Status :: 5 - Production/Stable",
16
+ "Intended Audience :: Developers",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent",
19
+ "Programming Language :: Python :: 3",
20
+ "Topic :: Software Development :: Libraries :: Python Modules",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://customskateboarddecks.net"
25
+ "Online Designer" = "https://customskateboarddecks.net/design?utm_source=pypi&utm_medium=referral&utm_campaign=pypi"
26
+ Repository = "https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io"
27
+ Issues = "https://github.com/custom-skateboard-decks/custom-skateboard-decks.github.io/issues"
@@ -0,0 +1,53 @@
1
+ """Skateboard deck outline dimensions, truck axle pairings and 300 DPI print specs across 33 boards."""
2
+ from __future__ import annotations
3
+
4
+ import json
5
+ import math
6
+ import re
7
+ from importlib import resources
8
+ from typing import Any, Dict, List, Optional, Union
9
+
10
+ __version__ = "1.0.0"
11
+
12
+ _DATA: Dict[str, Any] = json.loads(
13
+ resources.files(__name__).joinpath("decks.json").read_text(encoding="utf-8")
14
+ )
15
+ UPDATED: str = _DATA["updated"]
16
+ PRINT_SPEC: Dict[str, Any] = _DATA["printSpec"]
17
+ DECKS: List[Dict[str, Any]] = _DATA["decks"]
18
+
19
+
20
+ def _norm(value: str) -> str:
21
+ return re.sub(r"[^a-z0-9.]", "", str(value).lower())
22
+
23
+
24
+ def find_deck(query: Union[str, float, int]) -> Optional[Dict[str, Any]]:
25
+ """Find a skateboard deck shape by id, model or nominal width."""
26
+ q = _norm(str(query))
27
+ if not q:
28
+ return None
29
+ for deck in DECKS:
30
+ if _norm(deck["id"]) == q or _norm(deck["model"]) == q:
31
+ return dict(deck)
32
+ for deck in DECKS:
33
+ if q in _norm(deck["model"]) or q in _norm(deck["id"]):
34
+ return dict(deck)
35
+ return None
36
+
37
+
38
+ def by_category(category: str) -> List[Dict[str, Any]]:
39
+ """Return all deck shapes in a board family."""
40
+ c = _norm(category)
41
+ return [dict(d) for d in DECKS if _norm(d["category"]) == c]
42
+
43
+
44
+ def decks_near_width(width_in: float, tolerance_in: float = 0.15) -> List[Dict[str, Any]]:
45
+ """Return decks within tolerance_in inches of width_in."""
46
+ w = float(width_in)
47
+ tol = float(tolerance_in)
48
+ if not math.isfinite(w) or not math.isfinite(tol) or tol < 0:
49
+ return []
50
+ return [dict(d) for d in DECKS if abs(d["widthIn"] - w) <= tol]
51
+
52
+
53
+ __all__ = ["DECKS", "PRINT_SPEC", "UPDATED", "find_deck", "by_category", "decks_near_width"]
@@ -0,0 +1,43 @@
1
+ {
2
+ "updated": "2026-11-16",
3
+ "printSpec": {
4
+ "dpi": 300,
5
+ "filesIncluded": ["full-bleed-deck-png", "cut-outline-deck-png", "grip-tape-print-png"],
6
+ "boltHoleCount": 8
7
+ },
8
+ "decks": [
9
+ { "id": "popsicle-7-25", "category": "Popsicle", "model": "7.25\" Mini / Kids", "widthIn": 7.27, "lengthIn": 29.8, "truckAxle": "7.25\"", "use": "Kids and micro street" },
10
+ { "id": "popsicle-7-5", "category": "Popsicle", "model": "7.5\"", "widthIn": 7.45, "lengthIn": 31.3, "truckAxle": "7.6\"", "use": "Youth technical street" },
11
+ { "id": "popsicle-7-625", "category": "Popsicle", "model": "7.625\"", "widthIn": 7.64, "lengthIn": 31.6, "truckAxle": "7.6\"", "use": "Compact technical flip tricks" },
12
+ { "id": "popsicle-7-75", "category": "Popsicle", "model": "7.75\"", "widthIn": 7.76, "lengthIn": 31.7, "truckAxle": "7.75\"", "use": "Classic narrow street" },
13
+ { "id": "popsicle-7-875", "category": "Popsicle", "model": "7.875\"", "widthIn": 7.80, "lengthIn": 31.9, "truckAxle": "7.75\" to 8.0\"", "use": "Light street and ledges" },
14
+ { "id": "popsicle-8-0", "category": "Popsicle", "model": "8.0\"", "widthIn": 8.01, "lengthIn": 32.3, "truckAxle": "8.0\"", "use": "All-around street standard" },
15
+ { "id": "popsicle-8-25", "category": "Popsicle", "model": "8.25\"", "widthIn": 8.28, "lengthIn": 32.6, "truckAxle": "8.25\"", "use": "Street, park and wall art" },
16
+ { "id": "popsicle-8-5", "category": "Popsicle", "model": "8.5\"", "widthIn": 8.45, "lengthIn": 33.0, "truckAxle": "8.5\"", "use": "Transition, bowls and wide street" },
17
+ { "id": "popsicle-8-75", "category": "Popsicle", "model": "8.75\"", "widthIn": 8.77, "lengthIn": 33.1, "truckAxle": "8.75\"", "use": "Pools, ramps and cruising" },
18
+ { "id": "popsicle-9-0", "category": "Popsicle", "model": "9.0\"", "widthIn": 9.01, "lengthIn": 34.0, "truckAxle": "9.0\"", "use": "Vert, big bowls and wall sets" },
19
+ { "id": "popsicle-9-25", "category": "Popsicle", "model": "9.25\"", "widthIn": 9.25, "lengthIn": 34.2, "truckAxle": "9.0\" to 9.25\"", "use": "Wide pool and curb skating" },
20
+ { "id": "popsicle-9-5", "category": "Popsicle", "model": "9.5\"", "widthIn": 9.50, "lengthIn": 34.4, "truckAxle": "9.5\"", "use": "Extra-wide transition and display" },
21
+ { "id": "twin-tail", "category": "Shaped", "model": "Twin Tail 8.375\"", "widthIn": 8.32, "lengthIn": 32.1, "truckAxle": "8.375\"", "use": "True symmetrical switch street" },
22
+ { "id": "square-nose", "category": "Shaped", "model": "Square Nose", "widthIn": 8.69, "lengthIn": 33.0, "truckAxle": "8.5\" to 8.75\"", "use": "Slappy curbs and park" },
23
+ { "id": "bottle-tail", "category": "Shaped", "model": "Bottle Tail", "widthIn": 8.01, "lengthIn": 31.5, "truckAxle": "8.0\" to 8.25\"", "use": "Shaped street and cruiser" },
24
+ { "id": "egg", "category": "Shaped", "model": "Egg", "widthIn": 9.68, "lengthIn": 32.6, "truckAxle": "8.75\" to 9.125\"", "use": "Wide center with quick flip taper" },
25
+ { "id": "football", "category": "Shaped", "model": "Football", "widthIn": 8.93, "lengthIn": 32.1, "truckAxle": "8.5\" to 8.75\"", "use": "Tapered nose and tail transition" },
26
+ { "id": "retro-rocket", "category": "Shaped", "model": "Retro Rocket", "widthIn": 8.51, "lengthIn": 31.9, "truckAxle": "8.5\"", "use": "80s inspired park and ditch" },
27
+ { "id": "sledge", "category": "Shaped", "model": "Sledge", "widthIn": 9.05, "lengthIn": 32.5, "truckAxle": "9.0\"", "use": "Heavy pool and coping" },
28
+ { "id": "junior-sledge", "category": "Shaped", "model": "Junior Sledge", "widthIn": 7.64, "lengthIn": 28.0, "truckAxle": "7.6\"", "use": "Mid-size shaped park" },
29
+ { "id": "punk-nose", "category": "Shaped", "model": "Punk Nose (Pool)", "widthIn": 9.13, "lengthIn": 33.3, "truckAxle": "9.0\"", "use": "Deep pool riding" },
30
+ { "id": "old-school", "category": "Shaped", "model": "Old School", "widthIn": 9.89, "lengthIn": 29.4, "truckAxle": "9.0\" to 10.0\"", "use": "80s vert, bowl and collector art" },
31
+ { "id": "shredder", "category": "Shaped", "model": "Shredder", "widthIn": 9.92, "lengthIn": 30.5, "truckAxle": "9.0\" to 9.5\"", "use": "Directional park and bowl" },
32
+ { "id": "fish-tail", "category": "Shaped", "model": "Fish Tail", "widthIn": 9.59, "lengthIn": 30.0, "truckAxle": "8.75\" to 9.125\"", "use": "Boardwalk cruiser and surf style" },
33
+ { "id": "cruiser", "category": "Cruiser", "model": "Cruiser", "widthIn": 7.88, "lengthIn": 29.3, "truckAxle": "8.0\"", "use": "Daily city commuting with soft wheels" },
34
+ { "id": "mini-cruiser", "category": "Cruiser", "model": "Mini Cruiser", "widthIn": 7.45, "lengthIn": 24.3, "truckAxle": "7.25\" to 7.6\"", "use": "Backpack commuter board" },
35
+ { "id": "surfskate-swallowtail", "category": "Surfskate", "model": "Swallowtail", "widthIn": 10.25, "lengthIn": 30.0, "truckAxle": "9.0\" surf truck", "use": "Carving and surf training" },
36
+ { "id": "surfskate-squash", "category": "Surfskate", "model": "Squash Tail", "widthIn": 10.00, "lengthIn": 31.0, "truckAxle": "9.0\" surf truck", "use": "Bowl snaps and tight carves" },
37
+ { "id": "pintail", "category": "Longboard", "model": "Pintail", "widthIn": 9.13, "lengthIn": 39.0, "truckAxle": "180mm RKP", "use": "Classic carving longboard" },
38
+ { "id": "kicktail-longboard", "category": "Longboard", "model": "Kicktail", "widthIn": 9.13, "lengthIn": 39.0, "truckAxle": "180mm RKP", "use": "Freestyle and campus cruising" },
39
+ { "id": "drop-through", "category": "Longboard", "model": "Drop Through", "widthIn": 9.05, "lengthIn": 36.3, "truckAxle": "180mm RKP", "use": "Low-push distance and freeride" },
40
+ { "id": "drop-down", "category": "Longboard", "model": "Drop Down", "widthIn": 9.60, "lengthIn": 38.0, "truckAxle": "180mm RKP", "use": "Stable downhill and pushing" },
41
+ { "id": "dancer", "category": "Longboard", "model": "Dancer", "widthIn": 10.00, "lengthIn": 46.0, "truckAxle": "180mm RKP", "use": "Cross-stepping and board dancing" }
42
+ ]
43
+ }