Skip to main content

No project description provided

Project description

Build Status

ג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

  1. Create a pypi account.
  2. Download twine and give it your pypi credentials.
  3. Get pypi permissions for the project from its owner.
  4. python setup.py sdist bdist_wheel; twine upload dist/*; rm -rf dist;

Project details


Release history Release notifications | RSS feed

This version

32

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gamla-32.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

gamla-32-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file gamla-32.tar.gz.

File metadata

  • Download URL: gamla-32.tar.gz
  • Upload date:
  • Size: 17.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.5

File hashes

Hashes for gamla-32.tar.gz
Algorithm Hash digest
SHA256 56f05e8fe557a753c1fc6912e273b94b9eae14a550c7a3fa769fe32b505c947c
MD5 2cbcc34ca1288220eca9401e68ab0902
BLAKE2b-256 8977aa06daedcfc8d1ace2a20966392725a8669508b5e91a72a8eb9495c71099

See more details on using hashes here.

File details

Details for the file gamla-32-py3-none-any.whl.

File metadata

  • Download URL: gamla-32-py3-none-any.whl
  • Upload date:
  • Size: 63.8 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.5

File hashes

Hashes for gamla-32-py3-none-any.whl
Algorithm Hash digest
SHA256 d2acc7fb711e299480cf0ddfcda401fe667e701e26bdc952d08b8e90d80bd175
MD5 e0d4723e2e3087a2925fe9f5e6dc1f1b
BLAKE2b-256 2f441c18ecb32a7da50ef75e070aebd0e3fbab912a68e7f46fa2936bba79ef0d

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