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
#includedirectives with URLs - 💻 Works for both
CandC++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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4de6f56294eed53ebfc3537615a81c15fd609b3d8bed573dceb8e0201cc16275
|
|
| MD5 |
0fbb1f59716fbb24112a00000f32ff6e
|
|
| BLAKE2b-256 |
7336c52050e5704492b419cc73debf000937f39a05d732b9b8fac679dee75c61
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
699ea93cc4eaf662963d68f73bb8bd21db420f56164742c1c6c3a1635906c792
|
|
| MD5 |
d36e5e7aef4c1d18b666def8c164aa65
|
|
| BLAKE2b-256 |
f5ea1a1281d4462278f466e92e18bc11ddd8f000a5a657928e3ca87304ea81c0
|