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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyamda-2.0.7.tar.gz
Algorithm Hash digest
SHA256 9017fb5b73f4fa24e83b915eea6e4bfdb315974a8a06c384e770f5b38aa17725
MD5 6022463a6221394c4b533a02e3826b13
BLAKE2b-256 b421bbed9f474583ef3a9f2b14e0f3883e0bc4a13975499b19b05e0c5d7b1684

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 37.3 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.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 aac67f00492a72e855523867aa710ec232a4fea6efefb41e9effbd1794e13f8d
MD5 8cf88fb2fa2f226f8928d710b4dabcf2
BLAKE2b-256 73d914c5bbdeaa7462731f8c9f090c5c68bae9326e33d9297261ee19db96c94c

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