Access the MacOS defaults via the defaults command.
Latest release 20241122: run: drop quiet=False parameter, the run() inside defaults() will pick things up.
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 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.
Release files for cs-app-osx-defaults 20241122
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs_app_osx_defaults-20241122.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cs_app_osx_defaults-20241122-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / cs_app_osx_defaults-20241122.tar.gz
| Download URL | cs_app_osx_defaults-20241122.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cfbbe97c01daaf314d090f607b2a51c19f06bd2cd05c17c436873d821633e0b
|
|
BLAKE2b-256 checksum How to use checksums |
d1959ae598555c2b5e2fafa9c3e3833abe214d0f0545c8421b378335b75f1728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Release files / cs_app_osx_defaults-20241122-py3-none-any.whl
| Download URL | cs_app_osx_defaults-20241122-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9298c21b4da5ecb3342395b284cb48e15bd811b5b2b199b8e8d8941218950c4f
|
|
BLAKE2b-256 checksum How to use checksums |
c8d2e5f2d66654d7d62d7db100a4d1cf53493bd120522b73fb1d1c4fcf705e53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|