semvec/pypi-packages huggingface dataset:
llm-cmd-comp 1.2.0
Use LLM to generate commands for your shell

# Shell completion using LLM

Use LLM to generate and execute commands in your shell.

https://github.com/user-attachments/assets/c10d7a0f-48c3-4904-bb1b-4a1ce9f9ff8d

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-cmd-comp
```
Then install the shell integration for your preferred shell.

- **Fish**: add `llm cmdcomp --init fish | source` in a file in `~/.config/fish/conf.d/`.
- **Zsh**: add `eval "$(llm cmdcomp --init zsh)"` to your `~/.zshrc`.
- **Bash**: add `eval "$(llm cmdcomp --init bash)"` to your `~/.bashrc`.

## Usage

1. Start typing a command.
2. Activate the key binding (Alt-Backslash by default).
3. Wait for the LLM to complete the command.
4. Press enter if you are happy. Otherwise give feedback on the command and repeat from step 3.
5. The LLM's command replaces the previous command you were writing.

Neat ways you can use this feature:

- **Type a command in English, convert it to bash.**<br />
  `find all files larger than 100MB`<br />
  🪄 `find . -type f -size +100M`
- **Give extra instructions as comments.**<br />
  `sed -i '' 's/search/replace/g' file.go # Now do it for all go files in the project`<br />
  🪄 `find . -name '*.go' -exec sed -i '' 's/search/replace/g' {} +`

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

```bash
cd llm-cmd-comp
python3 -m venv venv
source venv/bin/activate
```

Now install the dependencies and test dependencies:

```bash
pip install llm
llm install -e .
```
finance-agent-mcp-server 0.1.0
Add your description here
Requires Python: >=3.4

# finance-agent-mcp-server
MCP Server of free and public available Financial Data without need of API keys from trusted sites or institues. 

This MCP server is a mcp wrapper of pypi package FinanceAgent (https://github.com/AI-Hub-Admin/FinanceAgent) which aims to 
provide free and public available financial data from open websites of trusted sites. You can help your AI system to get realtime Financial Data From Global Market such US (NASDAQ/NYSE/DOW), China (HKEX, Shenzhen, Shanghai), Europe, India, Japan (TSE), etc. 

# MCP Marketplace Support 
Available on MCP Marketplace https://www.deepnlp.org/store/ai-agent/mcp-server


# Features

1. Get Realtime Stock Price data from global market. Supports US (NASDAQ,NYSE,DOW) China (HKEX, SHANGHAI SH, SHENZHEN SZ) India (NSE) and London (LSE) of realtime 
crawling or API access to trusted sites, such as nasdaq.com,xueqiu.com,morningstar.com,marketbeat.com,etc.


**Supported source**

|  REGION  | MARKET| INVESTMENT TYPE | API DATA SOURCE   |
|  ----  | ----  | ----  | ----  | 
|  United Status  | US (NASDAQ,NYSE,DOW) | STOCK  | morningstar.com |
|  United Status  | US (NASDAQ,NYSE,DOW)  | STOCK  | zacks.com |
|  United Status  | US (NASDAQ,NYSE,DOW)  | STOCK  | marketbeat.com |
|  Asia  | HK (HKEX) | STOCK  | hkex.com |
|  Asia  | CN_MAINLAND (SHANGHAI SH, SHENZHEN SZ) | STOCK  | xueqiu.com |
|  Asia  | India (NSE) | STOCK  |  moneycontrol.com  |
|  Europe  | London (LSE) | STOCK  | stockanalysis.com |
|  Asia  | Toyko (TSE) | STOCK  | NA |



**Sample Output**

```

#### HK Stock Info
-----------------------------------
symbol|1024
avg_price|49.650 HKD
high|50.950 HKD
low|47.600 HKD
previous_close|50.850 HKD
update_time|14 Oct 2024 18:33
market_capitalization|214.06 B HKD
pe_ratio|31.15
source|HKEX, https://www.hkex.com.hk/Market-Data/Securities-Prices/Equities/Equities-Quote?sym=1024&sc_lang=en
data_source|hkex.com
-----------------------------------
```


# Tools
get_stock_price_global_market(symbol_list: List[str], market: str) -> str:

## get_stock_price_global_market(symbol_list: List[str], market: str) -> str:

**Parameters**

-symbol_list: symbol_list (List): List of Symbols, such as Tencent: 700, Kuaishou: 1024, Tesla (TSLA), Microsoft(MSFT), Google (GOOG), London Stock Exchange Market, Shell (quote: SHEL), Unilever (quote: ULVR)

-market (str): "HK", "CN_MAINLAND", "US", "LSE", "NSE_INDIA", etc.


# MCP Integration

```
{
    "mcpServers": {
        "finance-agent-mcp-server": {
            "command": "uv",
            "args": ["--directory", "/path_to_folder/finance-agent-mcp-server/src/finance-agent-mcp-server", "run", "server.py"]
        }
    }
}
```