Skip to main content

Automated codesigning and notarization of a macOS app.

Project description

This python package provides one class, Notarizer, which is intended as a base class for a python object which automatically notarizes a signed macOS application bundle. The subclass which does the actual notarization needs to provide a method build_dmg which builds the disk image that will be used to distribute the app.

Apple’s notarization process involves a complex dance which is performed by this object. First the signed app is packaged in a disk image and sent to Apple for notarization. Then the notarization ticket is stapled to the app and the app is repackaged in a new disk image which is signed and sent to Apple for a second notarization. Finally the notarization ticket can be stapled to the disk image itself.

The credentials and parameters which are needed for the various notarization steps are provided in a config file which should be in the current directory and should have the following structure:

[developer]
username = <your app store id or email>
password = <your app-specific password>
identity = <the signing identity you used to sign your app>

[app]
app_name = <name of the app>
app_path = <path to the application bundle>
dmg_path = <path to the disk image that your build_dmg method will create>
bundle_id = <an (arbitrary) bundle identifier that you provide for the request>

This package is available from pypi:

pip install notabot

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

notabot-1.3.2.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

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

notabot-1.3.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file notabot-1.3.2.tar.gz.

File metadata

  • Download URL: notabot-1.3.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for notabot-1.3.2.tar.gz
Algorithm Hash digest
SHA256 2b7bb2064c377c5f366b74f6beadb63b5db02da053ad1e0a5bc2e6f7a64d6f2e
MD5 c921d5ade340f97665a7972517a22a17
BLAKE2b-256 5ba379c185dbe732511952a38a51d7911ee3bc8e3f4746d5969a1a55d2c01436

See more details on using hashes here.

File details

Details for the file notabot-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: notabot-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for notabot-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8194c1ffcfc4d6dff8631a48c6ef5d2d8321c1e0e950e2601a4c618eceefaf77
MD5 de81d2956e1ebcc8c0d04af2e9236420
BLAKE2b-256 3a57865a3cd762cb0c11b23d95aa382cfc8c0a56ed7aaccaac270a11ced2b1e2

See more details on using hashes here.

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