Skip to main content

InsurgeNT ⚙️✨

Integrated Native Toolkit (InsurgeNT) – a beautiful, modern devshell + build system for C/C++ projects.

PyPI version

A clean, expressive, and fast workflow for native development.
Simple YAML configs. Stunning output. No boilerplate. No stress.

✨ Features

  • ⚡️ Incremental builds with parallel + async compilation
  • 📦 project.yaml-based config with automatic source/include detection
  • 🧠 Intelligent project layout and dependency tracking
  • 💻 Interactive shell with tab completion, history, and file ops
  • 🔧 Multi-compiler + cross-platform support (Linux, macOS, Windows)
  • 🎨 Beautiful TUI feedback with emoji, colors, and clean symbols

Getting Started

To start using InsurgeNT, run the shell:

python -m insurgent # or python -m int

Build Commands

InsurgeNT now supports parallel builds by default for maximum performance.

# Build all targets in parallel
build

# Build specific target
build myapp

# Build with debug symbols
build --debug mylib

# Build sequentially (non-parallel)
build --sequential

Unit tests (native harness)

Declare an optional unit_tests block in project.yaml (see docs/ProjectYAML.md). InsurgeNT compiles sources listed there into a separate executable and runs it when you execute:

insurgent test
# or: insurgent t

From the interactive shell:

test

Use test --silent / test --no-incremental in the shell, or insurgent test --silent / --no-incremental on the CLI. A non-zero exit code from the test binary is treated as failure.

For project_type: library, the main static library (output) is built first and linked into the test executable by default. Use unit_tests.link_project: false for a self-contained test binary, or unit_tests.libraries to add more archives (paths relative to the project root).

Creating a Project

InsurgeNT uses YAML configuration for project definitions. Here's an example:

project: example
description: An example project
authors: ["John Doe", "Jane Doe"]
license: MIT
version: 0.1.0
language: c++
standard: c++20
compiler: g++
compiler_flags:
  - global: "-fPIC"
  - common: "-O2 -Wall -Wextra"
  - cpp: "-std=c++20"
  - ld: "-lstdc++"
project_dirs: ["sources"]
project_type: executable
output: bin/example

# Optional bootstrap step
bootstrap:
  - task: prepare
  - command: "mkdir -p bin"

Installation

pip install insurgent

Development Setup

For development, InsurgeNT provides setup scripts to create a virtual environment and install dependencies:

On Linux/macOS:

# Setup development environment
./setup.sh

# With additional options
./setup.sh --venv=custom_venv --hooks --lint

On Windows:

# Setup development environment
setup.bat

# With additional options
setup.bat --venv=custom_venv --hooks --lint

Linting

To run linting tools on your code:

On Linux/macOS:

# Check and format code
./lint.sh

# Only check code (for CI)
./lint.sh --check

On Windows:

# Check and format code
lint.bat

# Only check code (for CI)
lint.bat --check

Usage

After installation, you can run the development shell by executing:

python -m insurgent

Available Commands

  • ls, cd, pwd - File navigation
  • mkdir, touch, rm, cp - File operations
  • build <project> [options] - Build a project
  • test [--silent] [--no-incremental] - Build and run the unit test executable
  • history - Show command history

Build System

InsurgeNT includes a powerful build system for C/C++ projects with features like:

  • Incremental builds
  • Dependency tracking
  • Multiple compiler support
  • Parallel and fully asynchronous compilation for maximum performance
  • Cross-platform compatibility

License

InsurgeNT is licensed under the MIT License

Metadata

Release files for insurgent 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for insurgent 0.1.1
File Size Uploaded Provenance Actions
insurgent-0.1.1.tar.gz 56.7 kB With provenance Details for insurgent-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for insurgent 0.1.1
File Interpreter ABI Platform Actions
insurgent-0.1.1-py3-none-any.whl Python 3 none any Details for insurgent-0.1.1-py3-none-any.whl

Total release size: 111.2 kB

Release files / insurgent-0.1.1.tar.gz

Download URL insurgent-0.1.1.tar.gz
Size 56.7 kB
Tags Source
SHA-256 checksum
How to use checksums
40eaf961b206bbc74fad1c395d43e85f20c70869385f2442f6b858e1680da9ef
BLAKE2b-256 checksum
How to use checksums
1bb1dda86d107ef7e26e7910c80a8890c37c2b61ae58219ec247dea472740701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

Release files / insurgent-0.1.1-py3-none-any.whl

Download URL insurgent-0.1.1-py3-none-any.whl
Size 54.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c48ba3261bf192e4e51e2aa9f7e252024efa0133275fc2809a79173963a5b24a
BLAKE2b-256 checksum
How to use checksums
d6276c1602964cd998a998efea1e904dabef63b86a6a1924ccc68cb17ffd6348
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

Security for insurgent 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for insurgent-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page