Skip to main content

Access the MacOS defaults via the defaults command.

Latest release 20250108: Moved @cachedmethod from cs.deco to cs.cache.

Class Defaults

A view of the defaults.

Defaults.domains: Return a list of the domains present in the defaults.

Defaults.run(self, argv, doit=True) -> str: Run a defaults subcommand, return the output decoded from UTF-8.

defaults(argv, *, host=None, doit=True, **subp)

Run the defaults command with the arguments argv. If the optional host parameter is supplied, a value of '.' uses the -currentHost option and other values are used with the -host option. Return the CompletedProcess result or None if doit is false.

Class DomainDefaults

A view of the defaults for a particular domain.

DomainDefaults.as_dict(self): Return the current defaults as a dict.

DomainDefaults.flush(self): Forget any cached information.

Release Log

Release 20250108: Moved @cachedmethod from cs.deco to cs.cache.

Release 20241122: run: drop quiet=False parameter, the run() inside defaults() will pick things up.

Release 20240316: Fixed release upload artifacts.

Release 20240201: Initial PyPI release.

Metadata

Release files for cs-app-osx-defaults 20250108

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

Source distribution (sdist)

Source distribution for cs-app-osx-defaults 20250108
File Size Uploaded Provenance Actions
cs_app_osx_defaults-20250108.tar.gz 2.9 kB Without provenance Details for cs_app_osx_defaults-20250108.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cs-app-osx-defaults 20250108
File Interpreter ABI Platform Actions
cs_app_osx_defaults-20250108-py2.py3-none-any.whl Python 3, Python 2 none any Details for cs_app_osx_defaults-20250108-py2.py3-none-any.whl

Total release size: 6.4 kB

Release files / cs_app_osx_defaults-20250108.tar.gz

Download URL cs_app_osx_defaults-20250108.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e2aef1f119883f6ebfd92938faecab9fd759433b8306296575bd4aa56fea5d5
BLAKE2b-256 checksum
How to use checksums
3f2e922014da179fc12f9a121b90db8afde20377865867186b09dcf77ded5bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Release files / cs_app_osx_defaults-20250108-py2.py3-none-any.whl

Download URL cs_app_osx_defaults-20250108-py2.py3-none-any.whl
Size 3.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a25c3ed72caffc6b5ba40d5cdac0c2cdb0f7b629a5d3525bfefca976deddcbcc
BLAKE2b-256 checksum
How to use checksums
df96ba9c2de79bb61424f5638a94980d98ccf07289db1fc7fa43996b401a9ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Security for cs-app-osx-defaults 20250108

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