Skip to main content

logo

NSEPython is a Python library to get publicly available data on the current NSEIndia and NIFTY Indices site by communicating with their REST APIs.

logo

Support and Beta Functions

Versions

There are two versions of NSEPython depending on the execution environment. While it's technically feasible to combine these versions into a single program, doing so could introduce latency. Given the financial nature of this program, time is of the essence.

NSEPython Edition Compatibility Tested Environments
Local Edition Laptops (Windows 11, 10) Windows 11, Windows 10
Server Edition Servers (AWS, Google Colab, DigitalOcean) AWS, Google Colab, DigitalOcean

Installation

Use the package manager pip to install nsepython.

NSEPython Local Edition

Access NSEPython for laptops, specifically tailored for Windows 11 and Windows 10 compatibility.

pip install nsepython

NSEPython Server Edition

Leverage NSEPython designed for server environments, seamlessly functioning on AWS, Google Colab, and DigitalOcean.

pip install nsepythonserver

Cross Library Migration

All the functions from the two renowned packages, NsepY and NSETools, have been migrated here with the same function names. Both of these packages had been left unmaintained for a considerable period.

Advanced Usecases

Mastering AlgoTrading: A Beginner's Guide using NSEPython

Designing an Index Fund From Scratch in Indian Share Market

Coding Heatmap and ORB

Markov Chain

Leverage

In Leverage, a plethora of trader-focused tools has been meticulously crafted using NSEPython.

Here's an illustration of a Sectoral Heatmap, showcasing the extent of complexity that NSEPython API can effortlessly handle.

logo

Metadata

Release files for nsepython 2.99

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

Source distribution (sdist)

Source distribution for nsepython 2.99
File Size Uploaded Provenance Actions
nsepython-2.99.tar.gz 51.2 kB With provenance Details for nsepython-2.99.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nsepython 2.99
File Interpreter ABI Platform Actions
nsepython-2.99-py3-none-any.whl Python 3 none any Details for nsepython-2.99-py3-none-any.whl

Total release size: 100.3 kB

Release files / nsepython-2.99.tar.gz

Download URL nsepython-2.99.tar.gz
Size 51.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4bcb4d26545590f8bf78cdc9512f3e215072bb7dc91eded08ee0a09f9b2f2cdc
BLAKE2b-256 checksum
How to use checksums
05b43b7b5f215ed6994b4ac1491b4c1020add25bab7524c4644d7f601895c3d0
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 7, 2026.

Transparency log

Release files / nsepython-2.99-py3-none-any.whl

Download URL nsepython-2.99-py3-none-any.whl
Size 49.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c28168baea099505aee28b7cc461b84164ed91381b04d11c675ee32f7bda34a
BLAKE2b-256 checksum
How to use checksums
dce8906e985767b0cc5105036652beb015fc9b95e4a1e61e8d0bd97343d728b7
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 7, 2026.

Transparency log

Security for nsepython 2.99

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nsepython-2.99.tar.gz

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

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.99 This release

2 release files Full provenance

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