Metadata-Version: 2.1
Name: ey
Version: 0.1.1
Summary: Simple and easy-to-use library for executing shell commands saving data to the file system without re-executing already executed tasks.
Home-page: https://github.com/samuell/ey
Author: Samuel Lampa
Author-email: samuel.lampa@rilnet.com
License: MIT
Description: # Ey
        
        A super-simple library for performing stepwise batch tasks that saves things to
        files, such that outputs from already finished tasks are not needlessly
        re-computed.
        
        ## Prerequisites
        
        - Ey is so far only tested on unix-like environments.
        
        ## Installation
        
        Install from the Python Package Index using pip:
        
        ```
        pip install ey
        ```
        
        ## Example:
        
        Below is a small example that downloads a gzipped text file (in the so called
        FASTA format), and un-gzips it:
        
        ```python
        import ey
        
        # Download a gzipped fasta file and save it as chrmt.fa.gz
        url = 'ftp://ftp.ensembl.org/pub/release-100/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.chromosome.MT.fa.gz'
        gz = ey.shell('wget -O [o:gz:chrmt.fa.gz] '+url)
        
        # Un-GZip the file, into a file named chrmt.fa
        fa = ey.shell('zcat [i:gz] > [o:fa:[i:gz|%.gz]]',
                inputs={'gz': gz.outputs['gz']})
        ```
        
        Add this code to a file named `download_fasta.py` and run it with:
        
        ```bash
        python download_fasta.py
        ```
        
Keywords: workflows workflow pipeline task
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
