semvec/pypi-packages huggingface dataset:
YappatronBasicBrowser 0.1.1
A library for building a basic web browser with tabs in 2 lines of code.
License: MIT
Requires Python: >=3.11

# Yappatron Basic Browser

```python
from yappatronbasicbrowser import run, YappatronSettings

# Run default browser
run()

# Run browser with custom settings
settings = YappatronSettings(start_url="https://google.com", width=1280, height=720)
run(settings=settings)
contract-analysis 0.1.3
A Python library for analyzing legal contracts using Azure services.
License: MIT
Requires Python: >=3.8

# Contract Analysis Library

[![GitHub Repository](https://img.shields.io/badge/GitHub-Repository-blue?logo=github)](https://githubanalysis)


A Python library for analyzing legal contracts using Azure services:

- Azure Document Intelligence  
- Azure Translator  
- Azure OpenAI  
- Azure Content Understanding  

## Features

- **Document Translation**: Automatically detect and translate contracts to a target language.  
- **Field Extraction**: Extract structured fields using Azure Document Intelligence from a pre-trained model.  
- **Layout Analysis**: Analyze document layout and extract text per page.  
- **Content Understanding**: Use Azure Content Understanding for semantic analysis (using pre-trained model).
- **GPT Integration**: Leverage Azure OpenAI GPT for advanced prompt-based analysis.  

## Installation

```bash
pip install contract-analysis
```

## Usage

```python

from contract_analysis import ContractAnalysis

analyzer = ContractAnalysis(
    document_path="<full-document-path>",
    target_language="<target-language>",  # e.g., 'en', 'fr'
    translator_endpoint="<your-translator-endpoint>",
    translator_region="<your-region>",  # e.g., 'eastus'

    # Optional: Content Understanding
    cu_endpoint="<your-cu-endpoint>",
    cu_api_version="<your-cu-api-version>",
    cu_subscription_key="<your-subscription-key>",
    cu_token_provider="<your-token-provider>",
    cu_analyzer_id="<your-analyzer-id>",

    # Optional: Document Intelligence
    di_endpoint="<your-di-endpoint>",
    di_model_id="<your-model-id>",
    di_fields_list=["PartyA", "PartyB", "EffectiveDate"],

    # Optional: GPT Integration
    gpt_api_version="<gpt-api-version>",
    gpt_endpoint="<gpt-endpoint>",
    gpt_model="<gpt-deployment-name>",
    prompt_registry={
        "PromptName1": lambda: """
        [FULL PROMPT TEXT HERE]
        """,
        "PromptName2": lambda: """
        [FULL PROMPT TEXT HERE]
        """
    }
)


```


## Running Tests
To run the test suite:

```bash
$env:PYTHONPATH="src"; python -m unittest discover -s tests -p "test_*.py"
```

## Project Structure


```bash
contract-analysis/
├── src/
│   └── contract_analysis/
│       ├── __init__.py
│       ├── document.py
│       ├── translation.py
│       ├── document_intelligence.py
│       ├── openai_gpt.py
│       ├── content_understanding.py
│       └── contract_analysis.py
├── tests/
│   ├── test_document.py
│   ├── test_translation.py
│   ├── test_document_intelligence.py
│   ├── test_openaigpt.py
│   ├── test_content_understanding.py
│   └── test_contract_analysis.py
├── examples/
│   ├── analyse_contract_example.py
│   └── compare_contracts_example.py
├── configuration/
│   └── config.yaml  # excluded from version control
├── contracts/
│   └── sample files  # excluded from version control
├── README.md
├── pyproject.toml
├── LICENSE
└── .gitignore
```


## License
MIT License
python-sqlitedict 0.0.3
Python sqlite3 dict-like.
License: MIT
Requires Python: <4.0,>=3.12
Keywords: sqlite3, dict-like

# Python sqlite3 dict-like.

## Installation

You can install via [pypi](https://pypi.org/project/python-sqlitedict/)

```console
pip install -U python-sqlitedict
```

## Usage

```python
from sqlitedict import SqliteDict, SqliteTableDict
```