Skip to main content

A library to add a neat, readable, functional pipeline syntax to Python.

It allows you to rewrite messy nested function calls such as this:

title_sanitized =
  replace(replace(replace(lowercase("Lorem Ipsum Dolor 2018/02/18"), " ", "_"), "/", "-"), "@", "at")

title_sanitized # -> "lorem_ipsum_dolor_2018-02-18"

In a far more readable format like this:

title_sanitized = (
  "Lorem Ipsum Dolor 2018/02/18"
    >> f.lowercase
    >> f.replace("/", "-")
    >> f.replace(" ", "_")
    >> f.replace("@", "at")
)

title_sanitized # -> "lorem_ipsum_dolor_2018-02-18"

Metadata

Release files for pypework 0.8

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

Source distribution (sdist)

Source distribution for pypework 0.8
File Size Uploaded Provenance Actions
pypework-0.8.tar.gz 2.6 kB Without provenance Details for pypework-0.8.tar.gz

Release files / pypework-0.8.tar.gz

Download URL pypework-0.8.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5d9413597d040af0a73529d684628104cfb99520591630cbd785cab718099c41
BLAKE2b-256 checksum
How to use checksums
9cf6bb61ca2e2f73f3966b1bdda3e19640876489a5875ee9adbac3410e6d99ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pypework 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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