Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pwwang/pyppl_export


https://github.com/pwwang/pyppl_export

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

# pyppl_export

Export outputs generated by PyPPL pipelines:

1. export whole output to a directory
2. export partial output to a directory
3. resume process from export directory

```python
# export all output
PyPPL(config_export_dir = './export')

# export output with key outfile1
# pXXX.output = 'outfile1:file:..., outfile2:file:...'
PyPPL(config_export_dir = './export', config_export_part = 'outfile1')

# export output with .txt files only
PyPPL(config_export_dir = './export', config_export_part = '*.txt')

# export output with output key "outfile"
PyPPL(config_export_dir = './export', config_export_part = 'outfile')
# Use proc and job data to select
PyPPL(config_export_dir = './export', config_export_part = '*.{{args.ext}}')

# use export directory to make cache job cached
PyPPL(config_export_dir = './export', cache = 'export')

# copy the output to export directory
PyPPL(config_export_dir = './export', config_export_how = 'copy')
# move, but keep symblic links in the output directory
PyPPL(config_export_dir = './export', config_export_how = 'move')
# gzip single file and tar-gzip the directory
PyPPL(config_export_dir = './export', config_export_how = 'gz')
# Just create symblic links in export directory
PyPPL(config_export_dir = './export', config_export_how = 'link')
# Don't overwrite existing files
PyPPL(config_export_dir = './export', config_export_ow = False)
```