Skip to main content

Extended functional tools and None-handling for Python

Project description

Python-Functools

Since I just had some courses on Haskell and Kotlin, I found it intriguing to implement some of the functional tools in Python. For example, forEach and mapIndexed from Kotlin and ($) and scanl from Haskell. I've also included more intricate functions such as filter_acc, which can be used to build cool one-liners such as prime filterer with the Sieve of Eratosthenes. Check for the examples provided in the code.

Additionally, I've added some null-handling (None-handling?) functions, such as one that imitates the Elvis Operator in Kotlin/Swift.

I'll aim to make a fuller documentation during Christmas.

Sorrowful T-Rex on 15 Dec. 2020

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

RC_Functools-0.0.5.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RC_Functools-0.0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file RC_Functools-0.0.5.tar.gz.

File metadata

  • Download URL: RC_Functools-0.0.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for RC_Functools-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fb536d006459fa85e4c554ce39cb9604267f244e444dba56a6eea6dc1c890546
MD5 a9a59326b28012f61f3125e227d166de
BLAKE2b-256 239b3abae51d19ad20e7ae472caf91dd890225a99f1fb40b4b10ac51f42556af

See more details on using hashes here.

File details

Details for the file RC_Functools-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: RC_Functools-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for RC_Functools-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e67a038943fb00dcdf620f6d554a0635a8eb21d91dd99c31ce220e3a3d99d341
MD5 613ae047532e299e8106b4e6ead0e7a5
BLAKE2b-256 67ebe91a3321017210d4289b243d6441d5588d11bc623b11930c67923abcc288

See more details on using hashes here.

Supported by

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