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
- Automatic Initialization: During
pip install,nubra_workshopregisters an auto-loader in Python'ssite-packages. When your script runsInitNubraSdk, it routes through the designated workshop relay gateway. - Explicit Import (Optional): If you prefer explicit imports, you can include
import nubra_workshoporimport nubra_patchat the top of your script. - 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)
| File | Size | Uploaded | |
|---|---|---|---|
| nubra_workshop-1.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|