nowfound

Dev tools · July 16, 2017

PA

Pie – an idiomatic C++ interface to CPython's C API

I recently needed to add support for Python plugins in a C++ application I am developing. CPython's C API is pretty cool, but it's a C API. I wanted something more C++-ey, so I wrote Pie. https://github.com/ronmrdechai/Pie

Pie – an idiomatic C++ interface to CPython's C API launched on July 16, 2017 with 10 votes, #881 of 2,972 launches that month and more than 75% of that year's launches.

In plain words

Pie is a C++ library that wraps CPython's C API with idiomatic C++ interfaces. It enables developers to embed Python plugins in C++ applications without directly using CPython's C API. The library simplifies integration by providing C++-native abstractions, making it easier to call Python code and handle objects from C++.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Pie2025 · pie.inc · ▲276

    The first AI QA team. Ship with confidence.

  • Port of OpenAI's Whisper model in C/C++2022 · github.com · ▲399

    Hi HN, OpenAI recently released a model for automatic speech recognition called Whisper [0]. I decided to reimplement the inference of the model from scratch using C/C++. To achieve this I implemented a minimalistic tensor library in C and ported the high-level architecture of the model in C++. The entire code is less than 8000 lines of code and is contained in just 2 source files without any third-party dependencies. The Github project is here: https://github.com/ggerganov/whisper.cpp With this implementation I can very easily build and run the model - “make…

  • PyCParser, C parser and interpreter in Python2019 · github.com · ▲112

    C parser and interpreter written in Python with automatic ctypes interface generation - PyCParser/README.md at master · albertz/PyCParser

  • I built a Cargo-like build tool for C/C++Apr 2026 · github.com · ▲177

    I love C and C++, but setting up projects can sometimes be a pain. Every time I wanted to start something new I'd spend the first hour writing CMakeLists.txt, figuring out find_package, copying boilerplate from my last project, and googling why my library isn't linking. By the time the project was actually set up I'd lost all momentum. So, I built Craft - a lightweight build and workflow tool for C and C++. Instead of writing CMake, your project configuration goes in a simple craft.toml: [project] name = "my_app" version = "0.1.0" language = "c" c_standard = 99 [build] type = "executable"…

  • Emacs org mode integration with IPython2015 · github.com · ▲92

    org-babel integration with Jupyter for evaluation of (Python by default) code blocks - gregsexton/ob-ipython

  • AM
    A modern C++20 AI SDK (GPT‑4o, Claude 3.5, tool‑calling)2025 · ▲56

    Hi all, I’m hacking on new features for the ClickHouse native client and wanted the same “just call the model” ergonomics JavaScript and Python now enjoy. It didn’t exist for modern C++, so I wrote one. ai‑sdk‑cpp (Apache‑2.0) gives you: - Unified calls to OpenAI (GPT‑4o) and Anthropic (Claude 3.5) with a single C++20 API. - Streaming, multi‑turn chat, error handling—all std::optional/std::variant, no macros. - Tool calling (function‑calling) so the model can hit real APIs; sync or async, runs in parallel. The tricky bit: C++ still lacks real reflection, so mapping plain functions →…

More dev tools this month

the category →
  • /dev/null▲491

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 19h ago · github.com

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Show HN post ↗

Launched alongside, July 2017

the whole month →
  • Muzzle▲1,120

    Silence embarrassing notifications while screensharing

    Life & fun · 2017 · muzzleapp.com

  • A collection of startup pitch decks that raised $1.4 Billion

    Commerce · 2017 · dconstrct.com

  • Beautiful analytics on your Spotify listening habits 🎧

    Life & fun · 2017 · open.spotify.com

  • Abstract▲837

    Design collaboration without the chaos

    Dev tools · 2017 · abstract.com

  • Hoodmaps▲792

    Crowdsourced neighborhood 🗺 maps to navigate a city 💫

    Life & fun · 2017 · hoodmaps.com

  • A new service for helping businesses recruit

    Work · 2017 · hire.google.com