GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PEACEBINFLOW/law-n-sql-api: HTTP API for Law-N N-SQL. Exposes endpoints to load network.routes rows, inspect them, and run N-SQL queries over them via FastAPI.

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
examples
examples
 
 
law_n_sql_api
law_n_sql_api
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Law-N SQL API (law-n-sql-api)

Minimal HTTP API for Law-N:

  • Accepts network.routes rows over HTTP
  • Stores them in an in-memory table
  • Exposes simple endpoints to:
    • list current rows
    • load/replace rows
    • run an N-SQL query over network.routes (if law-n-sql-core is available)

This is the first Law-N microservice: a small but real step toward CLSI (Cloud Layer Signal Interface).


✨ Features

  • POST /tables/network-routes/load
    Load or replace network.routes with JSON rows

  • GET /tables/network-routes
    Read back all rows (with optional basic filters)

  • POST /query/nsql
    Run an N-SQL query like:

    SELECT device, tower_id, latency_ms, signal_quality
    FROM network.routes
    WHERE g_layer = '5G'
      AND signal_quality > 0.9;

About

HTTP API for Law-N N-SQL. Exposes endpoints to load network.routes rows, inspect them, and run N-SQL queries over them via FastAPI.

Topics

in-memory-databaselaw-nmicroservicenetwork-apinetwork-observabilitynetwork-routesnetwork-simulationnetwork-statensqlrest-apisignal-processingsql-api

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.