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

23

Download files

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

Source Distribution

gamla-23.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

gamla-23-py3-none-any.whl (106.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gamla-23.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.4

File hashes

Hashes for gamla-23.tar.gz
Algorithm Hash digest
SHA256 ccd6ec67dfca1b1999ed248360ee577539fc67d3bbea543186d524c9714d58a7
MD5 02525f4fda1b9fea72f7b3ea7a1d9157
BLAKE2b-256 bd9af47f1fabae7d9a9db164863b37ff50fcf7bb010b6f94e2aaa9870716798c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gamla-23-py3-none-any.whl
  • Upload date:
  • Size: 106.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.4

File hashes

Hashes for gamla-23-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd4f3a7951820c5a15d4bd422ff71dc9d447e60574c5bf6734e04a71131f893
MD5 e9c1ab1107c69c0fc53c9c2f03ce0b77
BLAKE2b-256 11619cf395f95733ec89796a2ba045099330294d23801353dd774df7f9ea7026

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