Skip to main content

How to look like functional programming

Project description

kontainer

Why Kontainer?

Most of what kontainer wants to do has already been implemented in much better libraries, expression, result, and returns. But each of them had one thing that was missing, and it was hard to ask for a fix.

  1. expression: does not support python 3.8.
  2. result: provides solid but simple functionality.
  3. returns: does not support pyright.

In my environment, expression was the best fit, but dropping support for python 3.8 was the right decision, so I couldn't ask for it. (I don't want to use python 3.8 either, but there are circumstances that make it unavoidable.)

So I created a new library with python 3.8 support, pulling in some features that seemed to be needed.

TODO

  • add doc comments
  • add doc pages(like sphinx)
  • support apply(fully typed)
  • more robust test codes
  • remove type: ignore as much as possible

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

kontainer-0.1.7.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

kontainer-0.1.7-py3-none-any.whl (21.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page