applepy-cli 0.1.0__tar.gz → 0.1.2__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,81 @@
1
+ Metadata-Version: 2.4
2
+ Name: applepy-cli
3
+ Version: 0.1.2
4
+ Summary: Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages
5
+ Author: Jagtesh Chadha
6
+ License: BSD-3-Clause
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Operating System :: MacOS
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Topic :: Software Development :: Build Tools
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+
14
+ # 🍎 applepy-cli
15
+
16
+ **Build tool for [ApplePy](https://github.com/jagtesh/ApplePy)** — scaffold, build, and publish Swift-powered Python packages.
17
+
18
+ The equivalent of [maturin](https://github.com/PyO3/maturin) for PyO3, but for Swift.
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ # pip
24
+ pip install applepy-cli
25
+
26
+ # uv
27
+ uv pip install applepy-cli
28
+ ```
29
+
30
+ ## Quick Start
31
+
32
+ ```bash
33
+ applepy new myproject
34
+ cd myproject
35
+ applepy develop
36
+ python myproject/examples/demo.py
37
+ # → Hello, World! 🍎
38
+ ```
39
+
40
+ ## Commands
41
+
42
+ | Command | Description |
43
+ |---------|-------------|
44
+ | `applepy new <name>` | Scaffold a new project with Swift source, `pyproject.toml`, demo |
45
+ | `applepy develop` | Build Swift extension and install into current environment |
46
+ | `applepy build` | Build a distributable wheel (`.whl`) |
47
+ | `applepy publish` | Publish to PyPI (or `--test` for TestPyPI) |
48
+
49
+ ## `applepy new` Options
50
+
51
+ ```bash
52
+ applepy new myproject # Uses GitHub ApplePy (default)
53
+ applepy new myproject --local # Uses local ApplePy checkout
54
+ applepy new myproject --applepy-path ../ApplePy # Explicit local path
55
+ applepy new myproject -d "My description" # Set project description
56
+ ```
57
+
58
+ ## Generated Project Structure
59
+
60
+ ```
61
+ myproject/
62
+ ├── pyproject.toml
63
+ ├── setup.py
64
+ ├── README.md
65
+ ├── myproject/
66
+ │ ├── __init__.py
67
+ │ └── examples/demo.py
68
+ └── swift/
69
+ ├── Package.swift
70
+ └── Sources/MyProject/MyProject.swift
71
+ ```
72
+
73
+ ## Requirements
74
+
75
+ - **macOS** (Apple frameworks require macOS)
76
+ - **Swift 6.0+** toolchain
77
+ - **Python 3.10+**
78
+
79
+ ## License
80
+
81
+ BSD-3-Clause © Jagtesh Chadha
@@ -0,0 +1,68 @@
1
+ # 🍎 applepy-cli
2
+
3
+ **Build tool for [ApplePy](https://github.com/jagtesh/ApplePy)** — scaffold, build, and publish Swift-powered Python packages.
4
+
5
+ The equivalent of [maturin](https://github.com/PyO3/maturin) for PyO3, but for Swift.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ # pip
11
+ pip install applepy-cli
12
+
13
+ # uv
14
+ uv pip install applepy-cli
15
+ ```
16
+
17
+ ## Quick Start
18
+
19
+ ```bash
20
+ applepy new myproject
21
+ cd myproject
22
+ applepy develop
23
+ python myproject/examples/demo.py
24
+ # → Hello, World! 🍎
25
+ ```
26
+
27
+ ## Commands
28
+
29
+ | Command | Description |
30
+ |---------|-------------|
31
+ | `applepy new <name>` | Scaffold a new project with Swift source, `pyproject.toml`, demo |
32
+ | `applepy develop` | Build Swift extension and install into current environment |
33
+ | `applepy build` | Build a distributable wheel (`.whl`) |
34
+ | `applepy publish` | Publish to PyPI (or `--test` for TestPyPI) |
35
+
36
+ ## `applepy new` Options
37
+
38
+ ```bash
39
+ applepy new myproject # Uses GitHub ApplePy (default)
40
+ applepy new myproject --local # Uses local ApplePy checkout
41
+ applepy new myproject --applepy-path ../ApplePy # Explicit local path
42
+ applepy new myproject -d "My description" # Set project description
43
+ ```
44
+
45
+ ## Generated Project Structure
46
+
47
+ ```
48
+ myproject/
49
+ ├── pyproject.toml
50
+ ├── setup.py
51
+ ├── README.md
52
+ ├── myproject/
53
+ │ ├── __init__.py
54
+ │ └── examples/demo.py
55
+ └── swift/
56
+ ├── Package.swift
57
+ └── Sources/MyProject/MyProject.swift
58
+ ```
59
+
60
+ ## Requirements
61
+
62
+ - **macOS** (Apple frameworks require macOS)
63
+ - **Swift 6.0+** toolchain
64
+ - **Python 3.10+**
65
+
66
+ ## License
67
+
68
+ BSD-3-Clause © Jagtesh Chadha
@@ -0,0 +1,81 @@
1
+ Metadata-Version: 2.4
2
+ Name: applepy-cli
3
+ Version: 0.1.2
4
+ Summary: Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages
5
+ Author: Jagtesh Chadha
6
+ License: BSD-3-Clause
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Operating System :: MacOS
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Topic :: Software Development :: Build Tools
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+
14
+ # 🍎 applepy-cli
15
+
16
+ **Build tool for [ApplePy](https://github.com/jagtesh/ApplePy)** — scaffold, build, and publish Swift-powered Python packages.
17
+
18
+ The equivalent of [maturin](https://github.com/PyO3/maturin) for PyO3, but for Swift.
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ # pip
24
+ pip install applepy-cli
25
+
26
+ # uv
27
+ uv pip install applepy-cli
28
+ ```
29
+
30
+ ## Quick Start
31
+
32
+ ```bash
33
+ applepy new myproject
34
+ cd myproject
35
+ applepy develop
36
+ python myproject/examples/demo.py
37
+ # → Hello, World! 🍎
38
+ ```
39
+
40
+ ## Commands
41
+
42
+ | Command | Description |
43
+ |---------|-------------|
44
+ | `applepy new <name>` | Scaffold a new project with Swift source, `pyproject.toml`, demo |
45
+ | `applepy develop` | Build Swift extension and install into current environment |
46
+ | `applepy build` | Build a distributable wheel (`.whl`) |
47
+ | `applepy publish` | Publish to PyPI (or `--test` for TestPyPI) |
48
+
49
+ ## `applepy new` Options
50
+
51
+ ```bash
52
+ applepy new myproject # Uses GitHub ApplePy (default)
53
+ applepy new myproject --local # Uses local ApplePy checkout
54
+ applepy new myproject --applepy-path ../ApplePy # Explicit local path
55
+ applepy new myproject -d "My description" # Set project description
56
+ ```
57
+
58
+ ## Generated Project Structure
59
+
60
+ ```
61
+ myproject/
62
+ ├── pyproject.toml
63
+ ├── setup.py
64
+ ├── README.md
65
+ ├── myproject/
66
+ │ ├── __init__.py
67
+ │ └── examples/demo.py
68
+ └── swift/
69
+ ├── Package.swift
70
+ └── Sources/MyProject/MyProject.swift
71
+ ```
72
+
73
+ ## Requirements
74
+
75
+ - **macOS** (Apple frameworks require macOS)
76
+ - **Swift 6.0+** toolchain
77
+ - **Python 3.10+**
78
+
79
+ ## License
80
+
81
+ BSD-3-Clause © Jagtesh Chadha
@@ -1,3 +1,4 @@
1
+ README.md
1
2
  applepy_cli.py
2
3
  pyproject.toml
3
4
  applepy_cli.egg-info/PKG-INFO
@@ -21,7 +21,7 @@ import sysconfig
21
21
  from pathlib import Path
22
22
  from textwrap import dedent
23
23
 
24
- __version__ = "0.1.0"
24
+ __version__ = "0.1.2"
25
25
 
26
26
  # ApplePy Swift package — used when generating Package.swift for new projects
27
27
  APPLEPY_GITHUB_URL = "https://github.com/jagtesh/ApplePy.git"
@@ -46,7 +46,6 @@ classifiers = [
46
46
  "Development Status :: 3 - Alpha",
47
47
  "Operating System :: MacOS",
48
48
  "Programming Language :: Python :: 3",
49
- "Programming Language :: Swift",
50
49
  ]
51
50
 
52
51
  [tool.setuptools.packages.find]
@@ -140,7 +139,7 @@ for _attr in dir(_native):
140
139
  if not _attr.startswith("_"):
141
140
  globals()[_attr] = getattr(_native, _attr)
142
141
 
143
- __version__ = "0.1.0"
142
+ __version__ = "0.1.2"
144
143
  '''
145
144
 
146
145
  # Two Package.swift templates: one for GitHub (default), one for local dev
@@ -4,8 +4,9 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "applepy-cli"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages"
9
+ readme = "README.md"
9
10
  license = {text = "BSD-3-Clause"}
10
11
  authors = [{name = "Jagtesh Chadha"}]
11
12
  requires-python = ">=3.10"
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: applepy-cli
3
- Version: 0.1.0
4
- Summary: Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages
5
- Author: Jagtesh Chadha
6
- License: BSD-3-Clause
7
- Classifier: Development Status :: 3 - Alpha
8
- Classifier: Operating System :: MacOS
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Topic :: Software Development :: Build Tools
11
- Requires-Python: >=3.10
@@ -1,11 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: applepy-cli
3
- Version: 0.1.0
4
- Summary: Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages
5
- Author: Jagtesh Chadha
6
- License: BSD-3-Clause
7
- Classifier: Development Status :: 3 - Alpha
8
- Classifier: Operating System :: MacOS
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Topic :: Software Development :: Build Tools
11
- Requires-Python: >=3.10
File without changes