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

Uploaded Source

Built Distribution

kontainer-0.2.3-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kontainer-0.2.3.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for kontainer-0.2.3.tar.gz
Algorithm Hash digest
SHA256 0e59f65c28a70cab16ec04a54e3f258567276ada5a9fece50535c6af48c272b6
MD5 c138bc77035b0362415dcd275ea65bfd
BLAKE2b-256 58e2846c92823fd6fb8dd61c94056641d88abf50c49d1a9bd71ec8a5da02c289

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kontainer-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for kontainer-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 878ccaffdfeedebaf9f81173c8f44c52a43937e21fe2d95c3d379a8f9d5b9619
MD5 408f38e1c5f31f5c06ee9dc96e53b7ef
BLAKE2b-256 25e4c330ae78fc26211ca71d596859a8b8187c58fc814fc9f93d6f8a0b1c4837

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