Skip to main content

Nairobi Connector OS: Heavy Iron AI Infrastructure

Project description

Nairobi OS: Heavy Iron AI Infrastructure

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 200x less RAM than traditional Python data stacks.

🚀 Version 0.2.0: 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 and kernel copy_file_range.
  • Extreme Efficiency: Process 400MB+ datasets in just 20MB of RAM.
  • Rayon Parallelization: Vectorized analytics leveraging multi-core hardware.
  • 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 (v2.0)

Metric Pandas Nairobi OS
RAM Usage 4,285 MB 20.5 MB
CPU Usage 1,158% 10%
Latency 912 ms 1,160 ms

⚖️ 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 Distribution

nairobi_os-0.2.0.tar.gz (9.7 MB view details)

Uploaded Source

Built Distribution

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

nairobi_os-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl (11.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

Details for the file nairobi_os-0.2.0.tar.gz.

File metadata

  • Download URL: nairobi_os-0.2.0.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for nairobi_os-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9951cfa61207be11f237fab30193c76e6c7b9090a342e584d0e4872eb7e2a2f7
MD5 7e78146450f3f95729d53645e7626b2a
BLAKE2b-256 8f091dc000431548b3a1e5fdacb6b000a7be584e37e55ec0e3bc9baeab2dfec9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nairobi_os-0.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 91c6ed7f738c5035d505784c2877fcffb014ba9c55e0f88372f0466017804ac6
MD5 d274edf3a04116b510de4c2e6979bab4
BLAKE2b-256 6eb7d0b6521637e19cabba482adddc8a30846fc88e0f0893165974f9ebfb7b01

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