nepse-sdk
Unofficial Python SDK and CLI for the Nepal Stock Exchange (NEPSE).
Installation
pip install nepse-sdk
SDK Usage
from nepse import NepseClient
with NepseClient() as client:
for item in client.market_summary():
print(item.detail, f"{item.value:,.2f}")
detail = client.security_detail("ADBL")
print(detail.info.symbol, detail.trade.last_traded_price)
for record in client.dividends("ADBL"):
print(record.fiscal_year_nepali, f"Cash: {record.cash_dividend}%")
All methods return fully typed dataclasses — no raw dicts.
CLI Commands
nepse market-summary # market turnover, traded shares, transactions, capitalization
nepse top-gainers # top gaining stocks (use -a for all)
nepse top-losers # top losing stocks (use -a for all)
nepse securities # list all non-delisted securities
nepse security ADBL # detail view for a security by symbol
nepse dividends ADBL # dividend history for a security
Disclaimer
This is an unofficial tool and is not affiliated with or endorsed by NEPSE (Nepal Stock Exchange) or Nepal Stock Exchange Ltd. Use at your own risk.
License
MIT
Metadata
Release files for nepse-sdk 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| nepse_sdk-0.1.0.tar.gz | 6.2 kB | Without provenance | Details for nepse_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nepse_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nepse_sdk-0.1.0-py3-none-any.whl |
Total release size: 16.1 kB
Release files / nepse_sdk-0.1.0.tar.gz
| Download URL | nepse_sdk-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a751ef324452ad9f591a7ea13b88a5de9f5fb4a3d69d7dfdaf21984e5c64124
|
|
BLAKE2b-256 checksum How to use checksums |
8657b7fdff02f4fd7d2d4c523fa03c38afa244c6518f0c9f2d42408fdfcde308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.9
|
Release files / nepse_sdk-0.1.0-py3-none-any.whl
| Download URL | nepse_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65eea1f182f3c1bca291e38784f204dd2a2985af98d51ac688d04b4445044a92
|
|
BLAKE2b-256 checksum How to use checksums |
f1dd9b9d5a455b471744fb5cee800365d1f740b66470e6765799605764cb1971
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.9
|
Security for nepse-sdk 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.