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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb536d006459fa85e4c554ce39cb9604267f244e444dba56a6eea6dc1c890546
|
|
| MD5 |
a9a59326b28012f61f3125e227d166de
|
|
| BLAKE2b-256 |
239b3abae51d19ad20e7ae472caf91dd890225a99f1fb40b4b10ac51f42556af
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e67a038943fb00dcdf620f6d554a0635a8eb21d91dd99c31ce220e3a3d99d341
|
|
| MD5 |
613ae047532e299e8106b4e6ead0e7a5
|
|
| BLAKE2b-256 |
67ebe91a3321017210d4289b243d6441d5588d11bc623b11930c67923abcc288
|