PylpConcat
Information
pylpconcat is a plugin for Pylp that can concatenate file contents.
Installation
Install pylpconcat with pip:
pip install pylpconcat
If you don’t have Python Scripts folder in your PATH, you can run also:
python -m pip install pylpconcat
Usage
The usual use of pylpconcat is as follows:
import pylp
from pylpconcat import concat
pylp.task('scripts', lambda:
pylp.src('lib/*.js')
.pipe(concat('all.js'))
.pipe(pylp.dest('dist'))
)
Moreover, you can specify the separator to add between files (\n by default):
import pylp
from pylpconcat import concat
pylp.task('scripts', lambda:
pylp.src('lib/*.js')
.pipe(concat('all.js', sep=';'))
.pipe(pylp.dest('dist'))
)
Metadata
Release files for pylpconcat 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylpconcat-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pylpconcat-0.1.1-py3-none-any.whl
| Download URL | pylpconcat-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0df02a277d5ecdaa8dbd66ea969e41744c348a8d3477d8663c08b1b0a4ebbee4
|
|
BLAKE2b-256 checksum How to use checksums |
6b81919ac90464b46d6205c69363ed65a71b981cdebdddcf630dcc332d827620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |