Skip to main content

Personal utils package for Python projects

Project description

Personal utils package for Python projects.

Improve Library

If you get an error or need something to improve, write Issues.


pip install edenpy



from edenpy import save_json, Logger

(1) File Load and Save

from edenpy import save_json

data = [1, 2, [3, 4], {5: 'a', 6: 'b'}]
path = "./data.json"

save_json(data, path)


		"5": "a",
		"6": "b"

(2) Logger

When you run a file using logger like, log is written to log.log. The log records the time, log level, file name, code line, log message.

from edenpy import Logger

logger = Logger().logger"logger info test")
logger.error("logger error test")


[2020-05-26 09:54:23,182][    INFO][][   4]	>>	logger info test
[2020-05-26 09:54:23,182][   ERROR][][   5]	>>	logger error test

Project details

Download files

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

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

edenpy-0.5.6-py3-none-any.whl (4.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page