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.5.0.tar.gz (48.1 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.5.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyamda-2.5.0.tar.gz
Algorithm Hash digest
SHA256 de162ca031bb0c72cb205b7f6aa9dfa97f1c5edbab8ac4cf1ef79fe5fb2338db
MD5 f7f375310b0e42db03fe2054ffdcac94
BLAKE2b-256 9124494efb9f55a47af70bea1894f009936aabcef89ba85e29da300dc8dd3d61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 38.1 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 988c7ef496f964c56e73fb34c124eb9d41a888f5bd3d9cb15dbf55fd8352d916
MD5 ad2c5a71f75fd86b3a4f23db6a1e6b92
BLAKE2b-256 27f7a02b8b78ac12dc44423dfcc0dde886b07f44a750a93db73da66420990dc5

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