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 9, 10) Windows 9, 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 9 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 nsepythonserver 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 nsepythonserver 2.99
File Size Uploaded Provenance Actions
nsepythonserver-2.99.tar.gz 49.9 kB With provenance Details for nsepythonserver-2.99.tar.gz

Built distribution (wheel)

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

Total release size: 97.7 kB

Release files / nsepythonserver-2.99.tar.gz

Download URL nsepythonserver-2.99.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e351fd669a18b6615e51553d4f41739b4c19858f3e720e3924b0c447e91b8782
BLAKE2b-256 checksum
How to use checksums
c19973632511894a160ab192b78cbef3845959df5a5624629862b75cdb848bf4
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 / nsepythonserver-2.99-py3-none-any.whl

Download URL nsepythonserver-2.99-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9930e41d3105bd38e4d6c4cedc0a5be92e0f970c7adae6c0431bacdcaf9867a7
BLAKE2b-256 checksum
How to use checksums
8d37111ee49f6492a1bd6a8e1bf1961ebe5c57720dcda26c5a14c13f3dc0d1b7
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 nsepythonserver 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 nsepythonserver-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.

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