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

Uploaded Source

Built Distribution

kontainer-0.1.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kontainer-0.1.1.tar.gz
  • Upload date:
  • Size: 15.4 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.1.tar.gz
Algorithm Hash digest
SHA256 eb3ad337719402ddcecabae82ecf8acc630999f4432fd4878042f6956ffb3e59
MD5 c49442525440c7ecfd3d3787dcdb59be
BLAKE2b-256 2c047bcacec58d8337af92188ae736481198c3c791d89ba23b0d7c1306b02b2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kontainer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba708335f3af6fd666ba0d8e66fbd983a27dd92315d82ae702278c5b0915cdd
MD5 724263ca77a2f52158e5bfad0cbb45e7
BLAKE2b-256 1022a42a97bbc497c4104e9f8c53fffeb1b8b9eb0e5bb4e9f0be02b33b4cef0c

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