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.

Files for edenpy, version 0.5.6
Filename, size File type Python version Upload date Hashes
Filename, size edenpy-0.5.6-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

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