Skip to main content

Nairobi Connector OS: Heavy Iron AI Infrastructure

Project description

Nairobi OS: Heavy Iron AI Infrastructure

[!IMPORTANT] Linux & WSL2 Only. We do not compromise on kernel physics.

Author: Kevin Chege. Location: Nairobi
License: PolyForm Noncommercial License 1.0.0

Nairobi OS is a high-performance data science operating system primitive designed for extreme resource efficiency. It enables memory-constrained environments (Edge, Containers, Serverless) to process large-scale datasets with hardware-accelerated ingestion and vectorized Rust analytics.

🚀 Version 0.2.1: The Fused Strike

This release introduces the Fused Analytics Pipeline, allowing ingestion, statistical distillation, and correlation to happen in a single, high-speed D-Bus round trip.

Key Features:

  • Fused Pipeline: nairobi_os.data.pipeline() for maximum throughput.
  • Zero-Copy Ingestion: Powered by memfd, io_uring, and kernel copy_file_range.
  • Extreme Speed: Ingest 450MB+ datasets 12x faster than standard Pandas.
  • Rayon Parallelization: Vectorized analytics leveraging multi-core hardware saturation.
  • Persistent Infrastructure: Cached D-Bus connections for low-latency calls.

🛠️ Installation

pip install nairobi-os

💻 Quick Start

import nairobi_os
import json

# Ignite the refinery daemon
nairobi_os.start_refinery()

# Run a fused analytics strike
# (Ingest + Mean/StdDev/Skew/Kurtosis + Pearson Correlation)
result_json = nairobi_os.data.pipeline(
    "data.csv", 
    "target_column", 
    "col1,col2" # Correlation pair
)

result = json.loads(result_json)
print(f"Mean: {result['mean']}")
print(f"Correlation: {result['pearson']}")

# Shutdown refinery
nairobi_os.stop_refinery()

📊 Performance Benchmark (v0.2.1)

Metric Pandas (Unoptimized) Nairobi OS Speedup
Ingestion Latency 6.38s 0.52s 12.2x
Statistical Distillation 8.79s 1.59s 5.5x
Total Pipeline 6.42s 2.29s 2.8x

⚖️ Licensing

This project is licensed under the PolyForm Noncommercial License 1.0.0. It is free for personal, educational, and research use. For commercial inquiries, please contact the author.


© 2026 Kevin Chege. All Rights Reserved.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nairobi_os-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl (14.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

Details for the file nairobi_os-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for nairobi_os-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 dc28b347b6b436594404b486f9652b9621dd59f7d0891a03b784c2c9ea5cfb93
MD5 cac4ce209ffaba08a6b151347927b1e8
BLAKE2b-256 21547d1f76bdbe5e8d9d07b1dffce66fd0646db240d47bb9bbf454c6c287e587

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