semvec/pypi-packages huggingface dataset:
mdlinks 0.1.0
Generate Markdown links from a list of URLs
Requires Python: >=3.12

# MDLinks

Generate Markdown links from a bunch of URLs.

By default, uses the page `<title>` as the link text.

Example usage:

```
% cat > urls.txt
https://example.com/
https://en.wikipedia.org/wiki/Example
https://wiki.archlinux.org/title/File_permissions_and_attributes
```

```
% mdlinks < urls.txt
* [Example Domain](https://example.com/)
* [Example - Wikipedia](https://en.wikipedia.org/wiki/Example)
* [File permissions and attributes - ArchWiki](https://wiki.archlinux.org/title/File_permissions_and_attributes)
```
qhash-python 0.1.16
QhashAI SDK to integrate quantumhash.me APIs
Requires Python: >=3.9

# Qhash Python SDK

[![Build and Publish Python SDK](https://github.com/rapidaai/rapida-python/actions/workflows/python-build.yml/badge.svg?branch=main)](https://github.com/Quantumhash-Corporation/qhash-python/actions/workflows/build.yml)

The Qhash Python SDK provides a powerful interface for interacting with Qhash AI services. This SDK simplifies the process of making API calls, handling authentication, and managing responses from Qhash endpoints.

## Installation

To install the Qhash Python SDK, use the following command:

```bash
pip install qhash-python
```

## Quick Start

Here's how to get started with the Qhash Python SDK:

```python
from qhash import (
    ConnectionConfig,
)
from pprint import pprint


connection_config = ConnectionConfig.default_connection_config(
    ConnectionConfig.with_sdk(
        "{your-api-key-here}"  # Replace with your actual API key
    )
)

```

## Authentication

You can configure the Qhash SDK to authenticate using your **API Key** or **Personal Token**:

### Authenticating with API Key

```python
import os
from qhash.connections import ConnectionConfig
connection_config = ConnectionConfig.with_sdk(
    os.environ["QHASH_API_KEY"]  # API Key from environment variables
)
```

### Authenticating with Personal Token

```python
import os
from qhash.connections import ConnectionConfig

connection_config = ConnectionConfig.with_personal_token(
  os.environ["QHASH_AUTHORIZATION_TOKEN"],  # Authorization Token
  os.environ["QHASH_AUTH_ID"],              # Authentication ID
  os.environ["QHASH_PROJECT_ID"],           # Project ID
)
```

## Configuration Options

The `DefaultConnectionConfig` accepts multiple options for configuring the SDK. Key options include:

- `with_sdk(api_key: str)`: Sets the API key for authentication.
- `with_personal_token(auth_token: str, auth_id: str, project_id: str)`: Configures the connection for personal tokens.
- `with_endpoint_url(url: str)`: Overrides the default API endpoint URL.
- `with_timeout(timeout: float)`: Sets the timeout for API requests (in seconds).

## Compatibility

This SDK requires **Python 3.8 or later**. Ensure your system meets this requirement:

```bash
python --version
```

To upgrade or specify a version, use the following command:

```bash
pip install --upgrade qhash-python
```

---

## Conclusion

The Qhash Python SDK provides everything necessary to integrate seamlessly with Qhash AI services, offering flexible configuration and authentication options. With the examples provided, you should be able to get started quickly and make advanced API calls as needed.
hkfdb 6.3
Hong Kong Finance Database.

# Hong Kong Finance Database

To install the latest version:
```
pip install hkfdb
```

Before you start, please make sure you have done the following:
* **subscribe** the data from our website
* get the personal authToken 
* create an client object from class Database
* have fun!

create client object with authToken and class Database:
```
import hkfdb

authToken = 'personal_authToken'
client = hkfdb.Database(authToken)
```

**Major Functions**

Price Data:
* get_hk_stock_ohlc() 
* get_us_stock_ohlc()
* get_hk_fut_ohlc()
* get_hk_deri_daily_market_report()

CCASS Data:
* get_ccass_all_id()
* get_ccass_by_code()
* get_ccass_holding_rank()
* get_ccass_by_id()
* get_ccass_by_id_change()

Index list:
* get_spx_index_const()
* get_hk_index_const()
* get_hk_stock_plate_const()
* get_all_hk_index_name()
* get_all_hk_stock_plate_name()

Earning Calendar:
* get_us_earning_calendar_by_date()
* get_us_earning_calendar_by_code()
* get_hk_earning_calendar_by_code()
* get_hk_earning_calendar_by_date()

Other:
* get_hk_market_cap_hist()
* get_hk_ipo_hist()
* get_north_water()
* get_market_highlight()
* get_hk_buyback_by_date()
* get_hk_buyback_by_code()
* get_basic_hk_stock_info()