semvec/pypi-packages huggingface dataset:
fullhunt-api 0.6
Library for working with Fullhunt.io API
Requires Python: >=3.8
Keywords: files speedfiles

# FullHunt API library #

## What is this? ##
The module allows you to use fullhunt.io api easy (api key is required).

## Quick Guide ##

### Methods list:</br> ###
domain</br>
subdomains</br>
host</br>
intelligence</br>
search_tag</br>
web_tech</br>
product</br>
intel_subdomains</br>
ip_to_hosts</br>
asn</br>
virt_asn</br>
hosts_in_range</br>
dns_mx</br>
dns_ns</br>
search  (check docs for more details https://fullhunt.io/docs/global-search/filters)

Some of these methods require Enterprise status. 


----------


### Usage ###


Usafe is very simple, you need to create Session object.

    sess = fullhunt.Session(api_key)


after you can use all provided methods, for example:

    result = sess.domain('google.com')





----------


## Developer ##
My site: [GitHub](https://github.com/egor251/)
unitprompt 0.0.9
A custom pytest matcher that helps you test prompts
Requires Python: <4.0,>=3.10

# unitprompt - pytest

`unitprompt` is a pytest extension that provides custom matchers for unit testing LLM processes. This library helps ensure that your large language model (LLM) outputs are validated correctly in your tests.

## Installation

pip install unitprompt

## Usage
```python
import pytest
from unitprompt import assert_is_latex, assert_conciseness
# mark as async because assert_conciseness requires an LLM call
@pytest.mark.asyncio
async def test_conciseness_fail():
    
    long_text = """
    First of all, you need to learn about the concept of sums. A sum is the result of adding two numbers together.
    This can be done in a variety of ways. There is the traditional method of writing the numbers one on top of the other and adding them together.

    In this instance you can take the first number, 3, and write it down. Then you can take the second number, 4, and write it down below the first number. You can then add the two numbers together to get the sum of 7.
    """
    
    with pytest.raises(pytest.fail.Exception):
        await assert_conciseness(long_text)

def test_uses_latex():
    latex_string = r'\\begin{document}\nHello, World!\n\\end{document}'
    assert_is_latex(latex_string)
    
def test_uses_latex_fail():
    with pytest.raises(pytest.fail.Exception):
        assert_is_latex(r'Plain text without any LaTeX')
```