A stream PCAP file extractor.
Project description
# jspcap
  The `jspcap` project is an open source Python program focus on [PCAP](https://en.wikipedia.org/wiki/Pcap) parsing and analysis, which works as a stream pcap file extractor. With support of [`jsformat`](https://github.com/JarryShaw/jsformat), it shall support multiple output report formats.
> Note that the whole project only supports __Python 3.6__ or later.
- [About](#about)
* Extraction
* Reassembly
* Protocols
* Utilities
* Exceptions
- [Installation](#installation)
- [Usage](#usage)
---
### About
  `jspcap` is an independent open source library, using only [`jsformat`](https://github.com/JarryShaw/jsformat) as its formatted output dumper.
> There is a project called [`jspcapy`](https://github.com/JarryShaw/jspcapy) works on `jspcap`, which is a command line tool for PCAP extraction.
  Unlike popular PCAP file extractors, such as `Scapy`, `dkpt`, `pyshark`, and etc, `jspcap` uses __streaming__ strategy to read input files. That is to read frame by frame, decrease occupation on memory, as well as enhance efficiency in some way.
  In `jspcap`, all files can be described as following five parts.
- Extraction (`jspcap.extractor`) -- synthesise file I/O and protocol analysis, coordinate information exchange in all network layers
- Reassembly (`jspcap.reassembly`) -- base on algorithms described in [`RFC 815`](https://tools.ietf.org/html/rfc815), implement datagram reassembly of IP and TCP packets
- Protocls (`jspcap.protocols`) -- collection of all protocol family, with detailed implementation and methods
- Utilities (`jspcap.utilities`) -- collection of four utility functions and classes
- Exceptions (`jspcap.exceptions`) -- collection of refined custom exceptions

### Installation
> Note that `jspcap` only supports Python verions __since 3.6__
```
pip install jspcap
```
### Usage
  You may find usage sample in the [`test`](https://github.com/JarryShaw/jspcap/tree/master/test) folder. For further information, please refer to the source code -- the docstrings should help you :)
__ps__: `help` function in Python should always help you out.
  The `jspcap` project is an open source Python program focus on [PCAP](https://en.wikipedia.org/wiki/Pcap) parsing and analysis, which works as a stream pcap file extractor. With support of [`jsformat`](https://github.com/JarryShaw/jsformat), it shall support multiple output report formats.
> Note that the whole project only supports __Python 3.6__ or later.
- [About](#about)
* Extraction
* Reassembly
* Protocols
* Utilities
* Exceptions
- [Installation](#installation)
- [Usage](#usage)
---
### About
  `jspcap` is an independent open source library, using only [`jsformat`](https://github.com/JarryShaw/jsformat) as its formatted output dumper.
> There is a project called [`jspcapy`](https://github.com/JarryShaw/jspcapy) works on `jspcap`, which is a command line tool for PCAP extraction.
  Unlike popular PCAP file extractors, such as `Scapy`, `dkpt`, `pyshark`, and etc, `jspcap` uses __streaming__ strategy to read input files. That is to read frame by frame, decrease occupation on memory, as well as enhance efficiency in some way.
  In `jspcap`, all files can be described as following five parts.
- Extraction (`jspcap.extractor`) -- synthesise file I/O and protocol analysis, coordinate information exchange in all network layers
- Reassembly (`jspcap.reassembly`) -- base on algorithms described in [`RFC 815`](https://tools.ietf.org/html/rfc815), implement datagram reassembly of IP and TCP packets
- Protocls (`jspcap.protocols`) -- collection of all protocol family, with detailed implementation and methods
- Utilities (`jspcap.utilities`) -- collection of four utility functions and classes
- Exceptions (`jspcap.exceptions`) -- collection of refined custom exceptions

### Installation
> Note that `jspcap` only supports Python verions __since 3.6__
```
pip install jspcap
```
### Usage
  You may find usage sample in the [`test`](https://github.com/JarryShaw/jspcap/tree/master/test) folder. For further information, please refer to the source code -- the docstrings should help you :)
__ps__: `help` function in Python should always help you out.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jspcap-0.5.0.tar.gz
(647.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jspcap-0.5.0-py2.py3-none-any.whl
(107.9 kB
view details)
File details
Details for the file jspcap-0.5.0.tar.gz.
File metadata
- Download URL: jspcap-0.5.0.tar.gz
- Upload date:
- Size: 647.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdf9707f69d62e469c51b0ec336723041b9c5b2cace60107671bad0376b6a723
|
|
| MD5 |
229b48dcf7f3f8c773d6bc84a70a68d2
|
|
| BLAKE2b-256 |
c5affbc3e7337eed9ea82d07418f07763d9046a051970064c76fd90a07273937
|
File details
Details for the file jspcap-0.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: jspcap-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 107.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f874706cbd8359a203b509ccfc89b48455c16df9f502fb13d492e75c625351a
|
|
| MD5 |
867827e33bb691bf81a33a8f4b7d3795
|
|
| BLAKE2b-256 |
d8ff63d762e6accd87061767a1e4599e3b6b83763a4aff5fc84806942a3d1844
|