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.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heyy-0.1.1.tar.gz.
File metadata
- Download URL: heyy-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f87e6b994c0e9a3630836bdaa19724093ce657f3d837f0badc72694474a38c6
|
|
| MD5 |
712ed2d52d0b6b6be6c104b370d20449
|
|
| BLAKE2b-256 |
0e1b8f35a353908181e1bd5a7990e204b09a7fd6782bd396ea81e135be657373
|
File details
Details for the file heyy-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: heyy-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a508414befbc1dca977e2704f39fb4501afe66b4451cd827102a778c52aec4a
|
|
| MD5 |
eda163e11e0420bde68ee20108a0c255
|
|
| BLAKE2b-256 |
063f35d1c1858b6c558e8c47fd25c0d9ae54b66187c77ce4592c99d3a08f8dd6
|