semvec/pypi-packages huggingface dataset:
tdnpathviz 0.1.3.2
A python package to visualize npath outputs in python and much more ...
Requires Python: >=3.6

# tdnpathviz

tdnpathviz is a Python package that provides a set of convenient functions to generate various types of visualizations directly within a Teradata Vantage database. It leverages the in-database capabilities of Teradata Vantage including path analysis and in-database plotting (TD_PLOT) for Teradata SQLE 17.20 and later versions.

## Installation

Install the package via pip:

```
pip install tdnpathviz
```


## Usage

Here are the available functions in the Vantage Visualizer package:

- `plot_first_main_paths()`
- `create_all_pathes_views()`
- `scatter_plot()`
- `pair_plot()`
- `plot_correlation_heatmap()`
- `plotcurves()`
- `plotcurvescluster()`
- `plot_with_background_image()`
- `npath_widget()`

## Example: Plotting First Main Paths

Here is an example of how to use the `plot_first_main_paths()` function:

```python
from tdnpathviz.visualizations import plot_first_main_paths

# Assume 'myPathAnalysis' is your DataFrame which contains path analysis data

plot_first_main_paths(
    myPathAnalysis=myPathAnalysis,
    path_column='your_path_column',
    id_column='your_id_column',
    nb_paths=15,
    print_query=False,
    font_size=10,
    width=1200,
    height=800,
    weight_column = 'your_weight_column',
    weight_agg = 'count',
    justify='left'
)
```
![Alt Text](https://raw.githubusercontent.com/denismolin/tdnpathviz/main/images/example_sankey.png)

## Example: Correlation Heatmap

Here is an example of how to use the `plot_correlation_heatmap()` function to create a correlation heatmap:

```python
from tdnpathviz.visualizations import plot_correlation_heatmap

# Assume 'tddf' is your teradata DataFrame
plot_correlation_heatmap(tddf)

# You can pass additional parameters, e.g., ax for specific matplotlib axis, no_plot if you don't want to display the plot,
# or a title for your plot.
# plot_correlation_heatmap(tddf, ax=your_matplotlib_axis, no_plot=True, title="My Correlation Heatmap")
```

![Alt Text](https://raw.githubusercontent.com/denismolin/tdnpathviz/main/images/example_heatmap.png)

## Example: Scatter Plot

Here is an example of how to use the `scatter_plot()` function:

```python
from tdnpathviz.visualizations import scatter_plot

# Assume 'tddf' is your teradata DataFrame

scatter_plot(
    tddf=tddf,
    x_col='col1',
    y_col='col2'
)
```

![Alt Text](https://raw.githubusercontent.com/denismolin/tdnpathviz/main/images/example_scatter.png)


## Example: NPath Widget

Here is an example of how to use the `npath_widget()` function:

```python
from tdnpathviz import npath_widget

# Assume 'mydb' is your Database with tables or views with event data
npath_widget(database="mydb")

```

![NPath Widget Demo](https://raw.githubusercontent.com/martinhillebrand/npathwidget/main/img/demo.png)
Link to Demo as GIF: https://github.com/martinhillebrand/npathwidget/blob/main/README.md
isbank 0.0.1
isbank package
Requires Python: >=3.8

## 项目打包方式
- python setup.py sdist bdist_wheel
- twine upload dist/*


# isbank

一个用于 **自动登录各大银行网银并获取数据** 的 Python 工具库。  
通过统一的函数接口，你可以轻松调用不同银行的网银登录操作，例如获取余额、下载流水等。

本项目基于 **Playwright** 实现浏览器自动化，支持多家银行网银系统。

---

## ✨ 功能介绍

- 支持自动登录银行网银  
- 支持查询余额、下载流水等基础功能  
- 统一调用方式，每家银行只需要传入名称即可  
- 可扩展性强，可随时加入新银行  
- 内置异常处理、流程封装，使用更简单  
- 支持 Windows 全平台运行  

---

## 📦 安装

```bash
pip install isbank
```

---

🛠 使用方式说明

本项目内部对每家银行进行了模块化封装，只需要：

- 传入银行名称
- 传入账号密码
- 传入保存路径

具体参数根据不同函数区分

调用对应的功能函数即可完成登录与数据获取

例如：

- 获取实时余额：dl_real_balance
- 获取历史余额：dl_history_balance

后续还可以扩展更多功能…

---

🏦 支持的银行

- 中国农业银行

其他银行持续支持中…

---
📚 扩展说明

如果你需要添加新的银行，只需要：

- 在 banks/ 目录下新增银行模块
- 实现对应的登录与查询逻辑
- 注册银行名称与类的映射

项目已内置反射机制，根据银行名称自动加载对应类，无需修改主流程。