Skip to main content

Tool to create PySwiftKit based Apps

Project description

PSProject

Tool to create PySwiftKit based Apps

Create a New Project

First, create a new project which will generate a pyproject.toml file:

#psproject init HelloWorld
uv init --package HelloWorld --python 3.13.8

Navigate to the new project directory:

cd HelloWorld

Or open it in VS Code:

code HelloWorld
uv add kivy
uv add psproject --dev

psproject is part of the app development and should only be added in dev mode, which uv automatic enables by default. pips added in dev group, won't be included in the macos/ios site-packages

uv run psproject init

Configure for Kivy

The generated pyproject.toml will contain default configuration. To create a Kivy-based app, add Kivy to the project dependencies and configure the PSProject backends:

[project]
authors = [ { email = "foo@baz.com", name = "somebody" } ]
dependencies = [
    "kivy"
]
description = "Add your description here"
name = "helloworld"
readme = "README.md"
requires-python = ">=3.13.8"
version = "0.1.0"

[tool.psproject]
app_name = "HelloWorld"
backends = [
    "kivyschool.kivylauncher"
]
cythonized = false
pip_install_app = true

Create Xcode Project

Generate the Xcode project:

uv run psproject create xcode

Update Site Packages

To update the Xcode project's site-packages:

uv run psproject update site-packages

Additional Resources

License

MIT License - See LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

psproject-1.0.9-py3-none-macosx_15_0_x86_64.whl (7.9 MB view details)

Uploaded Python 3macOS 15.0+ x86-64

psproject-1.0.9-py3-none-macosx_15_0_arm64.whl (7.9 MB view details)

Uploaded Python 3macOS 15.0+ ARM64

File details

Details for the file psproject-1.0.9-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for psproject-1.0.9-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6620e1d7ad55c1699787b2c16b67a6ee9afa4fc72812b15f0441c28be4e917d7
MD5 38efea79ab266b7c72a905b35a8d9afb
BLAKE2b-256 8deae4c9c1f6cb046b38a5e51a55c88f910aa6d7f8160af1125b05991b44a7bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for psproject-1.0.9-py3-none-macosx_15_0_x86_64.whl:

Publisher: python-publish.yml on Py-Swift/PSProject

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file psproject-1.0.9-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for psproject-1.0.9-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a3fbfeb6cef23fb6fca0071e0a41ed29193c3beccf76176f0a899dfce1415230
MD5 1aafc590c26d9f44ccec7db35d94736d
BLAKE2b-256 cfa004be354dba6121569a36b60a7f35485dc7d40d9ae17463ec2a37d6d0df14

See more details on using hashes here.

Provenance

The following attestation bundles were made for psproject-1.0.9-py3-none-macosx_15_0_arm64.whl:

Publisher: python-publish.yml on Py-Swift/PSProject

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page