Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@crccheck/pino-prettypy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crccheck/pino-prettypy

A wrapper around pino-pretty

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

pino-prettypy

A wrapper around pino-pretty that adds Python logging level transformation.

⚠️ Note: This is a toy project and is not actively maintained. It was vibe coded with an LLM.

What it does

This tool transforms Python logging levels to Pino levels, allowing you to prettify Python logs that use levelname with pino-pretty.

Python → Pino level mapping:

  • DEBUG → 20
  • INFO → 30
  • WARNING → 40
  • ERROR → 50
  • CRITICAL → 60

Installation

npm install -g @crccheck/pino-prettypy

Or use with npx:

npx @crccheck/pino-prettypy

Usage

Pipe your Python JSON logs through pino-prettypy:

cat your-python-logs.jsonl | pino-prettypy

All pino-pretty options are supported:

cat your-python-logs.jsonl | pino-prettypy -t -c

How it works

  • Transforms "levelname":"INFO""level":30
  • Pipes the transformed JSON through pino-pretty
  • Outputs beautifully formatted logs

License

ISC

This project includes code from pino-pretty, which is licensed under the MIT License.

Author

Chris Chang github@crccheck.com

Keywords

pino

FAQs

Package last updated on 01 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts