Giter Site home page Giter Site logo

pipeit's Introduction

PipeIt

PipeIt is a text transformation, conversion, cleansing and extraction tool.

PipeIt screen shot1

Features

  • Split - split text to text array by given separator.
  • RegexpSplit - split text to text array by given regexp expression.
  • Fields - Fields splits the string s around each instance of one or more consecutive white space characters.
  • Match - filter text array by regexp.
  • Replace - replace each element of a text array.
  • Surround - add prefix or suffix to each lement of a text array.
  • Trim - Trim returns a slice of the string s with all leading and trailing Unicode code points contained in cutset removed.
  • Join - join text array to single line of text by given separator.
  • Line - output text array line by line.

And more pipes are comming...

(More important, tell me your case will help me to create more pipes which will actually useful.)

PipeIt also supports to read from Stdin, so you could pipe data using "cat file | PipeIt".

Usage

Extract image links from a html source

PipeIt demo to find image urls from html

Add single quotation mark to every words

PipeIt demo to add single quotation

Replace the comma separated string to lines

PipeIt demo to replace comma

The reason for creating it

First of all, to test the GUI framework created by me, giu, for a real project.

It turns out giu is really useful for this kind of application. It just costs me 6 hours to build it from ground.

And I have this idea for years, to create a text process pipeline, to ease my daily text processing pain.

Hope it could be useful to you as well. :)

pipeit's People

Contributors

allendang avatar shammishailaj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.