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.2.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

kontainer-0.2.2-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file kontainer-0.2.2.tar.gz.

File metadata

  • Download URL: kontainer-0.2.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.8.18 Linux/6.2.0-1019-azure

File hashes

Hashes for kontainer-0.2.2.tar.gz
Algorithm Hash digest
SHA256 04384c4073cb625312c444d7f630f16654a2438c7511225566130980da4617b0
MD5 97b45650574bd370e9f2699b669412fb
BLAKE2b-256 e02b1453cf5644ebb1772d5a71ab2e93727b9c916a67c40a2ec268d2c4f9b692

See more details on using hashes here.

File details

Details for the file kontainer-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: kontainer-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.0 CPython/3.8.18 Linux/6.2.0-1019-azure

File hashes

Hashes for kontainer-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac6892b433e0d433ea3063edb0e6deb3882954338e4e65f31a2631a678741ad
MD5 2deeaa824d437cfe6e51eb5cd9948599
BLAKE2b-256 b6022206d51d4d8717d39c7b04d6c21108176f9d461625ad6e43a78b60a9f491

See more details on using hashes here.

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