Skip to main content

Python CLI tool for Apple service automation - fastlane-compatible authentication and App Store Connect/Developer Portal operations

Project description

Slowlane

CI Python 3.11+ License: MIT Code style: ruff PyPI version

Production-grade Python CLI tool for Apple service automation. A fastlane-compatible solution for authentication and App Store Connect/Developer Portal operations.

📚 Read the full documentation

Features

  • 🔐 Multiple auth modes: JWT API keys, session cookies, interactive login
  • 📱 App Store Connect: Apps, builds, TestFlight management
  • 🔏 Developer Portal: Certificates and provisioning profiles
  • 📦 Upload: IPA upload via iTunes Transporter
  • 🔄 CI-friendly: Works on macOS, Linux, Windows with structured output

Installation

pip install slowlane

Or with Poetry:

poetry add slowlane

Quick Start

Using API Key (Recommended for CI)

# Set environment variables
export ASC_KEY_ID="XXXXXXXXXX"
export ASC_ISSUER_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
export ASC_PRIVATE_KEY="$(cat AuthKey_XXXXXXXXXX.p8)"

# List your apps
slowlane asc apps list

# Upload an IPA
slowlane upload ipa ./MyApp.ipa

Using Session Auth

# Interactive login (opens browser)
slowlane spaceauth login

# Export session for CI
slowlane spaceauth export

# Use session in CI
export FASTLANE_SESSION="..."
slowlane asc apps list

Commands

Command Description
spaceauth login Interactive browser login
spaceauth export Export session as env var
spaceauth verify Test session validity
spaceauth revoke Clear stored session
spaceauth doctor Diagnose auth issues
asc apps list|get Manage apps
asc builds list|latest Manage builds
asc testflight testers|groups|invite TestFlight
signing certs list|create|revoke Certificates
signing profiles list|create|delete Profiles
upload ipa <path> Upload IPA
env print Print CI exports

Configuration

Config file: ~/.config/slowlane/config.toml

[auth]
default_mode = "jwt"  # or "session"

[http]
timeout = 30
max_retries = 3

[output]
format = "text"  # or "json"

CI Examples

GitHub Actions

- name: Upload to App Store
  env:
    ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
    ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
    ASC_PRIVATE_KEY: ${{ secrets.ASC_PRIVATE_KEY }}
  run: |
    pip install slowlane
    slowlane upload ipa ./app.ipa

Security

  • Secrets stored in OS keychain (via keyring) with encrypted fallback
  • Sessions include metadata only (email hashed, never stored plaintext)
  • Passwords never stored - only used to mint sessions interactively
  • All secrets redacted from logs by default

License

MIT

Project details


Download files

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

Source Distribution

slowlane-0.2.3.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

slowlane-0.2.3-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

Details for the file slowlane-0.2.3.tar.gz.

File metadata

  • Download URL: slowlane-0.2.3.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for slowlane-0.2.3.tar.gz
Algorithm Hash digest
SHA256 158fc3290a88b464a4fa367cf07c0eb74e0cefbb48b98b23468f6645a38d4a3b
MD5 050f829fbd0a1a9e53b1eef4a844c242
BLAKE2b-256 f9ffb6cd65e52feaea0da2674686f15ba0d715b4147bf820dd1b564a3f98337c

See more details on using hashes here.

Provenance

The following attestation bundles were made for slowlane-0.2.3.tar.gz:

Publisher: publish.yml on Demoen/slowlane

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

File details

Details for the file slowlane-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: slowlane-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for slowlane-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eb7bfaa054b945d3e8c5222801bc670b5d37a7bc770d29c3504a77aee4b4f8c9
MD5 366cc3c3fc98099c86d419915c6baae6
BLAKE2b-256 b06a5cfe1207ceb8d475f6a019e0e9d75228bf92f2875d0f567534d6b5d52965

See more details on using hashes here.

Provenance

The following attestation bundles were made for slowlane-0.2.3-py3-none-any.whl:

Publisher: publish.yml on Demoen/slowlane

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