prechips 0.0.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.
- prechips/__init__.py +3 -0
- prechips/cli.py +23 -0
- prechips-0.0.1.dist-info/METADATA +28 -0
- prechips-0.0.1.dist-info/RECORD +6 -0
- prechips-0.0.1.dist-info/WHEEL +4 -0
- prechips-0.0.1.dist-info/entry_points.txt +3 -0
prechips/__init__.py
ADDED
prechips/cli.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Command-line entry point. Subcommands land with the milestones in PLAN.md."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
import sys
|
|
7
|
+
|
|
8
|
+
from prechips import __version__
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
12
|
+
parser = argparse.ArgumentParser(prog="prechips", description="Checks before chips.")
|
|
13
|
+
parser.add_argument("--version", action="version", version=f"prechips {__version__}")
|
|
14
|
+
return parser
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def main(argv: list[str] | None = None) -> int:
|
|
18
|
+
build_parser().parse_args(argv)
|
|
19
|
+
return 0
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
if __name__ == "__main__":
|
|
23
|
+
sys.exit(main())
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: prechips
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Checks before chips: deterministic validation of machining process plans against part geometry and a shop inventory.
|
|
5
|
+
Author: Pedro Paulo Vezza Campos
|
|
6
|
+
Author-email: Pedro Paulo Vezza Campos <pedro@vezza.com.br>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: Scientific/Engineering
|
|
11
|
+
Requires-Dist: pydantic>=2.9
|
|
12
|
+
Requires-Dist: pyyaml>=6.0
|
|
13
|
+
Requires-Python: >=3.12
|
|
14
|
+
Project-URL: Homepage, https://github.com/pedropaulovc/prechips
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# prechips
|
|
18
|
+
|
|
19
|
+
Checks before chips. Deterministic validation of a machining process plan —
|
|
20
|
+
stock, setups, workholding, order of operations, DRO coordinates — against the
|
|
21
|
+
part's STEP geometry and one specific shop's inventory, producing a findings
|
|
22
|
+
report and a traveler sheet. Built for a manual mill + lathe shop with digital
|
|
23
|
+
positioning (cncjs + pendant + DRO emulator), not for CAM.
|
|
24
|
+
|
|
25
|
+
Plan only for now: see [PLAN.md](PLAN.md). Sample shop inventory in
|
|
26
|
+
[examples/inventory/pedro-shop.yaml](examples/inventory/pedro-shop.yaml) (sample; users supply their own).
|
|
27
|
+
|
|
28
|
+
Consumer: [harmonic-analyzer](https://github.com/pedropaulovc/harmonic-analyzer).
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
prechips/__init__.py,sha256=qFCjBxOzYUwOuyqzQsUmrXGim4cxKquX2SgFn8xBd_Q,60
|
|
2
|
+
prechips/cli.py,sha256=sRiRaJG5Y6rxB7gGvVU5c0SCvPEciAiZbIARz9Bytv8,575
|
|
3
|
+
prechips-0.0.1.dist-info/WHEEL,sha256=rp-k_VZaX8oABFEtLwG_Df95p8LSKt9-uPyQ4jKH0P4,81
|
|
4
|
+
prechips-0.0.1.dist-info/entry_points.txt,sha256=BZyN__ZnFs5-c34dvXTs3Ys15Eh3YBXE1ZY8KVdWANk,48
|
|
5
|
+
prechips-0.0.1.dist-info/METADATA,sha256=3svP07NhYn2PIquCgnYRptP2PyVrhsyhVV3XXHiYko0,1264
|
|
6
|
+
prechips-0.0.1.dist-info/RECORD,,
|