Skip to main content

sauda

NSE market data for Python. A thin client over jugaad-rpc, the Rust gRPC server from the jugaad-rs monorepo - the wheel bundles the server binary, so there is nothing else to install or run.

pip install sauda
from sauda import Client

with Client() as c:                      # starts the bundled server on a loopback port
    print(c.stock_quote("SBIN")["last_price"])
    rows = c.stock_history("SBIN", "2026-01-01", "2026-01-31")
    for q in c.watch_stock_quote("SBIN", interval=5):
        print(q["last_price"])
        break
Method Returns
stock_quote(symbol) live quote with a 5-level order book
watch_stock_quote(symbol, interval=3) iterator of live quotes
stock_history(symbol, from_date, to_date) daily OHLC, volume and delivery rows
index_history(name, from_date, to_date) daily index OHLC
index_snapshot() every NSE index, live
market_status() open/closed per market segment, holiday-aware
large_deals() bulk, short and block deals
option_chain(symbol, kind="index", expiry=None) option chain rows with call and put legs
option_expiries(symbol) available expiry dates
corporate_announcements(from_date, to_date, segment="equities", symbol=None) exchange disclosures

Results are plain dicts and lists of dicts, so pandas.DataFrame(rows) works directly. The server stops when the client is closed, and also when your Python process dies (including a hard kill or a notebook kernel restart). Client.stub is the raw generated gRPC stub for anything not wrapped above.

Full reference, error handling and troubleshooting: the manual.

Wheels: Windows x64, Linux x86_64 (glibc 2.28+), macOS Apple Silicon. Python 3.9+.

Development

pip install -r requirements-gen.txt maturin
python generate.py           # generate src/sauda/_proto from the shared .proto
maturin develop --release    # build the server + install in the current venv
python smoke_test.py         # offline end-to-end check

Metadata

Release files for sauda 0.1.3

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

Built distributions (wheels)

Table of built distributions (wheels) for sauda 0.1.3
File Interpreter ABI Platform
sauda-0.1.3-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
sauda-0.1.3-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
sauda-0.1.3-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 7.6 MB

Release files / sauda-0.1.3-py3-none-win_amd64.whl

Download URL sauda-0.1.3-py3-none-win_amd64.whl
Size 2.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ac791e321209217ea634def8967469be02438097847a88a9cba8da16bf91cabe
BLAKE2b-256 checksum
How to use checksums
e9ea54f1d7c9d6a622d0f4a456c71e9e0fd130717172c438b53060faaa122903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release files / sauda-0.1.3-py3-none-manylinux_2_28_x86_64.whl

Download URL sauda-0.1.3-py3-none-manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8791ac99dffe059a4599acca86adb9b6f1b9689e0d41ed6037f3d1313942b003
BLAKE2b-256 checksum
How to use checksums
454cc662064d1c6acff89e230a86856c2719718f84c0ff662926753c476c65f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release files / sauda-0.1.3-py3-none-macosx_11_0_arm64.whl

Download URL sauda-0.1.3-py3-none-macosx_11_0_arm64.whl
Size 2.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fb121e37e570e63d197594c2f6a73562b0eb02bf18a15b1c2f4d3a9fb4112a1e
BLAKE2b-256 checksum
How to use checksums
d29dc03e3e8d6c634e1b28e24b92384b78b9da4f2149e81a5d1b37fd2583104c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

3 release files

0.1.2

3 release files

0.1.1

3 release files

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