Skip to main content

nubra_workshop

Drop-in workshop adapter for the official Nubra Python SDK.

This package allows workshop participants and students to run unmodified, official Nubra Python SDK tutorials and examples without needing individual account signups, phone numbers, SMS OTPs, or MPINs.


🚀 Quick Start for Students

1. Install

pip install nubra_workshop

2. Run Unmodified Nubra Code!

Write native Nubra SDK code exactly as shown in official Nubra documentation:

from nubra_python_sdk.start_sdk import InitNubraSdk, NubraEnv
from nubra_python_sdk.refdata.instruments import InstrumentData
from nubra_python_sdk.marketdata.market_data import MarketData

# Initializes via the workshop relay gateway automatically:
nubra = InitNubraSdk(NubraEnv.UAT)

# Fetch instruments:
instruments = InstrumentData(nubra)
inst = instruments.get_instrument_by_symbol("RELIANCE26OCT700CE", exchange="NSE")
print("Found instrument:", inst.stock_name if inst else "None")

# Live market data:
market = MarketData(nubra)
price_info = market.current_price("NIFTY")
print("Live NIFTY Price:", price_info.price if price_info else "N/A")

No OTP prompts, no MPIN prompts, and no custom code required!


⚙️ How It Works

  1. Automatic Initialization: During pip install, nubra_workshop registers an auto-loader in Python's site-packages. When your script runs InitNubraSdk, it routes through the designated workshop relay gateway.
  2. Explicit Import (Optional): If you prefer explicit imports, you can include import nubra_workshop or import nubra_patch at the top of your script.
  3. Custom Gateway URL: If your instructor hosts a custom gateway, point to it using an environment variable:
    export NUBRA_GATEWAY_URL="https://your-custom-gateway.example.com"
    

📦 Compatibility

  • Official nubra-sdk >= 0.5.4
  • Python >= 3.9

Metadata

Release files for nubra-workshop 1.0.0

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

Source distribution (sdist)

Source distribution for nubra-workshop 1.0.0
File Size Uploaded
nubra_workshop-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nubra-workshop 1.0.0
File Interpreter ABI Platform
nubra_workshop-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / nubra_workshop-1.0.0.tar.gz

Download URL nubra_workshop-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8d58a7c16e86987ab30b7e97a1e620b9a3a71a0112c04ef44c38a6475889f1b
BLAKE2b-256 checksum
How to use checksums
191f351528ff35f6717c0476f33a8478270697a7c657cf19b82d2f3beb41dee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release files / nubra_workshop-1.0.0-py3-none-any.whl

Download URL nubra_workshop-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea516e3c35070b9762026c1017af5bcab9f657c32a861a58dceaf57e351519cf
BLAKE2b-256 checksum
How to use checksums
5db9b54d0a4f6b96fb2301023430b738642dcd3c894171bcc8137550efd49376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release history Release notifications | RSS feed

1.0.2

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 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