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.2

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.2
File Interpreter ABI Platform
sauda-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
sauda-0.1.2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
sauda-0.1.2-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.2-py3-none-win_amd64.whl

Download URL sauda-0.1.2-py3-none-win_amd64.whl
Size 2.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9edce12333029881755bde847410459121d549f178dba4553e95a2e392cd07d6
BLAKE2b-256 checksum
How to use checksums
559f592d357d865d7d9d51ba584083d37ab190f10285a030f18ce19293330694
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 2, 2026.

Transparency log

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

Download URL sauda-0.1.2-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
f46eb954ec5698c838c2e4396d5e02fff8c9990ca5ccd1686244c47c5174b4a2
BLAKE2b-256 checksum
How to use checksums
f2e685180eccaa79884367c829ba857610708b63acfc49ef984422a661d3e104
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 2, 2026.

Transparency log

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

Download URL sauda-0.1.2-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
285732802d7ceef3907b9374fb7301f7321aabfaf7340d10c60c750663367dbe
BLAKE2b-256 checksum
How to use checksums
686439bb647695de5da6c355b28df8a698bb786abc704b73850951a5cd95a364
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 2, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.3

3 release files

This release

0.1.2 This release

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