Skip to main content

keychain_access

keychain_access is a simple Python library that wraps the objective-c Security framework to access the macOS keychain, allowing you to store and retrieve passwords for your OSX applications. Due to this, pyobjc is required as a dependency.

Installation

pip install keychain_access

Usage

import keychain_access

# Store a password
keychain_access.set('my_service', 'my_account', 'my_password')

# Retrieve a password
password = keychain_access.get('my_service', 'my_account')

# Delete a password
keychain_access.delete('my_service', 'my_account')

License

MIT

Metadata

Release files for keychain-access 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keychain-access 1.0.0
File Size Uploaded Provenance
keychain_access-1.0.0.tar.gz 77.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for keychain-access 1.0.0
File Interpreter ABI Platform
keychain_access-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 82.3 kB

Release files / keychain_access-1.0.0.tar.gz

Download URL keychain_access-1.0.0.tar.gz
Size 77.8 kB
Tags Source
SHA-256 checksum
How to use checksums
295757b2e0f84bbd644268e3f58d377bf6aab9d3cd433eb668620a27fe74beb6
BLAKE2b-256 checksum
How to use checksums
e7fb00c1ea760b68a6d72a180e31925e0c56bf519e520df1584185ac60ffc139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Release files / keychain_access-1.0.0-py3-none-any.whl

Download URL keychain_access-1.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52de145c72a8224efa32cd0509696c9b22bf51033f1ec0d4cee5409b982289bb
BLAKE2b-256 checksum
How to use checksums
a1eaf5fe6d88b5a73ff071bfe4c5ef6012aba9d57033663f3861a17bc79a28ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.13

Security for keychain-access 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page