Almost exact port of YUI CSS Compressor. Passes all original unittests.
Usage
>>> from csscompressor import compress
>>> compress('''
... your css {
... content: "!";
... }
... ''')
'your css{content:"!"}'
Or, if you want to use it from command line:
$ python3 -m csscompressor --help
Compatibility
Tested under Python 2.7 and 3.3+
Installation
Use pip or easy_install:
$ pip install csscompressor
Development
Use py.test to run unittests
License
Published under the original Yahoo License for YUI Compressor – BSD.
Metadata
Release files for csscompressor 0.9.5
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 |
|---|---|---|---|---|
| csscompressor-0.9.5.tar.gz | 237.8 kB | Without provenance | Details for csscompressor-0.9.5.tar.gz |
Release files / csscompressor-0.9.5.tar.gz
| Download URL | csscompressor-0.9.5.tar.gz |
|---|---|
| Size | 237.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05
|
|
BLAKE2b-256 checksum How to use checksums |
f12a8c3ac3d8bc94e6de8d7ae270bb5bc437b210bb9d6d9e46630c98f4abd20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for csscompressor 0.9.5
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.