semvec/pypi-packages huggingface dataset:
tls-scan 0.1.7
Scan IP addresses for TLS/SSL certificates
Requires Python: >=3.11,<4.0

# tls-scan

CLI tool to scan IP addresses for TLS/SSL certificates. Outputs results in JSONL format. Useful for detecting software such as VMWare.

Installation:

```bash
pip install tls-scan
```

> This tool does not use third-party dependencies and can be run as a script.

Usage:

```bash
$ tls-scan -h
```

Example #1: scan whole internet:

```bash
$ tls-scan -v -a 0.0.0.0/0
```

Output sample:

```json
{"ip": "193.201.66.1", "port": 443, "port_name": "https", "cert": {"subject": {"countryName": "LV", "localityName": "Rīga", "organizationName": "AS PrivatBank", "commonName": "*.privatbank.lv"}, "issuer": {"countryName": "US", "organizationName": "DigiCert Inc", "commonName": "DigiCert TLS RSA SHA256 2020 CA1"}, "version": 3, "serialNumber": "0CE443B97F070F5500D008EEDFB11F88", "notBefore": "Aug 12 00:00:00 2022 GMT", "notAfter": "Aug 24 23:59:59 2023 GMT", "subjectAltName": [["DNS", "*.privatbank.lv"], ["DNS", "www.privatbank.lv"], ["DNS", "ibank.privatbank.lv"], ["DNS", "b2a2.privatbank.lv"], ["DNS", "open.privatbank.lv"], ["DNS", "sof.privatbank.lv"]], "OCSP": ["http://ocsp.digicert.com"], "caIssuers": ["http://cacerts.digicert.com/DigiCertTLSRSASHA2562020CA1-1.crt"], "crlDistributionPoints": ["http://crl3.digicert.com/DigiCertTLSRSASHA2562020CA1-4.crl", "http://crl4.digicert.com/DigiCertTLSRSASHA2562020CA1-4.crl"]}, "hostname": "b2a2.privatbank.lv"}
```

You can specify the port using `-p`. Instead of a port number or port range, you can use an alias: `smtp`, `imap`, `pop`, `https`, `ldap`, `rdp`, `ftp`, `telnet`, `cpanel`, `whm`, `kuber`, `portainer`, `proxmox`, `webmin`, `redis`, `activemq`. Specify `all` to scan all listed ports and `common` for the most common ones.

Example #2: extract domains from certificate using [jq](https://jqlang.github.io/jq/):

```bash
$ tls-scan -a ... -p https smtp | jq -r '.cert.commonName, ( .cert.subjectAltName?[] | select(.[0]=="DNS")[1] ), .hostname | select(.)'
...
*.privatbank.lv
www.privatbank.lv
ibank.privatbank.lv
b2a2.privatbank.lv
open.privatbank.lv
sof.privatbank.lv
b2a2.privatbank.lv
...
```
bteval 0.2.0
BTEval is a Python library for measuring the robustness of natural language understanding models to speech recognition errors.
Requires Python: >=3.10
Keywords: asr,backtranscription,nlu,tts

# BTEval

[![PyPI - Version](https://img.shields.io/pypi/v/bteval.svg)](https://pypi.org/project/bteval)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bteval.svg)](https://pypi.org/project/bteval)

-----

BTEval is a Python library for measuring the robustness of natural language understanding models to speech recognition errors.
It implements the family of `R*` robustness measures defined in [Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors](https://aclanthology.org/2023.emnlp-main.724) (Kubis et al., EMNLP 2023).

## Installation

```console
pip install bteval
```

## Usage

```python
from bteval import r1_score

y_true = ["Inform", "Request", "Inform"]
y_before = ["Inform", "Request", "Request"]
y_after = ["Inform", "Confirm", "Confirm"]

r1_score(y_true, y_before, y_after)
```

## Citing

If you use bteval for your research, please cite the following paper:

Marek Kubis, Paweł Skórzewski, Marcin Sowański, and Tomasz Zietkiewicz. 2023. [Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors](https://aclanthology.org/2023.emnlp-main.724). In *Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing*, pages 11824–11835, Singapore. Association for Computational Linguistics.

```bibtex
@InProceedings{kubis-etal-2023-back,
  title        = "{Back Transcription as a Method for Evaluating Robustness of Natural Language Understanding Models to Speech Recognition Errors}",
  author       = "Kubis, Marek and Skórzewski, Paweł and Sowański, Marcin and Ziętkiewicz, Tomasz",
  booktitle    = "Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing",
  month        = dec,
  year         = "2023",
  address      = "Singapore",
  publisher    = "Association for Computational Linguistics",
  URL          = "https://aclanthology.org/2023.emnlp-main.724",
  doi          = "10.18653/v1/2023.emnlp-main.724",
  pages        = "11824--11835",
}
```
fahoorm 0.1.0
A custom ORM framework for Python

# ORM# FahoORM

FahoORM is a custom ORM framework for Python.

## Features

- Supports SQLite, PostgreSQL, MySQL, and MongoDB.
- Easy-to-use API for interacting with databases.
- Flexible configuration options.
- Designed for simplicity and performance.

## Installation

You can install FahoORM using pip:

```bash
pip install fahoorm