Skip to main content

Phi is a library for fluent functional programming in Python which includes a DSL + facilities to create libraries that integrate with it.

Project description

# Phi
Phi is a library for [fluent](https://en.wikipedia.org/wiki/Fluent_interface) functional programming in Python which includes a DSL based on [applicatives](http://learnyouahaskell.com/functors-applicative-functors-and-monoids) + facilities to create libraries that integrate with its DSL.

### Goals

* Comming Soon!

## Installation

pip install phi==0.1.0



#### Bleeding Edge

pip install git+https://github.com/cgarciae/phi.git@develop


## Getting Started

import phi import P, _

assert 8 == P(
3,
_ + 1,
_ * 2
)

the above computation is the same as

(3 + 1) * 2

## Features
Comming Soon!

## Documentation
[Complete Documentation](http://cgarciae.github.io/phi/index.html)

## The Guide
Check out [The Guide](https://cgarciae.gitbooks.io/phi/content/) to learn to code in Phi. (Comming Soon!)

## Full Example
Comming Soon!

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

phi-0.1.0.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file phi-0.1.0.tar.gz.

File metadata

  • Download URL: phi-0.1.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0198b33c294459fa700d594cdea9ce206da03b5a2f53d45bb41a22b574a60544
MD5 5dd82398a8eb7de9b71d2cfd14ee8735
BLAKE2b-256 32b5a3bbf79edbcebafe24a4f9c63b05dcb40ca3aa8f8d63ff762d51fe9e8a21

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