cs-app-osx-defaults


Namecs-app-osx-defaults JSON
Version 20241122 PyPI version JSON
download
home_pageNone
SummaryAccess the MacOS defaults via the `defaults` command.
upload_time2024-11-22 09:21:29
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseGNU General Public License v3 or later (GPLv3+)
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 20241122*:
run: drop quiet=False parameter, the run() inside defaults() will pick things up.

## <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 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/d1/95/9ae598555c2b5e2fafa9c3e3833abe214d0f0545c8421b378335b75f1728/cs_app_osx_defaults-20241122.tar.gz",
    "platform": null,
    "description": "Access the MacOS defaults via the `defaults` command.\n\n*Latest release 20241122*:\nrun: drop quiet=False parameter, the run() inside defaults() will pick things up.\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 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": "GNU General Public License v3 or later (GPLv3+)",
    "summary": "Access the MacOS defaults via the `defaults` command.",
    "version": "20241122",
    "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": "c8d2e5f2d66654d7d62d7db100a4d1cf53493bd120522b73fb1d1c4fcf705e53",
                "md5": "2850a61c3f69f36d346ed2817e80a170",
                "sha256": "9298c21b4da5ecb3342395b284cb48e15bd811b5b2b199b8e8d8941218950c4f"
            },
            "downloads": -1,
            "filename": "cs_app_osx_defaults-20241122-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2850a61c3f69f36d346ed2817e80a170",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3715,
            "upload_time": "2024-11-22T09:21:27",
            "upload_time_iso_8601": "2024-11-22T09:21:27.205052Z",
            "url": "https://files.pythonhosted.org/packages/c8/d2/e5f2d66654d7d62d7db100a4d1cf53493bd120522b73fb1d1c4fcf705e53/cs_app_osx_defaults-20241122-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1959ae598555c2b5e2fafa9c3e3833abe214d0f0545c8421b378335b75f1728",
                "md5": "741c640607c5e2922c133aa4320ec3ac",
                "sha256": "2cfbbe97c01daaf314d090f607b2a51c19f06bd2cd05c17c436873d821633e0b"
            },
            "downloads": -1,
            "filename": "cs_app_osx_defaults-20241122.tar.gz",
            "has_sig": false,
            "md5_digest": "741c640607c5e2922c133aa4320ec3ac",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3689,
            "upload_time": "2024-11-22T09:21:29",
            "upload_time_iso_8601": "2024-11-22T09:21:29.187023Z",
            "url": "https://files.pythonhosted.org/packages/d1/95/9ae598555c2b5e2fafa9c3e3833abe214d0f0545c8421b378335b75f1728/cs_app_osx_defaults-20241122.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-22 09:21:29",
    "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"
}
        
Elapsed time: 0.36037s