Metadata-Version: 2.4
Name: tcpfeature
Version: 1.0.0
Summary: Extraction features from TCP/IP for machine learning using Cython & libpcap
Home-page: https://github.com/dzokha/tcpfeature
Author: dzokha
Author-email: dzokha1010@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Cython
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: Cython>=3.0.0
Requires-Dist: numpy>=1.20.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# tcpfeature
## Note:
- Linux: Cần cài libpcap-dev (sudo apt install libpcap-dev).
- MacOS: Thư viện pcap có sẵn, nhưng cần cài Xcode Command Line Tools để có header (brew install libpcap).
- Windows: Bạn cần cài Npcap SDK và trỏ đường dẫn include_dirs và library_dirs trong setup.py vào thư mục của Npcap SDK.

pip install -e .
pytest tests/ -v

python examples/demo_live_sniff.py
python examples/demo_offline_extraction.py


## Xoá file rác cũ 
```
rm src/tcpfeature/core/*.c
rm src/tcpfeature/core/*.so
rm -rf build/
```

## Biên dịch thử tại chỗ (để kiểm tra lỗi)
```
python setup.py build_ext --inplace

```

## Cài đặt công cụ build để Đóng gói Wheel (Binary Package)
```
pip install build twine
```
## Build ra file .whl (đây là file bạn sẽ phân phối)
```
python -m build
```

# 1. Thêm tất cả các file cấu hình mới vào Git
git add .
git commit -m "Configure cibuildwheel CI/CD Pipeline"

# 2. Tạo một thẻ phiên bản (Tag)
git tag v1.0.0

# 3. Đẩy toàn bộ code và tag lên GitHub
git push origin main --tags


## References
1. https://github.com/nvm-sh
2. https://github.com/davidbombal
3. https://github.com/mgaulton
4. https://github.com/rkovar
5. https://github.com/PSJoshi
6. https://github.com/Pwdrkeg
7. https://github.com/LiamRandall
8. https://github.com/corelight
9. https://github.com/wasmCloud
10. https://github.com/rsmmr
11. https://github.com/zeek
12. https://github.com/nmap
13. https://github.com/vi3k6i5


