Name | cs-app-osx-defaults JSON |
Version |
20250108
JSON |
| download |
home_page | None |
Summary | Access the MacOS defaults via the `defaults` command. |
upload_time | 2025-01-08 04:08:00 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
python3
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Access the MacOS defaults via the `defaults` command.
*Latest release 20250108*:
Moved @cachedmethod from cs.deco to cs.cache.
## <a name="Defaults"></a>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.
## <a name="defaults"></a>`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.
## <a name="DomainDefaults"></a>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.
Raw data
{
"_id": null,
"home_page": null,
"name": "cs-app-osx-defaults",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python3",
"author": null,
"author_email": "Cameron Simpson <cs@cskk.id.au>",
"download_url": "https://files.pythonhosted.org/packages/3f/2e/922014da179fc12f9a121b90db8afde20377865867186b09dcf77ded5bcc/cs_app_osx_defaults-20250108.tar.gz",
"platform": null,
"description": "Access the MacOS defaults via the `defaults` command.\n\n*Latest release 20250108*:\nMoved @cachedmethod from cs.deco to cs.cache.\n\n## <a name=\"Defaults\"></a>Class `Defaults`\n\nA view of the defaults.\n\n*`Defaults.domains`*:\nReturn a list of the domains present in the defaults.\n\n*`Defaults.run(self, argv, doit=True) -> str`*:\nRun a `defaults` subcommand, return the output decoded from UTF-8.\n\n## <a name=\"defaults\"></a>`defaults(argv, *, host=None, doit=True, **subp)`\n\nRun the `defaults` command with the arguments `argv`.\nIf the optional `host` parameter is supplied,\na value of `'.'` uses the `-currentHost` option\nand other values are used with the `-host` option.\nReturn the `CompletedProcess` result or `None` if `doit` is false.\n\n## <a name=\"DomainDefaults\"></a>Class `DomainDefaults`\n\nA view of the defaults for a particular domain.\n\n*`DomainDefaults.as_dict(self)`*:\nReturn the current defaults as a `dict`.\n\n*`DomainDefaults.flush(self)`*:\nForget any cached information.\n\n# Release Log\n\n\n\n*Release 20250108*:\nMoved @cachedmethod from cs.deco to cs.cache.\n\n*Release 20241122*:\nrun: drop quiet=False parameter, the run() inside defaults() will pick things up.\n\n*Release 20240316*:\nFixed release upload artifacts.\n\n*Release 20240201*:\nInitial PyPI release.\n",
"bugtrack_url": null,
"license": null,
"summary": "Access the MacOS defaults via the `defaults` command.",
"version": "20250108",
"project_urls": {
"MonoRepo Commits": "https://bitbucket.org/cameron_simpson/css/commits/branch/main",
"Monorepo Git Mirror": "https://github.com/cameron-simpson/css",
"Monorepo Hg/Mercurial Mirror": "https://hg.sr.ht/~cameron-simpson/css",
"Source": "https://github.com/cameron-simpson/css/blob/main/lib/python/cs/app/osx/defaults.py"
},
"split_keywords": [
"python3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "df96ba9c2de79bb61424f5638a94980d98ccf07289db1fc7fa43996b401a9ad4",
"md5": "36826b5b5f336cec7d48626293c7074a",
"sha256": "a25c3ed72caffc6b5ba40d5cdac0c2cdb0f7b629a5d3525bfefca976deddcbcc"
},
"downloads": -1,
"filename": "cs_app_osx_defaults-20250108-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "36826b5b5f336cec7d48626293c7074a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 3501,
"upload_time": "2025-01-08T04:07:57",
"upload_time_iso_8601": "2025-01-08T04:07:57.197087Z",
"url": "https://files.pythonhosted.org/packages/df/96/ba9c2de79bb61424f5638a94980d98ccf07289db1fc7fa43996b401a9ad4/cs_app_osx_defaults-20250108-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3f2e922014da179fc12f9a121b90db8afde20377865867186b09dcf77ded5bcc",
"md5": "c75638469f13cf96dbe673b3edd4e54a",
"sha256": "5e2aef1f119883f6ebfd92938faecab9fd759433b8306296575bd4aa56fea5d5"
},
"downloads": -1,
"filename": "cs_app_osx_defaults-20250108.tar.gz",
"has_sig": false,
"md5_digest": "c75638469f13cf96dbe673b3edd4e54a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2909,
"upload_time": "2025-01-08T04:08:00",
"upload_time_iso_8601": "2025-01-08T04:08:00.029160Z",
"url": "https://files.pythonhosted.org/packages/3f/2e/922014da179fc12f9a121b90db8afde20377865867186b09dcf77ded5bcc/cs_app_osx_defaults-20250108.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-08 04:08:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cameron-simpson",
"github_project": "css",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cs-app-osx-defaults"
}