mlx-cv 0.0.1__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,60 @@
1
+ name: Publish to PyPI
2
+
3
+ # Trusted publishing (OIDC) — no API tokens.
4
+ # Matches the PyPI publisher config: repo appautomaton/mlx-cv,
5
+ # workflow file workflow.yml, environment "pypi".
6
+
7
+ on:
8
+ release:
9
+ types: [published]
10
+ workflow_dispatch:
11
+
12
+ permissions:
13
+ contents: read
14
+
15
+ jobs:
16
+ build:
17
+ name: Build distribution
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.x"
26
+
27
+ - name: Build sdist and wheel
28
+ run: |
29
+ python -m pip install --upgrade build
30
+ python -m build
31
+
32
+ - name: Check distribution metadata
33
+ run: |
34
+ python -m pip install --upgrade twine
35
+ python -m twine check dist/*
36
+
37
+ - name: Upload build artifacts
38
+ uses: actions/upload-artifact@v4
39
+ with:
40
+ name: dist
41
+ path: dist/
42
+
43
+ publish:
44
+ name: Publish to PyPI
45
+ needs: build
46
+ runs-on: ubuntu-latest
47
+ environment:
48
+ name: pypi
49
+ url: https://pypi.org/project/mlx-cv/
50
+ permissions:
51
+ id-token: write # required for trusted publishing
52
+ steps:
53
+ - name: Download build artifacts
54
+ uses: actions/download-artifact@v4
55
+ with:
56
+ name: dist
57
+ path: dist/
58
+
59
+ - name: Publish to PyPI
60
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,40 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+
7
+ # Distribution / packaging
8
+ .Python
9
+ build/
10
+ develop-eggs/
11
+ dist/
12
+ downloads/
13
+ eggs/
14
+ .eggs/
15
+ lib/
16
+ lib64/
17
+ parts/
18
+ sdist/
19
+ var/
20
+ wheels/
21
+ *.egg-info/
22
+ .installed.cfg
23
+ *.egg
24
+
25
+ # Virtual environments
26
+ .venv/
27
+ venv/
28
+ env/
29
+ ENV/
30
+
31
+ # Tooling caches
32
+ .mypy_cache/
33
+ .ruff_cache/
34
+ .pytest_cache/
35
+ .tox/
36
+
37
+ # Editors / OS
38
+ .idea/
39
+ .vscode/
40
+ .DS_Store
mlx_cv-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AppAutomaton
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.
mlx_cv-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,66 @@
1
+ Metadata-Version: 2.4
2
+ Name: mlx-cv
3
+ Version: 0.0.1
4
+ Summary: MLX-native computer vision for Apple Silicon: object detection, segmentation, and open-vocabulary grounding.
5
+ Project-URL: Homepage, https://github.com/appautomaton/mlx-cv
6
+ Project-URL: Repository, https://github.com/appautomaton/mlx-cv
7
+ Project-URL: Issues, https://github.com/appautomaton/mlx-cv/issues
8
+ Author-email: AppAutomaton <brian@bhoneycutt.com>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: apple-silicon,computer-vision,locate-anything,mlx,object-detection,open-vocabulary,sam,segmentation
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Classifier: Topic :: Scientific/Engineering :: Image Recognition
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: >=3.9
26
+ Description-Content-Type: text/markdown
27
+
28
+ # mlx-cv
29
+
30
+ **MLX-native computer vision for Apple Silicon** — object detection, segmentation, and open-vocabulary grounding.
31
+
32
+ [![PyPI](https://img.shields.io/pypi/v/mlx-cv.svg)](https://pypi.org/project/mlx-cv/)
33
+ [![Python](https://img.shields.io/pypi/pyversions/mlx-cv.svg)](https://pypi.org/project/mlx-cv/)
34
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
35
+
36
+ > ⚠️ **Pre-alpha / placeholder.** This release reserves the package name. The public API is not yet defined and will change without notice.
37
+
38
+ ## What is this?
39
+
40
+ `mlx-cv` aims to be the detection & segmentation layer for the [MLX](https://github.com/ml-explore/mlx) ecosystem — sitting alongside `mlx-lm` and `mlx-vlm`, but focused on computer-vision tasks that run natively and efficiently on Apple Silicon.
41
+
42
+ ### Planned model support
43
+
44
+ - **SAM 3** — promptable segmentation
45
+ - **LocateAnything** — open-vocabulary detection / localization
46
+ - …and more detection / grounding architectures over time
47
+
48
+ ## Installation
49
+
50
+ ```bash
51
+ pip install mlx-cv
52
+ ```
53
+
54
+ > Requires Python 3.9+ and an Apple Silicon Mac (for the eventual MLX runtime).
55
+
56
+ ## Status
57
+
58
+ | Stage | Status |
59
+ |-------|--------|
60
+ | Name reserved on PyPI | ✅ |
61
+ | Public API | 🚧 in design |
62
+ | First model port | 🚧 planned |
63
+
64
+ ## License
65
+
66
+ [MIT](LICENSE) © AppAutomaton
mlx_cv-0.0.1/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # mlx-cv
2
+
3
+ **MLX-native computer vision for Apple Silicon** — object detection, segmentation, and open-vocabulary grounding.
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/mlx-cv.svg)](https://pypi.org/project/mlx-cv/)
6
+ [![Python](https://img.shields.io/pypi/pyversions/mlx-cv.svg)](https://pypi.org/project/mlx-cv/)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
8
+
9
+ > ⚠️ **Pre-alpha / placeholder.** This release reserves the package name. The public API is not yet defined and will change without notice.
10
+
11
+ ## What is this?
12
+
13
+ `mlx-cv` aims to be the detection & segmentation layer for the [MLX](https://github.com/ml-explore/mlx) ecosystem — sitting alongside `mlx-lm` and `mlx-vlm`, but focused on computer-vision tasks that run natively and efficiently on Apple Silicon.
14
+
15
+ ### Planned model support
16
+
17
+ - **SAM 3** — promptable segmentation
18
+ - **LocateAnything** — open-vocabulary detection / localization
19
+ - …and more detection / grounding architectures over time
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ pip install mlx-cv
25
+ ```
26
+
27
+ > Requires Python 3.9+ and an Apple Silicon Mac (for the eventual MLX runtime).
28
+
29
+ ## Status
30
+
31
+ | Stage | Status |
32
+ |-------|--------|
33
+ | Name reserved on PyPI | ✅ |
34
+ | Public API | 🚧 in design |
35
+ | First model port | 🚧 planned |
36
+
37
+ ## License
38
+
39
+ [MIT](LICENSE) © AppAutomaton
@@ -0,0 +1,47 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "mlx-cv"
7
+ version = "0.0.1"
8
+ description = "MLX-native computer vision for Apple Silicon: object detection, segmentation, and open-vocabulary grounding."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [{ name = "AppAutomaton", email = "brian@bhoneycutt.com" }]
14
+ keywords = [
15
+ "mlx",
16
+ "computer-vision",
17
+ "object-detection",
18
+ "segmentation",
19
+ "open-vocabulary",
20
+ "apple-silicon",
21
+ "sam",
22
+ "locate-anything",
23
+ ]
24
+ classifiers = [
25
+ "Development Status :: 1 - Planning",
26
+ "Intended Audience :: Developers",
27
+ "Intended Audience :: Science/Research",
28
+ "Operating System :: MacOS",
29
+ "Programming Language :: Python :: 3",
30
+ "Programming Language :: Python :: 3.9",
31
+ "Programming Language :: Python :: 3.10",
32
+ "Programming Language :: Python :: 3.11",
33
+ "Programming Language :: Python :: 3.12",
34
+ "Programming Language :: Python :: 3.13",
35
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
36
+ "Topic :: Scientific/Engineering :: Image Recognition",
37
+ "Typing :: Typed",
38
+ ]
39
+ dependencies = []
40
+
41
+ [project.urls]
42
+ Homepage = "https://github.com/appautomaton/mlx-cv"
43
+ Repository = "https://github.com/appautomaton/mlx-cv"
44
+ Issues = "https://github.com/appautomaton/mlx-cv/issues"
45
+
46
+ [tool.hatch.build.targets.wheel]
47
+ packages = ["src/mlx_cv"]
@@ -0,0 +1,15 @@
1
+ """mlx-cv: MLX-native computer vision for Apple Silicon.
2
+
3
+ This is a placeholder release that reserves the package name on PyPI.
4
+
5
+ Planned scope: object detection, segmentation, and open-vocabulary
6
+ grounding models running natively on Apple's MLX framework — including
7
+ ports of models such as SAM 3 and LocateAnything.
8
+
9
+ Status: pre-alpha (planning). The public API is not yet defined and
10
+ will change without notice.
11
+ """
12
+
13
+ __version__ = "0.0.1"
14
+
15
+ __all__ = ["__version__"]