awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mpaland avatar

mpaland/printf

0
View on GitHub↗
2,952 stars·547 forks·C·mit·9 views

Printf

This project is a lightweight C string formatting library and low-level text formatter designed for embedded systems and bare-metal hardware environments. It provides a minimal formatting engine for converting numeric types and variables into formatted text using standard specifier notation in environments that lack a full C runtime or standard library.

The library features a custom stream output utility that routes formatted text strings to user-defined callback functions. This allows for flexible output destinations and character-level writing, enabling formatted debug messages and logging on hardware without a standard system console.

The formatting capabilities cover template string generation and variable-to-text conversion, including support for integers, floating-point values, and exponential notation. It maps sequential arguments to format placeholders within a template string to produce a final text representation.

Features

  • Template Formatting Engines - Provides a minimal formatting engine that uses template strings and specifiers to produce formatted text.
  • Callback-Driven Output Rendering - Sends formatted output to a specific callback function to support flexible output destinations.
  • Callback-Based Routing - Provides a custom stream utility to route formatted text to user-defined callback functions.
  • Stream Output Management - Provides a system for directing formatted text streams to specific callback destinations.
  • String Formatting Utilities - Converts numbers and variables into formatted strings using specifiers for integers and floating point.
  • Template String Interpolation - Parses strings with placeholders and replaces them with numeric or string arguments.
  • Bare Metal Logging - Enables the creation of formatted debug messages and logs for bare-metal embedded devices.
  • Embedded Print Engines - Ships a minimal formatting engine designed for hardware environments without a standard output or runtime.
  • Embedded Text Formatting - Formats variables and numbers into strings specifically for hardware environments without a standard C library.
  • Low-Level Text Formatters - Provides low-level conversion of numeric types and variables into formatted text using specifier notation.
  • C String Formatting Libraries - Implements a lightweight C library for formatted string printing and variable conversion.
  • Format Specifier Mappings - Implements the core logic for mapping input arguments to format placeholders in template strings.
  • Base Conversion Utilities - Transforms integers and numeric values between different bases using predefined specifier rules.
  • Callback Stream Routing - Directs formatted text output to user-defined callback functions instead of the standard system console.
  • Character-Level Writing - Enables character-level writing through low-level functions for use in resource-constrained environments.
  • Formatted String Output - Provides low-level routines for converting raw data and numeric types into human-readable text.
  • Formatting and Logging - Tiny, fast, and dependency-free printf implementation.

Star history

Star history chart for mpaland/printfStar history chart for mpaland/printf

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Printf

Similar open-source projects, ranked by how many features they share with Printf.
  • fmtlib/fmtfmtlib avatar

    fmtlib/fmt

    23,596View on GitHub↗

    fmt is a type-safe C++ text formatting library used to convert data into formatted strings and text. It serves as a high-performance string buffer utility and provided the basis for the formatting features introduced in the C++20 standard. The library shifts format string validation and size computation to the compilation phase to prevent runtime crashes and increase execution speed. It utilizes a memory-efficient interface to write formatted data directly into buffers, minimizing allocations and eliminating intermediate string overhead. The project covers a broad range of text processing ca

    C++
    View on GitHub↗23,596
  • cppformat/cppformatcppformat avatar

    cppformat/cppformat

    23,626View on GitHub↗

    cppformat is a type-safe C++ formatting library that serves as a high-performance alternative to standard C++ input and output streams for converting data into formatted strings. It integrates a compile-time format validator to ensure format specifiers match argument types, preventing runtime crashes. The library includes a positional argument engine that enables the reordering of text arguments for internationalization and localization. It also features a Unicode text formatter to ensure consistent and portable character representation across different operating systems. The project provide

    C++
    View on GitHub↗23,626
  • angular-translate/angular-translateangular-translate avatar

    angular-translate/angular-translate

    4,281View on GitHub↗

    AngularJS Internationalization Library is a localization framework for AngularJS 1.x applications. It functions as an i18n translation tool used to swap static user interface text with localized versions based on a selected locale. The framework manages multi-language content through asynchronous loading of translation files to minimize bundle size. It includes systems for handling pluralization rules and interpolating dynamic variables into translation strings. The project also provides capabilities for language switching and fallback-chain resolution to ensure a readable string is displaye

    JavaScriptangularjsboweri18n
    View on GitHub↗4,281
  • airbnb/polyglot.jsairbnb avatar

    airbnb/polyglot.js

    3,723View on GitHub↗

    Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system for mapping unique keys to localized strings, allowing applications to translate text into multiple languages. The library includes a pluralization and interpolation engine that handles complex grammatical plural forms based on numeric counts and inserts dynamic variables into translated strings. It supports nested namespaces to organize phrase mappings into logical categories. These utilities cover phrase translation, locale-driven configuration, and the management of multi-l

    JavaScript
    View on GitHub↗3,723
See all 30 alternatives to Printf→

Frequently asked questions

What does mpaland/printf do?

This project is a lightweight C string formatting library and low-level text formatter designed for embedded systems and bare-metal hardware environments. It provides a minimal formatting engine for converting numeric types and variables into formatted text using standard specifier notation in environments that lack a full C runtime or standard library.

What are the main features of mpaland/printf?

The main features of mpaland/printf are: Template Formatting Engines, Callback-Driven Output Rendering, Callback-Based Routing, Stream Output Management, String Formatting Utilities, Template String Interpolation, Bare Metal Logging, Embedded Print Engines.

What are some open-source alternatives to mpaland/printf?

Open-source alternatives to mpaland/printf include: fmtlib/fmt — fmt is a type-safe C++ text formatting library used to convert data into formatted strings and text. It serves as a… cppformat/cppformat — cppformat is a type-safe C++ formatting library that serves as a high-performance alternative to standard C++ input… iuricode/padroes-de-commits — This project is a Git commit standardization tool and semantic commit generator. It serves as an assistant to align… airbnb/polyglot.js — Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system… angular-translate/angular-translate — AngularJS Internationalization Library is a localization framework for AngularJS 1.x applications. It functions as an… mikemcl/bignumber.js — bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and…