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.9.0.tar.gz (48.6 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.9.0-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyamda-2.9.0.tar.gz
  • Upload date:
  • Size: 48.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pyamda-2.9.0.tar.gz
Algorithm Hash digest
SHA256 a7e88cb8a6937faf477eb74d04bf52e296f80c617fd78458760300fd96bdd83d
MD5 a98ca0645957bd8e15ad13c6a23878d9
BLAKE2b-256 18d459f70a51388cce5895f5ffae5a80f2a60a5aac11e14b0c5eb4d3560caf9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pyamda-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cc04bb6bc6aa11fdd23001e789b833c3e127264f6dbe4b671ef6c93a8d3a35b
MD5 e796e175c5246c5bc8837c7ce42eb002
BLAKE2b-256 0a0249fce8f8739cdcc69dc0b106e8ddafaae1ce9de044d5242dca56a4edb43f

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