semvec/pypi-packages huggingface dataset:
iautil-sql 0.0.6
IA SQL Utils
Requires Python: >=3.10

# libia_sql [![libia_sql](https://github.com/InnovAnon-Inc/libia_sql/actions/workflows/pkgrel.yml/badge.svg)](https://github.com/InnovAnon-Inc/libia_sql/actions/workflows/pkgrel.yml)
IA SQL Utils
==========

[![License Summary](https://img.shields.io/github/license/InnovAnon-Inc/libia_sql?color=%23FF1100&label=Free%20Code%20for%20a%20Free%20World%21&logo=InnovAnon%2C%20Inc.&logoColor=%23FF1133&style=plastic)](https://tldrlegal.com/license/unlicense#summary)
[![Latest Release](https://img.shields.io/github/commits-since/InnovAnon-Inc/libia_sql/latest?color=%23FF1100&include_prereleases&logo=InnovAnon%2C%20Inc.&logoColor=%23FF1133&style=plastic)](https://github.com/InnovAnon-Inc/libia_sql/releases/latest)
[![Lines of Code](https://tokei.rs/b1/github/InnovAnon-Inc/libia_sql?category=code&color=FF1100&logo=InnovAnon-Inc&logoColor=FF1133&style=plastic)](https://github.com/InnovAnon-Inc/libia_sql)
[![Repo Size](https://img.shields.io/github/repo-size/InnovAnon-Inc/libia_sql?color=%23FF1100&logo=InnovAnon%2C%20Inc.&logoColor=%23FF1133&style=plastic)](https://github.com/InnovAnon-Inc/libia_sql)
[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/InnovAnon-Inc/libia_sql?color=FF1100&logo=InnovAnon-Inc&logoColor=FF1133&style=plastic)](https://www.codefactor.io/repository/github/InnovAnon-Inc/libia_sql)

![Dependent repos (via libraries.io)](https://img.shields.io/librariesio/dependent-repos/pypi/libia_sql?color=FF1100&style=plastic)
![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pypi/libia_sql?color=FF1100&style=plastic)
![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/pypi/libia_sql?style=plastic)
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/InnovAnon-Inc/libia_sql?color=FF1100&logoColor=FF1133&style=plastic)

[![Tip Me via PayPal](https://img.shields.io/badge/paypal-donate-FF1100.svg?logo=paypal&logoColor=FF1133&style=plastic)](https://www.paypal.me/InnovAnon)

----------

# InnovAnon, Inc. Proprietary (Innovations Anonymous)
> "Free Code for a Free World!"
==========
![Corporate Logo](https://innovanon-inc.github.io/assets/images/logo.gif)
netflow2json 0.0.2
This is a Python-based solution for collecting and analyzing Netflow V9 traffic data.
Requires Python: >=3.6

# netflow2json

This is a Python-based solution for collecting and analyzing Netflow V9 traffic data.

## Installation

You can install `netflow2json` using pip:

```bash
pip install netflow2json
```

## Usage

To use `netflow2json`, you can create an instance of the `NetflowProcessor` class and start processing Netflow data. See the [Examples](#examples) section for detailed usage examples.


## Configuration

You can configure the package by specifying the `web_port`, `netflow_port`, and `local_ip_ranges` when creating a `NetflowProcessor` instance.


- **`local_ip_ranges`**: This section is used to define local IP address ranges. The code uses these ranges to categorize Netflow traffic as "Local," "Upload," or "Download."

  Example:

  ```ini
  local_ip_ranges = ["192.168.0.0/24", "172.16.11.0/24", "172.16.12.0/24", "172.16.13.0/24", "172.16.14.0/24", "172.16.16.0/24"]
  ```

- **`netflow_port`**: Specify the port (UDP) on which the code listens for incoming Netflow v9 traffic.

  Example:

  ```ini
  netflow_port = 2055
  ```

- **`web_port`**: Specify the port of web accessible json results.

 ```ini
  web_port = 80
  ```


### Examples

```python
from netflow2json.analyser import NetflowProcessor

processor = NetflowProcessor(web_port=8080, netflow_port=2055, local_ip_ranges=['172.16.11.0/24','172.16.12.0/24','172.16.13.0/24','172.16.14.0/24','192.168.0.0/24','192.168.1.0/24'])
processor.start()
```

## License

This project is licensed under the MIT License

## Project Repository

Visit the [GitHub repository](https://github.com/h-haghpanah/netflow2json) for the latest updates and to contribute.

## Bug Tracker

If you encounter any issues or want to report a bug, please visit the [Bug Tracker](https://github.com/h-haghpanah/netflow2json/issues).

## Contact Information

For questions or support, you can reach out to the author at h.haghpanah@outlook.com.