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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyamda-2.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 c0072a265f95cfb21666d327ae0958f3bbb47c3edad6b3a32729439b5680bf23
MD5 57bb9b91f98492f71c2a2abf0603f594
BLAKE2b-256 c97c2002e29f02f7d597685e51e252286d2a5d2a1f853218b22e2ff876a57849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 36.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 daa598dcb442db659ac7517507daa750a024bd157c9bfbe3e4980ff0141809ee
MD5 92442d1ada087f0f73a4fb630916f643
BLAKE2b-256 42035335250a144ee48c062dbca8693d37bf83815ab6221d0686e830a07bbfcd

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