Modern CLI tool for Meroshare IPO automation and NEPSE market data with interactive TUI
Project description
Nepse CLI - Meroshare IPO Automation & Market Data
A professional command-line tool for NEPSE market analysis and automated Meroshare IPO applications.
Installation
Install (from source or PyPI):
# From PyPI (recommended when available)
pip install nepse-cli
# Or run directly from the repository for development
python main.py
# On Windows you can also use the bundled start script
start_nepse.bat
Overview
Nepse CLI is a command-line tool for Nepal Stock Exchange (NEPSE) users. It provides automated Meroshare IPO application flows (fast API-based and legacy browser automation), market data, portfolio reporting, and member management.
Key Features
IPO Automation
- Fast API-based IPO application (
applyfor single member,apply-allfor all members) - Legacy browser automation is available but deprecated (
apply-legacy,apply-all-legacy) - Multi-member support and allotment/result checking (
result,ipo-status)
Market Analysis
- Real-time NEPSE indices (Main, Sensitive, Float, Sector-wise)
- Comprehensive stock information and live prices
- Fundamental analysis and company profiles
- Market depth and order book visualization
- Trading signals and price alerts
- Floor sheet with live trade data
- 52-week performance tracking
- Broker rankings and analysis
Portfolio Management
- Multi-member portfolio tracking
- Real-time profit/loss calculation with WACC
- Secure local credential storage
- Interactive member management
- Portfolio visualization and reporting
User Experience
- Interactive shell with searchable command palette (
/) - Autocompletion and persisted history
- Rich-formatted output and progress indicators
Requirements
- Python 3.8 or higher
- Windows, Linux, or macOS
- Internet connection
- Meroshare account (for IPO features)
Optional (legacy flows): Playwright and a browser if you intend to use browser automation commands.
Available Commands (current)
Market Data
nepse— Display NEPSE indicessubidx <name>— Show sub-index detailsmktsum— Display market summarytopgl— Show top gainers and losersstonk <symbol>— Show stock details (supports multiple symbols)ph <symbol>— Interactive price history view52week— Stocks at 52-week high/lownear52— Stocks near 52-week high/lowfloor [symbol] [--date YYYY-MM-DD] [--buyer ID] [--seller ID] [--page N] [--size N]— View floorsheet (with broker names)holidays— Show market holidays
Stock Analysis
profile <symbol>— Company profile & infofundamental <symbol>— Stock fundamentals (EPS, P/E, Book Value)depth <symbol>— Market depth (order book)
Trading Info
signals— Strong buy/sell signalsannounce— Market announcementsbrokers— List all brokersbsum [--1d|--1w|--1m]— Broker net buy/sell summarysectors— List all sectors
IPO Management
ipo— List all open IPOsipo-status [member] [--limit N]— Show IPO application status for a memberapply [member]— Fast API-based IPO application (single member)apply-all— Fast API-based IPO application for all members (parallel)schedule enable [--time HH:MM]— Schedule daily auto-apply for applicable Ordinary Shares IPOs (default09:00)schedule disable— Remove the Nepse CLI scheduler entryschedule status— Show whether the scheduler is registered and at what timeschedule history— Show recent scheduled IPO run historyapply-legacy [member] [--gui]— Deprecated browser-based IPO applicationapply-all-legacy [--gui]— Deprecated browser-based IPO for allresult [member] [--all]— Check IPO allotment results
Notes:
- The modern default is
apply/apply-allwhich use the fast API flows. - Legacy browser automation commands (
apply-legacy,apply-all-legacy) require Playwright and may be removed in future releases.
Member & Account Management
add— Add new family memberlist— List all family membersedit— Edit existing family memberdelete— Delete family membermanage— Member management menu
Meroshare Account & Portfolio
portfolio [name]— Get real-time portfolio with P/L (includes WACC). If no name is provided, you'll be prompted to select a member.wacc [name]— Process pending WACC calculationswacc-report [name]— View WACC holdings report with P/Linfo [name]— Meroshare account informationlogin [name]— Test login for member (GUI/headless depends on flags)dp-list— Search and list available DPs
Interactive Tools
help | ? | /— Show/search command paletteguide— Open the tutorial linkdev— Developer socials and linksclear | cls— Clear the screenexit | quit— Exit the CLI
Links
- PyPI Package: https://pypi.org/project/nepse-cli/
- Documentation / Tutorial: https://youtu.be/S7aOPU2NkIQ
- Report Issues: https://github.com/menaceXnadin/nepse-cli/issues
License
MIT License
Disclaimer
This tool is for educational and personal use only. Users are responsible for complying with Meroshare's terms of service and applicable regulations. The developers are not liable for any misuse or issues arising from the use of this tool.
Acknowledgments
- Data sources: NEPSE, ShareSansar, ShareHubNepal
- Built with: Rich, Playwright, Click, Prompt Toolkit
- Community contributions and feedback
Support: For questions or issues, please open an issue on GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nepse_cli-3.1.31.tar.gz.
File metadata
- Download URL: nepse_cli-3.1.31.tar.gz
- Upload date:
- Size: 92.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb91869896431369ab80ee853944f1ae88140cf3f898bc150f44402181aa6e43
|
|
| MD5 |
adec95a8bd177857d51cfb6ceea4d503
|
|
| BLAKE2b-256 |
07bbf58239e364082b932b6e03b7f6111b7f28feae9bc2e8b9167c25e7593e36
|
Provenance
The following attestation bundles were made for nepse_cli-3.1.31.tar.gz:
Publisher:
python-publish.yml on menaceXnadin/nepse-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nepse_cli-3.1.31.tar.gz -
Subject digest:
fb91869896431369ab80ee853944f1ae88140cf3f898bc150f44402181aa6e43 - Sigstore transparency entry: 1809582478
- Sigstore integration time:
-
Permalink:
menaceXnadin/nepse-cli@ad3af1b7930395f1c0048233fa5614d5b5ab7f33 -
Branch / Tag:
refs/tags/v3.1.31 - Owner: https://github.com/menaceXnadin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ad3af1b7930395f1c0048233fa5614d5b5ab7f33 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nepse_cli-3.1.31-py3-none-any.whl.
File metadata
- Download URL: nepse_cli-3.1.31-py3-none-any.whl
- Upload date:
- Size: 97.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cb619f3de82fb1133796fe81a313617faaa746805c30d92d11715ecee8ffd5b
|
|
| MD5 |
5592a861472c576c77f7c2319135efe0
|
|
| BLAKE2b-256 |
541d281a01143c5b1b127ef03866a218e160b72efa044622b2c34a6308f5a388
|
Provenance
The following attestation bundles were made for nepse_cli-3.1.31-py3-none-any.whl:
Publisher:
python-publish.yml on menaceXnadin/nepse-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nepse_cli-3.1.31-py3-none-any.whl -
Subject digest:
9cb619f3de82fb1133796fe81a313617faaa746805c30d92d11715ecee8ffd5b - Sigstore transparency entry: 1809582487
- Sigstore integration time:
-
Permalink:
menaceXnadin/nepse-cli@ad3af1b7930395f1c0048233fa5614d5b5ab7f33 -
Branch / Tag:
refs/tags/v3.1.31 - Owner: https://github.com/menaceXnadin
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ad3af1b7930395f1c0048233fa5614d5b5ab7f33 -
Trigger Event:
release
-
Statement type: