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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pythonic_fp_fptools-3.0.0.tar.gz
Algorithm Hash digest
SHA256 a63bab0af1640db5de81c5dfa3f9f224c074f87c986c38a4935febbe8290ac93
MD5 6bb939dd5a6b708582761fbd0abb4593
BLAKE2b-256 a480107c2590f251f0a2f8594a6f08bb19431002b65c92afc21f754e99750db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pythonic_fp_fptools-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f180a4abbdf21ee8a06ee0eb78fa7dc465756e79951d202f4515681992584255
MD5 d448d2815600f7e46edd21c3802229b5
BLAKE2b-256 be7cb72bb9d6638497656d010aecb9c9db65e0083bd47b6fa08466e85ea9d6eb

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