No project description provided
Project description
גamla is a functional programming library for python.
pip install gamla
async
just works
Most functions in this lib will work seamlessly with async
and regular functions, and allow the developer to focus on the logic instead of deciding where to place an await
.
For example:
import asyncio
import gamla
def increment(i):
return i + 1
async def increment_async(i):
asyncio.sleep(1)
return i + 1
async def run():
mixed_composition = gamla.compose_left(increment, increment_async, increment)
return await mixed_composition(0) # returns 3!
Releasing a new version
- Create a pypi account.
- Download twine and give it your pypi credentials.
- Get pypi permissions for the project from its owner.
python setup.py sdist bdist_wheel; twine upload dist/*; rm -rf dist;
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
gamla-16.tar.gz
(13.8 kB
view details)
Built Distribution
gamla-16-py3-none-any.whl
(126.5 kB
view details)
File details
Details for the file gamla-16.tar.gz
.
File metadata
- Download URL: gamla-16.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee4240c37c1576ef6a9c9949a713f4cd13f13c8fb9b7d289c24b023037904bc6 |
|
MD5 | 518dd0bf84f08faeda8c8ed80d29d601 |
|
BLAKE2b-256 | eb4b61619b3d4fc855b64e7e95e5d978101402576f81e0fdfc99c850d4609679 |
File details
Details for the file gamla-16-py3-none-any.whl
.
File metadata
- Download URL: gamla-16-py3-none-any.whl
- Upload date:
- Size: 126.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2b8c57cb2ae8e1a12089fb4d78328c7f23ccbcbd825f5d13c4718f493d462e |
|
MD5 | da15dc8c68f481720f5732da20387649 |
|
BLAKE2b-256 | f41f114709ebd3cd390c0edab0e6156835e0a53f6c9da1b2c7feeb5bbc7f107c |