Skip to main content

hcss is a CSS compiler that that allows you to use HTML element hierarchy to define CSS rules. Requires Python 2.2+. BSD-licensed.

Input

<div id="parent">
  margin: 10px;
  <div class="child">
    margin: 5px;
    border: 1px solid #000;
  </div>
</div>

Output

div#parent {
  margin: 10px;
}
div#parent > div.child {
  margin: 5px;
  border: 1px solid #000;
}

Setup

$ pip install hcss # or
$ easy_install hcss

Metadata

Release files for hcss 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hcss 0.3.1
File Size Uploaded Provenance Actions
hcss-0.3.1.tar.gz 6.8 kB Without provenance Details for hcss-0.3.1.tar.gz

Release files / hcss-0.3.1.tar.gz

Download URL hcss-0.3.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
41c5a1e81ad3c4fb64a7e56f404971c74378c0c384c1d55686518afaf35a917a
BLAKE2b-256 checksum
How to use checksums
f60323deea7663967fa27931c1518fd74613cfca3b0d7a6aeeded7fde59b21cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hcss 0.3.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page