{"id":16573538,"url":"https://github.com/v2e4lisp/pipeto","last_synced_at":"2025-10-29T04:30:37.904Z","repository":{"id":11390679,"uuid":"13833758","full_name":"v2e4lisp/pipeto","owner":"v2e4lisp","description":"pipe for python","archived":false,"fork":false,"pushed_at":"2013-10-29T13:18:35.000Z","size":216,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-09T21:10:05.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v2e4lisp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-24T14:03:44.000Z","updated_at":"2019-01-19T09:15:52.000Z","dependencies_parsed_at":"2022-09-19T10:01:35.911Z","dependency_job_id":null,"html_url":"https://github.com/v2e4lisp/pipeto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fpipeto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fpipeto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fpipeto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fpipeto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v2e4lisp","download_url":"https://codeload.github.com/v2e4lisp/pipeto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858500,"owners_count":16556043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T21:42:27.774Z","updated_at":"2025-10-29T04:30:37.568Z","avatar_url":"https://github.com/v2e4lisp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linux pipe style port to python\n\ncode like this: `pipe(1) | float | str | list | done` !\n\n[![Build Status](https://travis-ci.org/v2e4lisp/pipeto.png)](https://travis-ci.org/v2e4lisp/pipeto)\ntested on 2.7, 3.2, 3.3\n\n## Install\n```bash\npip install pipeto\n```\n\n## API\n* `pipe(arg)`  \ngenerate a pipable object pipe to next function.  \n@param : arg {mixed}\n\n* `done(arg)`  \nget the actural value out of pipable object\n\n* `compose(fn)`  \nCompose functions. Can be used as a decorator.  \n@alias : composable  \n@param : fn {callable}\n\n## example\n```python\nfrom pipeto import *\nimport operator as op\n\ninc = lambda x: x + 1\ndouble = lambda x: x + x\n\n# pipe\npipe(1) | float | str | list | done    # == ['1', '.', '0']\npipe(2) | inc | done                   # == 3\npipe(2) | inc | double | done          # == 6\npipe([1,2,3]) | sum | done             # == 6\n\n# compose\nnewfn = compose(inc) | double\nnewfn(2) # == double(inc(2))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fpipeto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv2e4lisp%2Fpipeto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fpipeto/lists"}