Skip to main content

The simplest, type-iest functional utils for Python

Project description

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.

Note

This is a personal project until someone tells me otherwise so I will be iterating quickly. I will try to adhere to semver though so that any API change will be a new minor version at least.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyamda-2.11.0.tar.gz
Algorithm Hash digest
SHA256 6e5420e1e1a427c3a4805285d6588d87bab8000f9b89723bc53d2fbd09207e81
MD5 1cea3f52d5875ba82def3898f0a07380
BLAKE2b-256 334d440fc31f4ec820a4a61bab1cb536e473f4ee52b8bec36843e542bc4f83e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyamda-2.11.0-py3-none-any.whl
  • Upload date:
  • Size: 38.9 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.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8cafe8c92adc3ce3a3ddeb142f9b191ce279a1c47ab23b5c09e2db3dc825d12
MD5 f6c2bec0d347f748e37dddc2d957e9b2
BLAKE2b-256 4821b27eda9be870da132a43e90af2601bd42d4fd727d0c40744bcda11b6b36f

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