semvec/pypi-packages huggingface dataset:
ufiber-client3 1.0.1
Ubiquiti UFiber Client for firmware version 3
Requires Python: >=3.8
Keywords: ubiquiti,ufiber,gpon,netowrk,automation,networking

# ufiber-client

This is a quick dirty project built to provide a quick dirty client for Ubiquiti UFiber OLTs, using firmware version 3.x

There is also a CLI attempt, but I couldn't find any ready to use packages to build a decent CLI.

More info about what am I doing this is on the following entries:

- <https://arturobaldo.com.ar/ufiber-olt-api/>
- <https://arturobaldo.com.ar/digging-into-ubiquitis-ufiber-olt/>

## olt.py

This is the core of the project. It uses the OLTCLient class to provide a middleware between you and the HTTP interface of the olt.

Initialize a new OLTClient instance with:

`client = olt.OLTClient(host, username, password)`

The initialization will handle the login for you, altough you can call the `login()` method manually.

If the OLT is network reacheable, and you have provided the right credentials, and the OLT WEB GUI is alive and well, you should be ready to start.

You can also connect using `cli.py`:

```Console
$ /cli.py
UFiber Client for fw version 3.1.3
UFiber> help

Documented commands (type help <topic>):
========================================
connect  help  onu  quit  show

UFiber> connect 10.20.0.101
Username:admin
Password:
Logging to 10.20.0.101 ...
Connection OK
UFiber>
```
splitmasked 0.1.1
Separate masked and unmasked parts of sequences in FASTX files.
Requires Python: >=3.0

# splitmasked
![pytest-badge](https://github.com/osthomas/splitmasked/actions/workflows/pytest.yaml/badge.svg)

`splitmasked` splits sequence records in FAST(A/Q) files based on their masking
status. What constitutes masking can be defined with the `--maskchar` option
(eg. `N` or `lowercase`). Both masked and unmasked parts can be retained and
written to separate output files.

## Installation

```bash
pip install splitmasked
```

## Usage

```bash
splitmasked \
    --maskchar lowercase \
    --minlength_masked 100 \
    --minlength_unmasked 20 \
    --outfile_masked /dev/null \
    --outfile_unmasked unmasked.fastq \
    input.fastq
```

## Examples

### Input

```
@Seq1 comment1
aaaaaTTTTTTAAgatgatgatgAATGAA
+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@Seq2 comment2
ATGATAGAgagagtTTTATA
+
HHHHHHHHHHHHHHHHHHHH
```

### Output

With `--maskchar lowercase`:

**unmasked.fastq**

```
@Seq1_part2 comment1
TTTTTTAA
+
AAAAAAAA
@Seq1_part4 comment1
AATGAA
+
AAAAAA
@Seq2_part1 comment2
ATGATAGA
+
HHHHHHHH
@Seq2_part3 comment2
TTTATA
+
HHHHHH
```

**masked.fastq**

```
@Seq1_part1 comment1
aaaaa
+
AAAAA
@Seq1_part3 comment1
gatgatgatg
+
AAAAAAAAAA
@Seq2_part2 comment2
gagagt
+
HHHHHH
```