Skip to main content

Modern CLI tool for Meroshare IPO automation and NEPSE market data with interactive TUI

Project description

Nepse CLI - Meroshare IPO Automation & Market Data

PyPI version Python Version PyPI Downloads

Nepse CLI

A professional command-line tool for NEPSE market analysis and automated Meroshare IPO applications.

Watch on YouTube

Installation

Install directly from PyPI:

pip install nepse-cli

Run the tool:

nepse

Overview

Nepse CLI is a comprehensive command-line tool designed for Nepal Stock Exchange (NEPSE) investors and traders. It combines automated IPO application capabilities with extensive market analysis features.

Key Features

IPO Automation

  • Automated application for IPO, FPO, and Rights offerings
  • Multi-member family support for batch applications
  • Browser-based (Playwright) and API-based (fast) modes
  • Headless and GUI operation modes
  • Automatic share calculation and validation
  • Result checking and status tracking

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 command palette
  • Autocompletion and command history
  • Modern terminal UI with Rich formatting
  • Progress indicators for operations
  • Color-coded output and tables

Requirements

  • Python 3.8 or higher
  • Windows, Linux, or macOS
  • Internet connection
  • Meroshare account (for IPO features)

Available Commands

Market Data

  • nepse - Display NEPSE indices
  • subidx <name> - Show sub-index details
  • mktsum - Display market summary
  • topgl - Show top gainers and losers
  • stonk <symbol> - Show stock details
  • 52week - Stocks at 52-week high/low
  • near52 - Stocks near 52-week high/low
  • floor [--date YYYY-MM-DD] [--buyer ID] [--seller ID] [--page N] - View floorsheet (live or historical)
  • holidays - Show market holidays

Stock Analysis

  • profile <symbol> - Company profile & info
  • fundamental <symbol> - Stock fundamentals (EPS, P/E)
  • depth <symbol> - Market depth (order book)

Trading Info

  • signals - Strong buy/sell signals
  • announce - Market announcements
  • brokers - List all brokers
  • sectors - List all sectors

IPO Management

  • ipo - List all open IPOs
  • apply [member_name] - Apply for IPO (use --gui for browser)
  • apply-all - Apply IPO for all members using browser automation (slower)
  • apply-fast - ⚡ Fast API-based IPO application (recommended - single member)
  • apply-all-fast - ⚡ Fast API-based IPO for all members (recommended)
  • result [--all] - Check IPO allotment results

Note: apply and apply-all use Playwright browser automation and are slower. For faster applications, use apply-fast or apply-all-fast which use direct API calls.

Configuration

  • add - Add new family member
  • list - List all family members
  • edit - Edit existing family member
  • delete - Delete family member
  • manage - Member management menu
  • login - Test login for member
  • portfolio - Get real-time portfolio with P/L
  • dp-list - Search and list available DPs

Interactive Tools

  • help - Show help information
  • clear - Clear the screen (cls/clear)
  • exit - Exit the CLI

Links

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nepse_cli-3.1.27.tar.gz (83.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nepse_cli-3.1.27-py3-none-any.whl (89.1 kB view details)

Uploaded Python 3

File details

Details for the file nepse_cli-3.1.27.tar.gz.

File metadata

  • Download URL: nepse_cli-3.1.27.tar.gz
  • Upload date:
  • Size: 83.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nepse_cli-3.1.27.tar.gz
Algorithm Hash digest
SHA256 0f702b898a0dea59c65b6240e22f3ab9e8f6940b96c2efb58722cf31e6687fc8
MD5 f25e438f505fe1a652fec753c7c37799
BLAKE2b-256 9fa8625efe4a1c42d25294b2d120348ad115fbff5a4b296c56bd0dd09815394f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nepse_cli-3.1.27.tar.gz:

Publisher: python-publish.yml on menaceXnadin/nepse-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nepse_cli-3.1.27-py3-none-any.whl.

File metadata

  • Download URL: nepse_cli-3.1.27-py3-none-any.whl
  • Upload date:
  • Size: 89.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nepse_cli-3.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 97eba89ee6d4ca8c48572ed07ce4d0362cea005d0e19d7977961287adf201131
MD5 beab84d06f3d4c699b6f0af48066fb2f
BLAKE2b-256 031c4f94d2375778709345d640c7f987b86a4a8714ad1b02d226922e0d9d81bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for nepse_cli-3.1.27-py3-none-any.whl:

Publisher: python-publish.yml on menaceXnadin/nepse-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page