{ "info": { "author": "Antonio Todorov", "author_email": "taeskow@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Pytest", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Terminals :: Terminal Emulators/X Terminals", "Topic :: Utilities" ], "description": "xthematic\n=========\n\nmodify, save and load terminal colors in a convenient manner.\n\nQuick Demo\n~~~~~~~~~~\n\nA demo youtube video is available below that showcases the following:\n\n- set colors from the terminal through hex codes:\n- save the current colors as a theme with some name\n- activate a theme in the terminal\n\n|xthematic demo gif|\n\nInstallation\n~~~~~~~~~~~~\n\npython 3.6+ and pip are required.\n\n.. code:: bash\n\n pip install xthematic\n\nDevelopment version\n'''''''''''''''''''\n\n.. code:: bash\n\n git clone https://github.com/taesko/xthematic.git && cd xthematic\n pip install --user .\n\nLogging setup (optional)\n''''''''''''''''''''''''\n\nLogs are written to /var/log/xthematic.log if this file doesn't exist or\ncan't be created because of permissions a warning is printed when the\napp is invoked. Backups logs are written to\n$XDG_CONFIG_HOME/xthematic/logs. You need to create the\n/var/log/xthematic.log file with r/w permissions if you want to avoid\nthis.\n\n.. code:: bash\n\n sudo touch /var/log/xthematic.log\n sudo chown username: /var/log/xthematic.log\n\nBasic Usage\n~~~~~~~~~~~\n\nComplete help can be found at ``xthematic --help``.\n\nThe single executable ``xthematic`` is split into 3 subcommands -\n``view``, ``color`` and ``theme``\n\nxthematic view\n^^^^^^^^^^^^^^\n\nView colors in various formats through the terminal.\n\nTakes a variable number of arguments in a colorview format and prints a\nline with specific text, foreground and background colors.\n\nthe colorview format is made out of 3 fields seperated by ':' and fields\ncan be left empty to specify default values.\n\n``{foreground_hex}:{background_hex}:{string}``\n\nNote - '#' can be omitted at the start of hex codes.\n\ne.g. ``FF0000:00FF00:\"Hello World\"`` - print \"Hello World\" with red text\nand green background. \\`FF0000::\"Hello World\"' - print \"Hello World\"\nwith red text and default background.\n\nxthematic color\n^^^^^^^^^^^^^^^\n\nView or set terminal colors.\n\nTakes two arguments - ``color_id`` and ``color``\\ (optional). The first\nmust be an integer between 0 and 16 while the second a valid hex code\n(the '#' can be omitted)\n\nIf only color_id is supplied the respectful terminal color is printed.\nIf both arguments are supplied that terminal color is set to the hex\nvalue until the terminal session is closed.\n\nxthematic theme\n^^^^^^^^^^^^^^^\n\nActivate, save and deactivate themes.\n\nTakes a single argument - a name of a theme. Without any other optional\narguments prints the colors of the theme to the terminal. If a theme\nname is not given it prints the current terminal colors.\n\nUse the -a, -s, -d feature switches to activate, save or deactivate\nthemes.\n\nDocumentation\n~~~~~~~~~~~~~\n\nMan or info pages are not written the most complete documentation is:\n``xthematic --help``\n\nLicense\n~~~~~~~\n\nThis project is licensed under the MIT License - see the\n`LICENSE `__\nfile for details.\n\nAuthors\n~~~~~~~\n\n- Antonio Todorov\n\nAcknowledgements\n~~~~~~~~~~~~~~~~\n\n- the `pywal `__ project for\n inspiration and example of code printing escape sequences which was\n part of the earliest version.\n\n.. |xthematic demo gif| image:: https://img.youtube.com/vi/w0SPD3lVWHE/0.jpg\n :target: https://www.youtube.com/watch?v=w0SPD3lVWHE\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/taesko/xthematic", "keywords": "cli application terminal emulator theme customize X XResources", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xthematic", "package_url": "https://pypi.org/project/xthematic/", "platform": "", "project_url": "https://pypi.org/project/xthematic/", "project_urls": { "Homepage": "https://github.com/taesko/xthematic" }, "release_url": "https://pypi.org/project/xthematic/0.0.3/", "requires_dist": [ "click", "xparser (>=0.0.4)", "sty" ], "requires_python": ">=3.6.0", "summary": "cli app for customizing terminals", "version": "0.0.3" }, "last_serial": 3847115, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "f10dabbe0d7a975df189c29795701198", "sha256": "e8ff38fc0e36ffea045fa3aa1aca1d5fca32ea919f53fdf56d6c156a3339b2c6" }, "downloads": -1, "filename": "xthematic-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f10dabbe0d7a975df189c29795701198", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14299, "upload_time": "2018-05-09T11:04:26", "url": "https://files.pythonhosted.org/packages/20/5b/a7e0e5998c8b954cdfa0078e0129d6da9b311442fb4f1605c7b50ae8a80b/xthematic-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf706547c5b16d474ccc0c65ff9b48c9", "sha256": "2bf0143af60446108ac55baa967592e75c8f8f0460d94ddd066c048b66b4aee2" }, "downloads": -1, "filename": "xthematic-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cf706547c5b16d474ccc0c65ff9b48c9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 13273, "upload_time": "2018-05-09T11:04:27", "url": "https://files.pythonhosted.org/packages/47/3f/d2c7ab98fd1e6df4210c028c4b58c196854ae3983a18f2e6b83301c42145/xthematic-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f10dabbe0d7a975df189c29795701198", "sha256": "e8ff38fc0e36ffea045fa3aa1aca1d5fca32ea919f53fdf56d6c156a3339b2c6" }, "downloads": -1, "filename": "xthematic-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f10dabbe0d7a975df189c29795701198", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 14299, "upload_time": "2018-05-09T11:04:26", "url": "https://files.pythonhosted.org/packages/20/5b/a7e0e5998c8b954cdfa0078e0129d6da9b311442fb4f1605c7b50ae8a80b/xthematic-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf706547c5b16d474ccc0c65ff9b48c9", "sha256": "2bf0143af60446108ac55baa967592e75c8f8f0460d94ddd066c048b66b4aee2" }, "downloads": -1, "filename": "xthematic-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cf706547c5b16d474ccc0c65ff9b48c9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 13273, "upload_time": "2018-05-09T11:04:27", "url": "https://files.pythonhosted.org/packages/47/3f/d2c7ab98fd1e6df4210c028c4b58c196854ae3983a18f2e6b83301c42145/xthematic-0.0.3.tar.gz" } ] }