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

Uploaded Source

Built Distribution

kontainer-0.1.6-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kontainer-0.1.6.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.18 Linux/6.2.0-1016-azure

File hashes

Hashes for kontainer-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a7dba7e9d76a43ffa5948e4124dc7ac15afae6260c4c6389be359fd714c38d6a
MD5 30de138c4e000eaa93a46680173a1aa4
BLAKE2b-256 77f5302f612953da1be38b1e94d31f081bc408655e275b8afb8f18043f5b30f1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kontainer-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c3487790c2918373f92dec01ab26309a1793978e734303628068edfe4d8ac360
MD5 da852921e8427d125130194d2e7311fa
BLAKE2b-256 b271c82a4dc9a090ca8eb39135a4ee4c8eefcd219b0150fbf947c7ac08dc84ba

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