semvec/pypi-packages huggingface dataset:
nobitexv2 0.2.0
Nobitex client for python
Requires Python: >=3.6

# nobitexv2
## install (نصب)
```bash
pip install nobitexv2
```
## example usage (استفاده نمونه)
نمونه استفاده از nobitexv2. اسکریپتی که روزانه با استفاده از moving average سفارشتان market خرید و فروش میذارد.(بازار BTCUSDT)
```python
import time
import requests
from datetime import datetime,timedelta
from nobitexv2 import NobitexV2

# توکن خودت رو میتونی از پنل بگیری یا متد auth_login
# https://apidocs.nobitex.ir/#login
nv2=NobitexV2(requests.Session()) # توکن رو از environment variables 'NOBITEX_TOKEN' میگیره

while True:
    # BTCUSDT OHLCV data
    history=nv2.market_udf_history(to=time.time(),
                            from_=(datetime.now()-timedelta(days=10)).timestamp(), # 10 days before
                            symbol='BTCUSDT',
                            resolution='D')
    # closing prices (oldest0 to news)
    closingprices=history['c']
    # last trade price
    last_trade_price=float(nv2.orderbook('BTCUSDT')['lastTradePrice'])
    print("BTCUSDT last trade price:",last_trade_price)
    # select usdt wallet from wallets
    usdt_wallet=[wallet for wallet in nv2.wallets_list()['wallets'] if wallet['currency']=='usdt'][0]
    # usdt balance available to trade
    usdt_balance=float(usdt_wallet['balance'])-float(usdt_wallet['blockedBalance'])
    print("usdt balance available to trade:",usdt_balance)
    if usdt_balance<5.1:
        print('balance less than minimum trade requirement')
        break
    # SMA10 value
    mean=sum(closingprices)/len(closingprices)
    
    trade_amount=usdt_balance*0.5/last_trade_price # 50% of the usdt balance
    # market buy if current price is higher than SMA10
    if last_trade_price>mean:
        print(f"buying {trade_amount} btc")
        nv2.add_spot_order(
            type='buy',
            execution='market',
            srcCurrency='btc',
            dstCurrency='usdt',
            amount=trade_amount
        )
    else: # sell otherwise
        print(f"selling {trade_amount} btc")
        nv2.add_spot_order(
            type='sell',
            execution='market',
            srcCurrency='btc',
            dstCurrency='usdt',
            amount=trade_amount
        )
    
    # iterate after a day
    time.sleep(timedelta(days=1).total_seconds())
```
## implementation progress [nobitex docs](https://apidocs.nobitex.ir/)
مواردی که 🟩 گذاشته شده پیاده سازی شده اند. 🟧 ناقص. 🟥 پیاده سازی نشده
|بخش|وضیعت|
|---|---|
|اطلاعات بازار (عمومی) |🟩|
|اطلاعات کاربر  |🟧|
|معامله در بازار اسپات |🟩|
|معامله در بازار تعهدی |🟧|
|برداشت |🟥|
|وب‌سوکت (آزمایشی)|🟥|
|دفتر آدرس و حالت برداشت امن|🟥|
|امنیت|🟥|
|احراز هویت|🟩|
|سود و زیان|🟥|
|طرح معرفی دوستان|🟥|
|سایر|🟥|
glasswall 5.9.0
Glasswall Python Wrapper
Requires Python: >=3.6

# Glasswall Python Wrapper

A high level Python wrapper for interfacing with the [Glasswall Embedded Engine](https://docs.glasswall.com/docs/about-embedded-engine).

## Installation

- See [Installation](https://docs.glasswall.com/docs/embedded-engine-installation) for general OS specific requirements and environment set up.
- See [Loading a Glasswall Library](https://docs.glasswall.com/docs/loading-a-glasswall-library) for Glasswall Python wrapper installation and setup.

## Getting Started Examples

- [Protect & Analyse a File](https://docs.glasswall.com/docs/protect-analyse-a-file-or-directory)
- [Content Export & Import](https://docs.glasswall.com/docs/content-export-import-1)
- [Word Search & Redaction](https://docs.glasswall.com/docs/word-search-redaction)
- [Set Content Management Policies](https://docs.glasswall.com/docs/set-content-management-policies)
- [Logging](https://docs.glasswall.com/docs/logging)
- [Python Multiprocessing Support](https://docs.glasswall.com/docs/python-multiprocessing-support)
khmerdocparser 0.3.0
A smart Python tool to extract Khmer text from PDF and image files, using OCR for scanned documents and direct extraction for native PDFs.
Requires Python: >=3.8

# Khmer Document Parser v0.3.0

`khmerdocparser` is a smart, all-in-one command-line tool to extract Khmer text from both **PDF and image files**.

It intelligently handles PDFs by first attempting a fast, direct text extraction. If that fails (as with a scanned document), it automatically falls back to a powerful OCR engine with image preprocessing to ensure the best possible results.

## Features

- **Universal Support**: Handles both PDF and common image files (`.png`, `.jpg`, etc.).
- **Smart PDF Parsing**: Uses `pdfplumber` for native PDFs and falls back to Tesseract OCR for scanned PDFs.
- **Advanced OCR**: Applies image preprocessing (Grayscaling, Binarization, Noise Removal) for high accuracy on scanned documents.
- **User-Friendly**: Provides progress bars and detailed logging.

## Prerequisites

This package requires **two** crucial external dependencies: **Poppler** and **Tesseract OCR**.

### 1. Tesseract OCR Installation

You must install the Tesseract engine and the Khmer (`khm`) language pack.

- **Windows**: Download and run the installer from [UB-Mannheim's GitHub](https://github.com/UB-Mannheim/tesseract/wiki). **Ensure you select the Khmer language pack during installation.** Add Tesseract to your system's PATH.
- **macOS**: `brew install tesseract tesseract-lang`
- **Linux (Ubuntu/Debian)**: `sudo apt-get install tesseract-ocr tesseract-ocr-khm`

### 2. Poppler Installation

- **Windows**: Download the latest binary from [here](https://github.com/oschwartz10612/poppler-windows/releases/), extract it, and add the `bin` folder to your system's PATH.
- **macOS**: `brew install poppler`
- **Linux (Ubuntu/Debian)**: `sudo apt-get install poppler-utils`

## Installation

Once Poppler and Tesseract are installed, you can install or upgrade the package from PyPI:

```bash
pip install --upgrade khmerdocparser
```

## Usage

The command is the same for any supported file type.

### Extract from a PDF or Image

```bash
# Process a PDF
khmerdocparser /path/to/your/document.pdf

# Process an image
khmerdocparser /path/to/your/scanned_image.png
```

### Save Output to a File

This is the recommended way to view Khmer text correctly.

```bash
khmerdocparser my_document.pdf -o my_document_text.txt
```

### Specifying Paths Manually (if not in PATH)

```bash
khmerdocparser doc.pdf --tesseract_path "C:\Tesseract\tesseract.exe" --poppler_path "C:\Poppler\bin"
```