tailwind-colors


Nametailwind-colors JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/dostuffthatmatters/python-tailwind-colors
SummaryUse the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc.
upload_time2023-05-27 21:25:37
maintainer
docs_urlNone
authorMoritz Makowski
requires_python>=3.8,<4.0
licenseMIT
keywords plotting design colors tailwind css matplotlib
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Tailwind Colors

Use the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc..

<br/>

**Installation:**

```bash
poetry add tailwind_colors
# or
pip install tailwind_colors
```

<br/>

**Usage:**

```python
from tailwind_colors import TAILWIND_COLORS_HEX, TAILWIND_COLORS_RGB

print(TAILWIND_COLORS_HEX.FUCHSIA_600)  # prints '#c026d3'
print(TAILWIND_COLORS_RGB.FUCHSIA_600)  # prints (192, 38, 211)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dostuffthatmatters/python-tailwind-colors",
    "name": "tailwind-colors",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "plotting,design,colors,tailwind,css,matplotlib",
    "author": "Moritz Makowski",
    "author_email": "moritz@dostuffthatmatters.dev",
    "download_url": "https://files.pythonhosted.org/packages/32/ab/894d548fe1e230ddd8d103e7a12219683f2e6034efe464a332194642e9aa/tailwind_colors-1.2.1.tar.gz",
    "platform": null,
    "description": "# Python Tailwind Colors\n\nUse the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc..\n\n<br/>\n\n**Installation:**\n\n```bash\npoetry add tailwind_colors\n# or\npip install tailwind_colors\n```\n\n<br/>\n\n**Usage:**\n\n```python\nfrom tailwind_colors import TAILWIND_COLORS_HEX, TAILWIND_COLORS_RGB\n\nprint(TAILWIND_COLORS_HEX.FUCHSIA_600)  # prints '#c026d3'\nprint(TAILWIND_COLORS_RGB.FUCHSIA_600)  # prints (192, 38, 211)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Use the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc.",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/dostuffthatmatters/python-tailwind-colors",
        "Repository": "https://github.com/dostuffthatmatters/python-tailwind-colors"
    },
    "split_keywords": [
        "plotting",
        "design",
        "colors",
        "tailwind",
        "css",
        "matplotlib"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "40d9aee838e02f32bcd39952d46516fab2c0ad12ef81ade94f4846be93f9eb65",
                "md5": "197d11a68513645b436ab8d918ee7525",
                "sha256": "e9dd804c3033b1fdd2bf4e6c1385ff14b7a850f7abd2e3d4d8a90492fcc6172a"
            },
            "downloads": -1,
            "filename": "tailwind_colors-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "197d11a68513645b436ab8d918ee7525",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 9350,
            "upload_time": "2023-05-27T21:25:35",
            "upload_time_iso_8601": "2023-05-27T21:25:35.493437Z",
            "url": "https://files.pythonhosted.org/packages/40/d9/aee838e02f32bcd39952d46516fab2c0ad12ef81ade94f4846be93f9eb65/tailwind_colors-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32ab894d548fe1e230ddd8d103e7a12219683f2e6034efe464a332194642e9aa",
                "md5": "ee2057af40bde724e84d485b2403be53",
                "sha256": "28e83bc83cc6600e4e96c8ebf30ff87f439bb9398d394c04400ee73304639b2e"
            },
            "downloads": -1,
            "filename": "tailwind_colors-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ee2057af40bde724e84d485b2403be53",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 9817,
            "upload_time": "2023-05-27T21:25:37",
            "upload_time_iso_8601": "2023-05-27T21:25:37.691648Z",
            "url": "https://files.pythonhosted.org/packages/32/ab/894d548fe1e230ddd8d103e7a12219683f2e6034efe464a332194642e9aa/tailwind_colors-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-27 21:25:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dostuffthatmatters",
    "github_project": "python-tailwind-colors",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tailwind-colors"
}
        
Elapsed time: 0.07963s