heyy 0.4.2

Creator: bradpython12

Last updated:

Add to Cart

Description:

heyy 0.4.2

HEYY - some simple utilities
Usage
import heyy

# Temporarily change the working directory
# to complete some IO operation (e.g. save data to files)
@heyy.with_folder('my_folder')
def some_io_operation():
pass

# convert dict to object
import requests
res = requests.get('<url>')
data = res.json()
dict_obj = heyy.json2obj(data)

# reflect attrs and values of an object
obj = dict_obj
heyy.reflect(obj, skip_callable=True) # default False

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.