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.5.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.5-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyamda-2.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 77462e7b5c1ae282161485a3e3662ae42d84769f042787ac971f85030afb7b53
MD5 efb22f97ee10e25b7d252e47f65ed9e7
BLAKE2b-256 1cdc41b006099af9671ef1459568bb54c45eadbb95ee4da6e27c6ed283b86611

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 36.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b80cae89cc42cbd8676edfe489af3ada9f8dd9bc9a20e5c5153c8bd300164948
MD5 01c7f8210a524c4725eea4b9d8fc7ada
BLAKE2b-256 86d3c4674a30e2a0ed8bedba63445b0c4870e48817dfb67c70355632f7875b47

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