semvec/pypi-packages huggingface dataset:
vortex-api 2.0.2
Vortex APIs to place orders in Rupeezy application
License: MIT

# Vortex API Python Client

# Installation 

```
pip install vortex-api
```


# Api Usage 

```python 
from vortex_api import VortexAPI
from vortex_api import Constants as Vc

client = VortexAPI("your api secret","your application id")

print(client.login_url(callback_param="hi"))

client.exchange_token("auth token received in the callback url")

client.orders(limit=20, offset=1)

# Place order 

client.place_order(
       exchange = Vc.ExchangeTypes.NSE_EQUITY,
       token = 22,
       transaction_type =  Vc.TransactionSides.BUY,
       product = Vc.ProductTypes.DELIVERY,
       variety = Vc.VarietyTypes.REGULAR_LIMIT_ORDER,
       quantity = 1,
       price = 1700.0,
       trigger_price=0.0,
       disclosed_quantity= 0,
       validity = Vc.ValidityTypes.FULL_DAY)

#Get order book 
client.orders(limit=20,offset=1)


```

# Connecting to websocket

Using the feed, you can listen to both price quote changes and order/trade updates. You need to define your own callbacks for `on_price_update`
and `on_order_update`. The packet structure for `on_order_update` is the same as that received in postbacks and is available [here](https://vortex.rupeezy.in/docs/postbacks/)

```python
from vortex_api import VortexFeed
from vortex_api import Constants as Vc
import time

def main():
    # Get access token from any of the login methods
    wire = VortexFeed(access_token) 

    wire.on_price_update = on_price_update
    wire.on_order_update = on_order_update
    wire.on_connect = on_connect
    wire.connect(threaded=True) 
    # If you make threaded = False, anything after this line will not execute

    time.sleep(10)
    
    wire.unsubscribe(Vc.ExchangeTypes.NSE_EQUITY, 26000)
    wire.unsubscribe(Vc.ExchangeTypes.NSE_EQUITY, 26009)
    wire.unsubscribe(Vc.ExchangeTypes.NSE_EQUITY, 2885)


def on_price_update(ws,data): 
    print(data)

def on_order_update(ws,data): 
    print(data)

def on_connect(ws, response):
    ws.subscribe(Vc.ExchangeTypes.NSE_EQUITY, 26000, Vc.QuoteModes.LTP) #Subscribe to NIFTY 
    ws.subscribe(Vc.ExchangeTypes.NSE_EQUITY, 26009,Vc.QuoteModes.OHLCV) # Subscribe to BANKNIFTY 
    ws.subscribe(Vc.ExchangeTypes.NSE_EQUITY, 2885,Vc.QuoteModes.FULL) # Subscribe to RELIANCE 

if __name__ == "__main__":
    main()

```
Refer to the [python document](https://vortex.rupeezy.in/docs/pyvortex/vortex_api.html) for all methods and features
soldcli 0.3.2
Convenient command line tool, providing magic tag function
License: MIT
Requires Python: >=3.10
Keywords: api, python, utility

# soldcli - Infrastructure as Code 命令列工具

透過標籤式指令系統，實現基礎設施即代碼的理念。

## 快速開始

```bash
# 使用 uvx 執行（推薦）
uvx soldcli@latest run demo     # 執行 demo 標籤的指令組
uvx soldcli@latest run --list   # 查看所有可用標籤
```

> 部分功能需要安裝 `uv`
> 請參考 `uv` 官方網站 [Installing uv](https://docs.astral.sh/uv/getting-started/installation/)


## 核心功能

### Static-Run 標籤系統
- `run <tag>` - 執行預定義的指令組合
- 內建標籤：tag1, demo, qtwu, qtwu1122
- 支援自定義標籤擴充

### 環境配置
- `toml <project>` - 建立 uv 友善的 Python 專案
- `info` - 顯示系統診斷資訊

## Infrastructure as Code 實踐

將常用指令組合定義為標籤，一鍵執行複雜配置：

```bash
uvx soldcli@latest run qtwu1122  # 建立完整的 Python + Node 開發環境
```

## 需求

- Python 3.10+
- Unix-like 系統

---

# soldcli - Infrastructure as Code CLI Tool

Implement Infrastructure as Code principles through a tag-based command execution system.

## Quick Start

```bash
# Run with uvx (recommended)
uvx soldcli@latest run demo     # Execute demo tag commands
uvx soldcli@latest run --list   # List all available tags
```

## Core Features

### Static-Run Tag System
- `run <tag>` - Execute predefined command sets
- Built-in tags: tag1, demo, qtwu, qtwu1122
- Extensible for custom tags

### Environment Configuration
- `toml <project>` - Create uv-friendly Python project
- `info` - Display system diagnostics

## Infrastructure as Code in Practice

Define common command sequences as tags, execute complex configurations with one command:

```bash
uvx soldcli@latest run qtwu1122  # Setup complete Python + Node development environment
```

## Requirements

- Python 3.10+
- Unix-like system

## License

MIT License
simple-bcp 2.2.1
A Simple yet powerful bcp wrapper
License: MIT
Requires Python: <4.0,>=3.10

# Simple BCP

[![Python](https://img.shields.io/pypi/pyversions/simple-bcp)](https://pypi.org/project/simple-bcp)
[![pipeline status](https://gitlab.com/noamfisher/simple_bcp/badges/main/pipeline.svg)](https://gitlab.com/noamfisher/simple_bcp/-/commits/main)
[![coverage report](https://gitlab.com/noamfisher/simple_bcp/badges/main/coverage.svg)](https://gitlab.com/noamfisher/simple_bcp/-/jobs?name=test)
[![Latest Release](https://badge.fury.io/py/simple-bcp.svg)](https://pypi.org/project/simple-bcp)
[![Downloads](https://static.pepy.tech/personalized-badge/simple-bcp)](https://pypi.org/project/simple-bcp)
[![tested-on-mssql](https://img.shields.io/badge/tested%20on%20mssql-2017%20%7C%202019%20%7C%202022%20%7C%202025-a)](https://gitlab.com/noamfisher/simple_bcp/-/jobs?name=test)

A Simple yet powerful Python bcp wrapper.  
`bcp` (**b**ulk **c**opy **p**rogram) is a command line tool that copies data from / into  MSSQL.  
You can read more about bcp [here](https://learn.microsoft.com/en-us/sql/tools/bcp-utility)

## Installation

Install the package using pip:

```bash
pip install simple_bcp
```

## Usage

```python
import simple_bcp

bcp = simple_bcp.BCP()
database_parameters = simple_bcp.MsSqlDatabaseParameters(
    server_hostname="your-sql-server-hostname",
    username="user",
    password="pass"
)
output_file_path = bcp.download_table(table_name="your_table_name", 
                                      database_parameters=database_parameters)
print("downloaded table data is now available at ", output_file_path)
bcp.upload_into_table(table_name="dest_table_name",
                      database_parameters=database_parameters,
                      data_file_path=output_file_path)
print("the data is now copied to dest_table_name")
```

## Requirements

- Python >= 3.10
- `bcp` installed on your machine. [How to install bcp](https://learn.microsoft.com/en-us/sql/tools/bcp-utility#download-the-latest-version-of-the-bcp-utility)

## Repo & Author

Developed by [Noam Fisher](https://gitlab.com/noamfisher),
You can see the project at https://gitlab.com/noamfisher/simple_bcp