Skip to main content

A CLI tool to preprocess and compile C++ files with remote #includes.

Project description

📦 Inclu++ — Remote-Aware C++ Preprocessor

Inclu++ (inclupp) is a command-line tool that enhances your C++ workflow by allowing you to #include header files directly from URLs, just like local files.

🔗 #include "https://example.com/hello.hpp"
📥 Automatically downloaded and compiled with your source code.


✨ Features

  • 🔍 Detects #include directives with URLs
  • 💻 Works for both C and C++ source files
  • 🌐 Downloads remote header files on the fly
  • 🗂 Stores them in a temporary directory
  • ⚙️ Compiles using g++ behind the scenes
  • 🎨 Colorful CLI output with live status messages
  • ✅ Simple and lightweight — no setup needed

🚀 Quick Start

pip install inclupp
inclupp main.cpp

🧪 Example

main.cpp

#include "https://example.com/hello.hpp"

int main() {
    hello();
    return 0;
}
inclupp main.cpp
🔧 Processing source file: main.cpp
🔄 Downloading: https://example.com/hello.hpp
✅ Saved to: /tmp/tmpabc123/hello.hpp
🔨 Compiling the processed file...
🎉 Compilation successful: main

🔧 Usage

inclupp --version
inclupp <source_file.c or .cpp>

📦 Requirements

  • Python 3.6+
  • g++ in PATH
  • Internet connection
  • Python packages: requests, colorama

📘 License

MIT License
© 2025 LautyDev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inclupp-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inclupp-1.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file inclupp-1.0.1.tar.gz.

File metadata

  • Download URL: inclupp-1.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for inclupp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4de6f56294eed53ebfc3537615a81c15fd609b3d8bed573dceb8e0201cc16275
MD5 0fbb1f59716fbb24112a00000f32ff6e
BLAKE2b-256 7336c52050e5704492b419cc73debf000937f39a05d732b9b8fac679dee75c61

See more details on using hashes here.

File details

Details for the file inclupp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: inclupp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for inclupp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 699ea93cc4eaf662963d68f73bb8bd21db420f56164742c1c6c3a1635906c792
MD5 d36e5e7aef4c1d18b666def8c164aa65
BLAKE2b-256 f5ea1a1281d4462278f466e92e18bc11ddd8f000a5a657928e3ca87304ea81c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page