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.6.0.tar.gz (48.2 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.6.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyamda-2.6.0.tar.gz
Algorithm Hash digest
SHA256 4f8df84668ece41347f32cc7540f85fda136e7cceedc44b355380b0061c7292c
MD5 0759262a1811588a2a66ef7ba616630f
BLAKE2b-256 2d9e8402cb9cef13be1c75d411b7faaa4456ab1c6999c70aada441e3a898db99

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyamda-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 477e6b8a89b7be0ec79701dee80ca58ed61e87f0365331292f689b7cac8d58d5
MD5 41dd6c8cd5b3640a15b60f0eb875c514
BLAKE2b-256 f271af2e4ad8f406b02d37cdbfcc93f2e64f6b5ed1b76e464c35ac36a473733e

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