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.8-py3-none-macosx_15_0_x86_64.whl (7.9 MB view details)

Uploaded Python 3macOS 15.0+ x86-64

psproject-1.0.8-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.8-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for psproject-1.0.8-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 1f9b4dea45ea915e97d8da4fee32b22368aa945808d040f42a7eb30960314468
MD5 c9bf61dd21b54f350432c709744de502
BLAKE2b-256 31feebabb53819bc2a958ff17e2842bacbe3c23d9940e7cd70979b4ae4f3ee3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for psproject-1.0.8-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.8-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for psproject-1.0.8-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8eee191411dcbd0479e331b2b517e225b39e836e81f99d48444c55025c8a35df
MD5 923591dd344a7a8188be33f3bb18176e
BLAKE2b-256 d05db7221f69d252d43736f66db3efc137594d5e597a3fdd738c9a7a472023bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for psproject-1.0.8-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