Skip to main content

Functional Efficient Python Computations

Project description

Functional Efficient Python Computations

This project provides utilities for making computations (data transformations) using functional interfaces. Efficiency is both in resource consumption---no additional memory allocations, reliance on vanilla iterators, etc---and cognitive load -- we don't introduce any new syntax or metaprogramming, we stick to core python. We have a full typing annotations coverage, though at times Python limitation itself manifest itself in not being unable to guarantee correctness.

Subpackages

  • ds contains useful dataclasses or contracts such as Monoid or Either,
  • it provides iterator/iterable oriented functionality such as flatmaps, monoid sums or windowing,
  • pa boasts with parallel processing interfaces, alternative to that of standard python's multiprocessing or concurrent.

Individual functions are documented in the docstring of the module, with illustrative examples located in tests.

All public members of the subpackages are accessible from the main package -- users are encouraged to import them from there to protect from future refactoring moves within subpackages.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fuefpyco-0.1.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

fuefpyco-0.1.0-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page