shell-themer


Nameshell-themer JSON
Version 0.3.0 PyPI version JSON
download
home_page
SummaryUse consistent color themes for a variety of command line tools.
upload_time2023-05-07 19:48:51
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2023 kotfu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords shell bash theme command line
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # shell-themer

There are many modern *nix and *bsd command line tools which can output
using a full 16.7 million color palette. For example:

* [fzf](https://github.com/junegunn/fzf)
* [dust](https://github.com/bootandy/dust)
* [bat](https://github.com/sharkdp/bat)
* [gum](https://github.com/charmbracelet/gum)

Even the venerable `ls` can show various types of files in different colors.

Unfortunately, these tools all use slightly different color configuration mechanisms.
With enough fiddling, you can get your shell init scripts to make all these tools
use a similar color scheme, but if you want to change it, you've got a lot of work
ahead.

`shell-themer` uses a single theme configuration file to standardize and unify
a set of color configurations, and generates the shell code to implement those
changes.

All that hand tweaking in your shell init files can now be replaced with:
```
export THEME_FILE=~/themes/dracula.toml
source <(shell-themer generate)
```

This changes all your environment variables and other settings for the many
shell tools you use to reflect the colors in the theme you have specified.

## Installation

You'll need python version 3.7 or higher. Install with pip:
```
pip install shell_themer
```

You need a *nix-ish bash shell environment. Probably works in Windows Subsystem
for Linux, but isn't tested there.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "shell-themer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "shell,bash,theme,command line",
    "author": "",
    "author_email": "Jared Crapo <jared@kotfu.net>",
    "download_url": "https://files.pythonhosted.org/packages/7c/94/fccb72d2b9984191927f7d1b49c8d338faab27fb00784b0422fe57ee32e0/shell-themer-0.3.0.tar.gz",
    "platform": null,
    "description": "# shell-themer\n\nThere are many modern *nix and *bsd command line tools which can output\nusing a full 16.7 million color palette. For example:\n\n* [fzf](https://github.com/junegunn/fzf)\n* [dust](https://github.com/bootandy/dust)\n* [bat](https://github.com/sharkdp/bat)\n* [gum](https://github.com/charmbracelet/gum)\n\nEven the venerable `ls` can show various types of files in different colors.\n\nUnfortunately, these tools all use slightly different color configuration mechanisms.\nWith enough fiddling, you can get your shell init scripts to make all these tools\nuse a similar color scheme, but if you want to change it, you've got a lot of work\nahead.\n\n`shell-themer` uses a single theme configuration file to standardize and unify\na set of color configurations, and generates the shell code to implement those\nchanges.\n\nAll that hand tweaking in your shell init files can now be replaced with:\n```\nexport THEME_FILE=~/themes/dracula.toml\nsource <(shell-themer generate)\n```\n\nThis changes all your environment variables and other settings for the many\nshell tools you use to reflect the colors in the theme you have specified.\n\n## Installation\n\nYou'll need python version 3.7 or higher. Install with pip:\n```\npip install shell_themer\n```\n\nYou need a *nix-ish bash shell environment. Probably works in Windows Subsystem\nfor Linux, but isn't tested there.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 kotfu  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Use consistent color themes for a variety of command line tools.",
    "version": "0.3.0",
    "project_urls": {
        "homepage": "https://github.com/kotfu/shell-themer",
        "repository": "https://github.com/kotfu/shell-themer"
    },
    "split_keywords": [
        "shell",
        "bash",
        "theme",
        "command line"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e6f537e2f47e25582f68efc4ae56093bd7da6edb59386b14a4eb3106acd5499",
                "md5": "daa6c418039ffc273325bcbf28472d17",
                "sha256": "9c8a6c8d7c332e9a026118baab758d828f526e3bd442147eeb8e25302c0f033c"
            },
            "downloads": -1,
            "filename": "shell_themer-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "daa6c418039ffc273325bcbf28472d17",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 17267,
            "upload_time": "2023-05-07T19:48:48",
            "upload_time_iso_8601": "2023-05-07T19:48:48.024555Z",
            "url": "https://files.pythonhosted.org/packages/8e/6f/537e2f47e25582f68efc4ae56093bd7da6edb59386b14a4eb3106acd5499/shell_themer-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7c94fccb72d2b9984191927f7d1b49c8d338faab27fb00784b0422fe57ee32e0",
                "md5": "6ca9e38c9fa79093caf87bc05eb8291c",
                "sha256": "7705b792ac916bf7fca310b58cab3980d2490849fe0b56d628734297dbcb183c"
            },
            "downloads": -1,
            "filename": "shell-themer-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6ca9e38c9fa79093caf87bc05eb8291c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 32349,
            "upload_time": "2023-05-07T19:48:51",
            "upload_time_iso_8601": "2023-05-07T19:48:51.460592Z",
            "url": "https://files.pythonhosted.org/packages/7c/94/fccb72d2b9984191927f7d1b49c8d338faab27fb00784b0422fe57ee32e0/shell-themer-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-07 19:48:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kotfu",
    "github_project": "shell-themer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "shell-themer"
}
        
Elapsed time: 0.08191s