Skip to main content

Pythonic FP - Functional Programming Tools

Project description

Pythonic FP - Functional tools

PyPI project pythonic-fp.fptools Functional programming tools which endeavor to be Pythonic.

  • Subclassable Boolean datatype (module pythonic_fp.fptools.bool)
  • Functions as first class objects (module pythonic_fp.fptools.function)
  • Lazy (non-strict) function evaluation (module pythonic_fp.fptools.lazy)
  • Singletons (module pythonic_fp.fptools.singletons)
    • 3 singleton classes representing
      • a missing value (actually missing, not potentially missing)
      • a sentinel values
      • a failed calculation
  • State monad implementation (module pythonic_fp.fptools.state)
    • pure FP handling of state (the state monad)
    • Classic FP implementation
      • the monad encapsulates a state transformation, not a "state"

This PyPI project is part of of the grscheller pythonic-fp namespace projects.

Warning: The maintainer intends to break out the first, forth and fifth modules to their own repos sometime in the near future.

Documentation

Documentation for package GitHub Pages hosted on GitHub pages.

Copyright and License

Copyright (c) 2023-2025 Geoffrey R. Scheller. Licensed under the Apache License, Version 2.0. See the LICENSE file for details.

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

pythonic_fp_fptools-4.0.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonic_fp_fptools-4.0.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file pythonic_fp_fptools-4.0.0.tar.gz.

File metadata

  • Download URL: pythonic_fp_fptools-4.0.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.4

File hashes

Hashes for pythonic_fp_fptools-4.0.0.tar.gz
Algorithm Hash digest
SHA256 5230af3e2bd7582c8a1496d3660e1f7b7c33125b85747ce89b945fff1528102f
MD5 f4f23d7742f0d753f5ff64366b5d4253
BLAKE2b-256 7d655f5db48bd0467eab18773813eea292d398792aa165d73c5fceef75e65ab2

See more details on using hashes here.

File details

Details for the file pythonic_fp_fptools-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonic_fp_fptools-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92a0f4d84ae4842141155f1f648fe81d721b67a9c793b9cd420292b67e7b7ef1
MD5 b0dd12a26455488bc9457d8a04c484df
BLAKE2b-256 2bc77bd0fd22638e29a3dc0d2aff1df05ab4008b452ca262ed575893cc2a984d

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