pylpconcat


Namepylpconcat JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/pylp/pylpconcat
SummaryConcatenation plugin for Pylp
upload_time2017-08-29 09:34:32
maintainer
docs_urlNone
authorGuillaume Gonnet
requires_python>=3.5
licenseMIT
keywords pylp gulp concat
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==========
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:

.. code:: python

    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):

.. code:: python

    import pylp
    from pylpconcat import concat

    pylp.task('scripts', lambda:
        pylp.src('lib/*.js')
          .pipe(concat('all.js', sep=';'))
          .pipe(pylp.dest('dist'))
    )


.. _Pylp: https://github.com/pylp/pylp


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pylp/pylpconcat",
    "name": "pylpconcat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "pylp gulp concat",
    "author": "Guillaume Gonnet",
    "author_email": "gonnet.guillaume97@gmail.com",
    "download_url": "",
    "platform": "",
    "description": "==========\nPylpConcat\n==========\n\n\nInformation\n===========\n\n**pylpconcat** is a plugin for `Pylp`_ that can concatenate file contents.\n\n\nInstallation\n============\n\nInstall **pylpconcat** with ``pip``::\n\n    pip install pylpconcat\n\nIf you don't have Python ``Scripts`` folder in your PATH, you can run also::\n\n    python -m pip install pylpconcat\n\n\nUsage\n=====\n\nThe usual use of **pylpconcat** is as follows:\n\n.. code:: python\n\n    import pylp\n    from pylpconcat import concat\n\n    pylp.task('scripts', lambda:\n        pylp.src('lib/*.js')\n          .pipe(concat('all.js'))\n          .pipe(pylp.dest('dist'))\n    )\n\nMoreover, you can specify the separator to add between files (``\\n`` by default):\n\n.. code:: python\n\n    import pylp\n    from pylpconcat import concat\n\n    pylp.task('scripts', lambda:\n        pylp.src('lib/*.js')\n          .pipe(concat('all.js', sep=';'))\n          .pipe(pylp.dest('dist'))\n    )\n\n\n.. _Pylp: https://github.com/pylp/pylp\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Concatenation plugin for Pylp",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/pylp/pylpconcat"
    },
    "split_keywords": [
        "pylp",
        "gulp",
        "concat"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b81919ac90464b46d6205c69363ed65a71b981cdebdddcf630dcc332d827620",
                "md5": "eb2b89cbd4b8c45d733abb2dd06f8342",
                "sha256": "0df02a277d5ecdaa8dbd66ea969e41744c348a8d3477d8663c08b1b0a4ebbee4"
            },
            "downloads": -1,
            "filename": "pylpconcat-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eb2b89cbd4b8c45d733abb2dd06f8342",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 3954,
            "upload_time": "2017-08-29T09:34:32",
            "upload_time_iso_8601": "2017-08-29T09:34:32.989776Z",
            "url": "https://files.pythonhosted.org/packages/6b/81/919ac90464b46d6205c69363ed65a71b981cdebdddcf630dcc332d827620/pylpconcat-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2017-08-29 09:34:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pylp",
    "github_project": "pylpconcat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pylpconcat"
}
        
Elapsed time: 0.29041s