Git Product home page Git Product logo

natanfeitosa / pyfunctools Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 97 KB

Pyfunctools is a module that provides functions, methods and classes that help in the creation of projects in python, bringing functional and object-oriented programming methods.

Home Page: http://pyfunctools.rtfd.io/

License: MIT License

Makefile 0.68% Python 99.32%
functools funtionalprogramming pypi python python-library tools

pyfunctools's Introduction

dev_natan natan-feitosa 13710832 santos_natanoficial natanfeitosa natanfeitosa

Hi ๐Ÿ‘‹, I'm Natan

๐Ÿ‘จโ€๐Ÿ’ป About Me :

I am a Full Stack Developer from Brazil.

  • ๐Ÿ”ญ I'm contributing to frontend and backend projects and building web apps.

  • ๐ŸŒฑ Exploring Technical Content Writing.

  • โšก In my free time, I solve programming challenges and read tech articles.

  • ๐Ÿ“ซHow to reach me: Linkedin Badge

๐Ÿ› ๏ธ Languages and Tools :

๐Ÿ”ฅ My Stats :

My weak Natan Feitosa's GitHub stats

pyfunctools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pyfunctools's Issues

Add a implementation of the Pipeline pattern

Add a implementation of the Pipeline pattern

Usage examples

from pyfunctools.pipe import pipe

add_one = lambda x: x + 1
double = lambda x: x * 2

pipe(add_one, double)(1) # -> 4

Add a compose function

Add a compose function

In computer science, function composition is an act or mechanism to combine simple functions to build more complicated ones. Like the usual composition of functions in mathematics, the result of each function is passed as the argument of the next, and the result of the last one is the result of the whole.

Source: Wikipedia

Usage examples

from pyfunctools.compose import compose

add_one = lambda x: x + 1
double = lambda x: x * 2

compose(add_one, double)(1) # -> 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.