Ravenports generated: 21 Apr 2020 22:22
[ravenports.git] / bucket_7E / python-css-html-js-minify
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-css-html-js-minify
4 VERSION=                2.5.5
5 KEYWORDS=               python
6 VARIANTS=               py38 py37
7 SDESC[py37]=            CSS HTML JS Minifier (PY37)
8 SDESC[py38]=            CSS HTML JS Minifier (PY38)
9 HOMEPAGE=               https://github.com/juancarlospaco/css-html-js-minify#css-html-js-minify
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/c/css-html-js-minify
14 DISTFILE[1]=            css-html-js-minify-2.5.5.zip:main
15 DF_INDEX=               1
16 SPKGS[py37]=            single
17 SPKGS[py38]=            single
18
19 OPTIONS_AVAILABLE=      PY38 PY37
20 OPTIONS_STANDARD=       none
21 VOPTS[py37]=            PY38=OFF PY37=ON
22 VOPTS[py38]=            PY38=ON PY37=OFF
23
24 DISTNAME=               css-html-js-minify-2.5.5
25
26 GENERATED=              yes
27
28 [PY37].USES_ON=                         python:py37
29
30 [PY38].USES_ON=                         python:py38
31
32 [FILE:3338:descriptions/desc.single]
33 # css-html-js-minify
34
35 Async single-file cross-platform no-dependencies Minifier for the Web. [GPL
36 License] [LGPL License] [Python Version] [Travis report]
37
38 ![screenshot]
39
40 https://pypi.python.org/pypi/css-html-js-minify
41
42 ```shell
43 css-html-js-minify.py --help
44
45 usage: css-html-js-minify.py [-h] [--version] [--wrap] [--prefix PREFIX]
46                              [--timestamp] [--quiet] [--hash] [--zipy]
47                              [--sort] [--comments] [--overwrite]
48                              [--after AFTER] [--before BEFORE] [--watch]
49                              [--multiple] [--beep]
50                              fullpath
51
52 CSS-HTML-JS-Minify. StandAlone Async cross-platform Unicode-ready
53 Python3-ready Minifier for the Web.
54
55 positional arguments:
56   fullpath         Full path to local file or folder.
57
58 optional arguments:
59   -h, --help       show this help message and exit
60   --version        show programs version number and exit
61   --wrap           Wrap output to ~80 chars per line, CSS only.
62   --prefix PREFIX  Prefix string to prepend on output filenames.
63   --timestamp      Add a Time Stamp on all CSS/JS output files.
64   --quiet          Quiet, Silent, force disable all logging.
65   --hash           Add SHA1 HEX-Digest 11chars Hash to Filenames.
66   --zipy           GZIP Minified files as '*.gz', CSS/JS only.
67   --sort           Alphabetically Sort CSS Properties, CSS only.
68   --comments       Keep comments, CSS/HTML only (Not Recommended)
69   --overwrite      Force overwrite all in-place (Not Recommended)
70   --after AFTER    Command to execute after run (Experimental).
71   --before BEFORE  Command to execute before run (Experimental).
72   --watch          Re-Compress if file changes (Experimental).
73   --multiple       Allow Multiple instances (Not Recommended).
74
75 CSS-HTML-JS-Minify: Takes a file or folder full path string and process all
76 CSS/HTML/JS found. If argument is not file/folder will fail. Check Updates
77 works on Python3. Std-In to Std-Out is deprecated since it may fail with
78 unicode characters. SHA1 HEX-Digest 11 Chars Hash on Filenames is used for
79 Server Cache. CSS Properties are Alpha-Sorted, to help spot cloned ones,
80 Selectors not. Watch works for whole folders, with minimum of ~60 Secs
81 between
82 runs.
83
84 ```
85
86 - Takes a full path to anything, a file or a folder, then parse, optimize
87 and compress for Production.
88 - If full path is a folder with multiple files it will use Async
89 Multiprocessing.
90 - Pretty-Printed colored Logging to Standard Output and Log File on OS
91 Temporary Folder.
92 - Set its own Process name and show up on Process lists.
93 - Can check for updates for itself.
94 - Full Unicode/UTF-8 support.
95 - Smooth CPU usage, Single Instance Checking.
96 - Can Obfuscate, GZIP and Hash files, also Watch for changes on files.
97 - Can execute arbitrary commands after and before running.
98 - `*.css` files are saved as `*.min.css`, `*.js` are saved as `*.min.js`,
99 `*.htm` are saved as `*.html`
100
101 # Screenshots
102
103 **Linux:**
104
105 ![screenshot]
106
107 **Apple Mac Os X:**
108 [ <sup>*(Provided by Loggerhead)*</sup>]
109 ![screenshot]
110
111 ![screenshot]
112
113 **MS Windows:**
114
115 ![screenshot]
116
117 # Command-line usage
118
119 ```bash
120 css-html-js-minify.py file.htm
121
122 css-html-js-minify.py file.css
123
124 css-html-js-minify.py file.js
125
126 css-html-js-minify.py /project/static/
127 ```
128
129 # Python code usage
130
131 ```python
132 from css_html_js_minify import process_single_html_file,
133
134
135 [FILE:107:distinfo]
136 4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c        33156 css-html-js-minify-2.5.5.zip
137