Skip to main content

Pipe is a module enablig a sh like infix syntax (using pipes)’.

As an exemple, here is the solution for the 2nd Euler Project exercise :

“Find the sum of all the even-valued terms in Fibonacci

which do not exceed four million.”

Given fib a generator of fibonacci numbers

euler2 = fib() | where(lambda x: x % 2 == 0)
               | take_while(lambda x: x < 4000000)
               | add

Release files for pipe 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipe 1.3
File Size Uploaded
pipe-1.3.tar.gz 6.9 kB Details

Release files / pipe-1.3.tar.gz

Download URL pipe-1.3.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4636fb16f05c302bbf882533b4e79a90c59ddb8295e74a0236c5084fc3ed31fd
BLAKE2b-256 checksum
How to use checksums
77e2477d8a6793e8c7da0a09d560397ea746ba149d19d4d733ae45a05173b891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.2

1 release file

1.4.1

1 release file

1.4

1 release file

This release

1.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page