Skip to main content

Some simple utilities.

Project description

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

Project details


Download files

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

Files for heyy, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size heyy-0.2.0-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size heyy-0.2.0.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page