semvec/pypi-packages huggingface dataset:
next-drop-lib 2.1.1
A high-speed data pipeline library
License: MIT
Requires Python: >=3.7

# NextDrop
NextDrop is a high-speed data pipeline capable of transferring large files efficiently, with a peak transfer rate allowing for 3GB of data to be received in under 10 seconds, making it a standout system for rapid file transfers.

**Speed in Peak transfer rate (Latest):** 3GB /5sec

## DiamondGotCat's Protocols

### UltraDP: Most Fast File Transfer Protocol in My Projects
8 Gbps(1 GB/s) in My Wi-fi

### NextDP(NextDrop): You can use Official Python Library
4.8 Gbps(0.6 GB/s) in My Wi-fi

### USFTP: Built-in File integrity check function (SHA-256)
2 Gbps(0.25 GB/s) in My Wi-fi

## Installation

To install NextDrop, ensure you have python33.7+ installed along with the required dependencies. Run the following command:

**Library Version**
```bash
pip3 install next-drop-lib
```

**Command-Line Version Requiments (`main.py`)**

```bash
pip3 install nercone-modern aiohttp tqdm zstandard
```

**GUI Version Requiments (`NextDrop.py`)**

```bash
pip3 install nercone-modern PyQt6 aiohttp tqdm zstandard
```

## Usage

NextDrop operates in two modes: sending and receiving. Below are the details for each mode.

### Library (Example)
```python
import asyncio
from next_drop_lib import FileSender, FileReceiver, NextDropGeneral
import threading
import time

async def file_send_example():
    await FileSender("localhost", port=4321, file_path="./test.txt").send_file()

async def file_receive_example():
    await FileReceiver(port=4321, save_dir="./recived/").start_server()
    await asyncio.sleep(5)

def start_server():
    asyncio.run(file_receive_example())

if __name__ == '__main__':
    # Start the server in a separate thread
    threading.Thread(target=start_server).start()

    # Start the file sender
    asyncio.run(file_send_example())
```

### CLI Sending Mode

To send a file, use the following command:

```bash
python3nextdrop.py send <target_ip> --port <port> <file_path> [--threads <num_threads>]
```

- `<target_ip>`: IP address of the receiving server.
- `--port <port>`: Port on which the receiver is listening (default is `4321`).
- `<file_path>`: Path to the file you want to send.
- `--threads <num_threads>`: Number of threads to use (default is `1`).

#### Example

```bash
python3nextdrop.py send 192.168.1.10 --port 4321 /path/to/file.zip --threads 4
```

### CLI Receiving Mode

To start a receiver server, use the following command:

```bash
python3 nextdrop.py receive --port <port> <save_dir> [--compress]
```

- `--port <port>`: Port to listen on for incoming file transfers (default is `4321`).
- `<save_dir>`: Directory where received files will be saved.

#### Example

```bash
python3 nextdrop.py receive --port 4321 /path/to/save --compress
```
tree-sitter-fasta 1.0.8
Fasta file parser
License: MIT
Requires Python: >=3.10
Keywords: incremental, parsing, tree-sitter, fasta

# tree-sitter-fasta

[![CI][ci]](https://github.com/will-gebbie/tree-sitter-fasta/actions/workflows/ci.yml)
[![crates][crates]](https://crates.io/crates/tree-sitter-fasta)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-fasta)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-fasta)

fasta grammar for [tree-sitter](https://github.com/tree-sitter).

#### References

[FASTA file format](https://en.wikipedia.org/wiki/FASTA_format)

#### Supported File Extensions

- .fasta
- .faa
- .fna
- .ffn
- .fa
- .frn
- .fas
- .mpfa

[ci]: https://github.com/will-gebbie/tree-sitter-fasta/actions/workflows/ci.yml/badge.svg
[npm]: https://img.shields.io/npm/v/tree-sitter-fasta?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-fasta?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-fasta?logo=pypi&logoColor=ffd242