https://github.com/pylp/pylp
A Python task runner inspired by gulp.js
https://github.com/pylp/pylp
build-tool gulp python-3 task-runner
Last synced: 8 months ago
JSON representation
A Python task runner inspired by gulp.js
- Host: GitHub
- URL: https://github.com/pylp/pylp
- Owner: pylp
- License: mit
- Created: 2017-08-25T12:20:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T16:22:26.000Z (over 3 years ago)
- Last Synced: 2024-10-19T11:11:09.727Z (over 1 year ago)
- Topics: build-tool, gulp, python-3, task-runner
- Language: Python
- Size: 46.9 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pylp
[](https://pypi.org/project/pylp)
[]()
[]()
## What is pylp?
Pylp is a task runner for Python3 that lets you automate tasks.
It's inspired by [gulp.js](https://gulpjs.com).
Pylp use a syntax similar to Gulp, making this task runner easy to learn and simple to use.
Task process is completely asynchronous thanks to `asyncio` module, which provides a fast execution.
## Documentation
Check out the [documentation](/docs/README.md) for a Getting started guide, API docs or
making a plugin.
## Sample `pylpfile.py`
This file is an example of what you can do with Pylp.
```python
import pylp
from pylpconcat import concat
# Concat all js files from 'src' folder
pylp.task('js', lambda:
pylp.src('src/**/*.js')
.pipe(concat('all.min.js'))
.pipe(pylp.dest('build/js'))
)
# The default task (called when you run 'pylp' from cli)
pylp.task('default', ['js'])
```