🍎 applepy-cli
Build tool for ApplePy — scaffold, build, and publish Swift-powered Python packages.
The equivalent of maturin for PyO3, but for Swift.
Install
# pip
pip install applepy-cli
# uv
uv pip install applepy-cli
Quick Start
applepy new myproject
cd myproject
applepy develop
python myproject/examples/demo.py
# → Hello, World! 🍎
Commands
| Command | Description |
|---|---|
applepy new <name> |
Scaffold a new project with Swift source, pyproject.toml, demo |
applepy develop |
Build Swift extension and install into current environment |
applepy build |
Build a distributable wheel (.whl) |
applepy publish |
Publish to PyPI (or --test for TestPyPI) |
applepy new Options
applepy new myproject # Uses GitHub ApplePy (default)
applepy new myproject --local # Uses local ApplePy checkout
applepy new myproject --applepy-path ../ApplePy # Explicit local path
applepy new myproject -d "My description" # Set project description
Generated Project Structure
myproject/
├── pyproject.toml
├── setup.py
├── README.md
├── myproject/
│ ├── __init__.py
│ └── examples/demo.py
└── swift/
├── Package.swift
└── Sources/MyProject/MyProject.swift
Requirements
- macOS (Apple frameworks require macOS)
- Swift 6.0+ toolchain
- Python 3.10+
License
BSD-3-Clause © Jagtesh Chadha
Metadata
Release files for applepy-cli 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| applepy_cli-0.1.5.tar.gz | 7.6 kB | Without provenance | Details for applepy_cli-0.1.5.tar.gz |
Release files / applepy_cli-0.1.5.tar.gz
| Download URL | applepy_cli-0.1.5.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7e30e728b3ee09d9e968580dd73d871831e8752b044ee91babd25dae34217d1
|
|
BLAKE2b-256 checksum How to use checksums |
42226f265b44512a095013aafcefcb144347b0d6460a2b9fc2b86a3cb7a8d98d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for applepy-cli 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.