Skip to content
ProjectsWorkSearch

Pylibkit

Toolkit for Apple platforms

Website
Category
Library
Year
2025
Built with
Swift

The toolkit

Templates and a CLI for adding Python to Apple platform projects.

  • Combined Swift project templates with a Python CLI.
  • Worked on Python runtime bundling, code signing, and notarization.
  • Built an early beta alongside usage documentation.
Detailed development notes

Timeline

2025.01 - (in progress)

  • Early beta: developing SwiftPM templates, a CLI, and web documentation in parallel
  • Experimenting with macOS distribution, signing, and notarization

Tools & skills

Skills

  • Swift template design
  • Python-based CLI tooling
  • GitHub Actions
  • Codesign/Notarization pipeline

Motivation

Can we make Python easier to integrate into Apple platform projects? Building on my thread management and Python runtime bundling experience from Applepie-RPC, I wanted to make these capabilities available to anyone through "templates + CLI." The workflow aims to bootstrap new projects in one step by bundling Swift templates and Python scripts.

What I learned

  • Designed a pipeline for generating and extending SwiftPM templates from the CLI
  • Swift <-> Python bridge (Transcript) design, runtime/package bundling
  • Automating codesign/notarization with GitHub Actions while working on documentation and deployment
  • Documented how to embed the Python runtime and packages in macOS apps, including signing and notarization

Results

  • CLI & Templates: Pylibkit — https://pylibkit.org
  • Website/Docs: https://pylibkit.org
  • 2025 · Open Source

Related projects

FloatingHUD

SwiftUI · HUD

A reusable pure-SwiftUI HUD package with draggable, edge-snapping compact and expanded states for metrics and debugging overlays.

2025

RxLocalAuthentication

RxSwift

An open-source RxSwift wrapper around Apple's LocalAuthentication API that exposes Touch ID and Face ID operations as composable Single streams.

2022

CASK

LLM · KV cache

CASK studies KV cache compression during long LLM reasoning. It keeps answer-critical states and merges repeated intermediate states. Published on arXiv on April 13, 2026 (arXiv:2604.10900).

2026