Tailwind Processor
This is a Python package that processes Tailwind CSS classes into a single raw CSS string. It's super modular and simple, you can just copy the class directly and use it in your code. Just make sure to install pytailwindcss first.
It uses GO style error handling.
Installation
pip install tailwind-processor
Usage
from tailwind_processor import TailwindProcessor
tp = TailwindProcessor()
result, err = tp.process(["text-red-500", "h-dvh"])
if err:
# Or do another thing
raise err
file_content = textwrap.dedent("""
<div class="text-red-500 h-dvh">
Hey!
</div>
""")
result, err = tp.process_file_str(file_content)
if err:
# Or do another thing
raise err
Metadata
Release files for tailwind-processor 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tailwind_processor-2.0.1.tar.gz | 4.1 kB | Without provenance | Details for tailwind_processor-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tailwind_processor-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for tailwind_processor-2.0.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / tailwind_processor-2.0.1.tar.gz
| Download URL | tailwind_processor-2.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5112206f15c7247a3901faf4b2603278d131f8ca0ab9f976bf97a2cd442a9ad9
|
|
BLAKE2b-256 checksum How to use checksums |
33190d0030272d7d046850c9a964a51a7e8d506e4e16d13de0eb6d5a5ea73f8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Release files / tailwind_processor-2.0.1-py3-none-any.whl
| Download URL | tailwind_processor-2.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc1301e18a51ffb961319f8afd49af759b5037d6ac53e7dcd98f8bc3aedae1e4
|
|
BLAKE2b-256 checksum How to use checksums |
e16886fe76d0021f882a8eb273fa3a40584dcf9813a55635f9656c53b345ea43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Security for tailwind-processor 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.