Skip to main content

A Docker and AWS utility package

Project description


A testing package for Digital Kites processes.


Make sure you have python and pip installed.

pip install mypackage


import mypackage

obj = {
    app_ip:"x.x.x.x",  // optional 
    app_name:"your pm2 app name",  // optional
    app_id: 1, // pm2 process id (optional)
    date: Math.floor(new Date().setHours(0, 0, 0, 0) / 1000), // your date epoch in seconds
    time: Math.floor( / 1000), // your time epoch in seconds
    message: "some message",//your message
    status: "online",
    log_level:"info" //["fatal", "error", "warn","info","debug"]


How to include in your process:

//Note:Must include this in the first line of your file(which is started with pm2).
//Note:Make sure this snippet runs in production envirnoment.
const dk_logger = require('dk-logger');

dk_logger.setApiKey('YOUR API KEY');


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 way2package, version 19.2.3
Filename, size File type Python version Upload date Hashes
Filename, size way2package-19.2.3-py3-none-any.whl (2.0 kB) File type Wheel Python version py3 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