Skip to content

josiauh/josiauhtools

Repository files navigation

JosiauhTools

Table of Contents

Some python general tools.

Unstabler version (NOT RECOMMENDED)

pip install josiauhtools

Examples

Here's what you can do with JosiauhTools!

Simply Then

Explanation:

TL;DR: Prints "i got", and the result of running "foo" (bar)

Will read Runs a function called "foo", which will return "bar". After that, it runs "bar", which will print "i got bar", where bar was retrieved from "foo".

Code:

from josiauhtools import synx

def foo():
    return 'bar'

def bar(p):
    print("i got " + p)

synx.then(foo, bar)

More Examples

You can find some in the tests folder!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published