Skip to main content

The simplest, type-iest functional utils for Python

Project description

About

Simple

This library aims to be the simplest, easiest to use (and debug) functional programming library. No complex return types, no weird, base classes. No classes at all actually!

Approach

We depend greatly on Python's standard library, especially partial, to give the feeling of currying while not sacrificing performance, or generating (hopefully) too much complexity. The general approach taken is to just wrap the imperative code so that usage can be more composable.

Type Annotation

Type parameters are used where possible, though you're on your own if you're using dictionaries...

Credit Where Credit is Due

Inspired by the Ramda.js library.

Contributing

Open to any and all PR's.

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

pyamda-2.0.1.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyamda-2.0.1-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file pyamda-2.0.1.tar.gz.

File metadata

  • Download URL: pyamda-2.0.1.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pyamda-2.0.1.tar.gz
Algorithm Hash digest
SHA256 68b74ddf74431b410ce789bb66ce81cadbf34dd7475628ceb666216bf3ff1282
MD5 3ba1dbe1c1579567d671597fe7d772f8
BLAKE2b-256 d25b6a6349508f09c878cf521447050d6412393915fc03fcf46081fd2cc07c3c

See more details on using hashes here.

File details

Details for the file pyamda-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyamda-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pyamda-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5c5ad71787832c629f3bff6346d344dc0fbe9629e56be2d6fbaae1d5b987bc
MD5 417ebd1c68eb5bc0a6e8041e6d3da69e
BLAKE2b-256 954151605c2c80a8905662e37576827a0cd21b4f0960e92d4beb4e24e7122798

See more details on using hashes here.

Supported by

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