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.
Source Distribution
heyy-0.4.2.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file heyy-0.4.2.tar.gz
.
File metadata
- Download URL: heyy-0.4.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e8784f1a70b0ee7a58a37950d9ed5178ab7e3321cc1f1647b877ed908d227c |
|
MD5 | 2d1f91aca36727afafbc4158c86e73c1 |
|
BLAKE2b-256 | 1e1a5d9dda6d92023ee58f69c5064f19e7e888fde005a16793a409262a6b4a08 |
File details
Details for the file heyy-0.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: heyy-0.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be8b157f5c809e2c6643a11ab447f33a6d5ff80c8d29daf375bfcf64873dddaa |
|
MD5 | 5ab7a574e99428da143f46ffda4c4b4a |
|
BLAKE2b-256 | c477f359183dae2eaf16e8c3c94cae18a57d791677137b932a644b3c0d9fb1bd |