semvec/pypi-packages huggingface dataset:
exdata 0.1.2
Export data to xlsx
Requires Python: >=3.10
Keywords: data, excel, export, xlsx, xlsxwriter

# Exdata

![PyPI - Version](https://img.shields.io/pypi/v/exdata?logo=python)
![Tests](https://github.com/kindlycat/exdata/actions/workflows/tests.yml/badge.svg)
![codecov](https://codecov.io/gh/kindlycat/exdata/graph/badge.svg?token=LP1YZEddRM)

Exdata is a Python package for exporting data to Excel (xlsx) files with a focus on flexibility, 
customization, and ease of use. It provides a rich set of features for creating complex Excel documents 
with precise control over layout and formatting. Built on top of [xlsxwriter](https://xlsxwriter.readthedocs.io/), 
it leverages its robust Excel file generation capabilities while providing a more intuitive and flexible 
interface for complex document structures.

## Features

* **Flexible Data Structure**: Create complex layouts using nested rows and columns
* **Rich Text Formatting**: Support for formatted text with different styles within a single cell
* **Customizable Layout**: Control cell sizes, positions, and expansion behavior
* **Memory Efficient**: Support for both in-memory and file-based operations

## Installation

```bash
pip install exdata
```

## Quick Start

![Demo](https://raw.githubusercontent.com/kindlycat/exdata/main/docs/source/_static/demo.png)

```python
from exdata import XlsxExporter, Sheet, Row, Cell, Column

formats = {
    'default': {
        'border': 1,
        'align': 'vcenter',
    },
    'header': {
        'border': 1,
        'align': 'center',
        'valign': 'vcenter',
        'bg_color': '#98D0FF',
        'bold': True,
    },
}
sheet = Sheet(
    name='Example',
    data=[
        Row(
            data=[
                Column([
                    Cell('User'),
                    Row([
                        Cell('First name'),
                        Cell('Last name'),
                    ]),
                ]),
                Cell('Age'),
                Column([
                    Cell('Contact Details'),
                    Row([
                        Cell('Email'),
                        Cell('Phone'),
                    ]),
                ]),
            ],
            format='header',
        ),
        Row(data=[
            Cell('John'),
            Cell('Doe'),
            Cell(30),
            Cell('john.doe@example.com'),
            Cell('+1 234-567-8901'),
        ]),
        Row(data=[
            Cell('Jane'),
            Cell('Smith'),
            Cell(28),
            Cell('jane.smith@example.com'),
            Cell('+1 234-567-8902'),
        ]),
        Row(data=[
            Cell('Bob'),
            Cell('Johnson'),
            Cell(35),
            Cell('bob.johnson@example.com'),
            Cell('+1 234-567-8903'),
        ]),
    ],
    format='default',
)


exporter = XlsxExporter(sheets=[sheet], formats=formats)

with open('data_grid_example.xlsx', 'wb') as f:
    f.write(exporter.export().read())

```
legend-pygeom-l200 0.8.1
Geometry model of the LEGEND-200 experimental setup
Requires Python: >=3.10

# legend-pygeom-l200

[![PyPI](https://img.shields.io/pypi/v/legend-pygeom-l200?logo=pypi)](https://pypi.org/project/legend-pygeom-l200/)
[![conda-forge](https://img.shields.io/conda/vn/conda-forge/legend-pygeom-l200.svg)](https://anaconda.org/conda-forge/legend-pygeom-l200)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/legend-exp/legend-pygeom-l200?logo=git)
[![GitHub Workflow Status](https://img.shields.io/github/checks-status/legend-exp/legend-pygeom-l200/main?label=main%20branch&logo=github)](https://github.com/legend-exp/legend-pygeom-l200/actions)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Codecov](https://img.shields.io/codecov/c/github/legend-exp/legend-pygeom-l200?logo=codecov)](https://app.codecov.io/gh/legend-exp/legend-pygeom-l200)
![GitHub issues](https://img.shields.io/github/issues/legend-exp/legend-pygeom-l200?logo=github)
![GitHub pull requests](https://img.shields.io/github/issues-pr/legend-exp/legend-pygeom-l200?logo=github)
![License](https://img.shields.io/github/license/legend-exp/legend-pygeom-l200)
[![Read the Docs](https://img.shields.io/readthedocs/legend-pygeom-l200?logo=readthedocs)](https://legend-pygeom-l200.readthedocs.io)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.16778749.svg)](https://doi.org/10.5281/zenodo.16778749)

This package implements the `legend-pygeom-l200` CLI utility to interact with
the LEGEND-200 geometry.

> [!NOTE]
>
> For full functionality, this package requires a working setup of
> [`legend-metadata`](https://github.com/legend-exp/legend-metadata) before
> usage.
simple-sonarqube-api 0.1.6
Simple Python client for SonarQube Web API
Requires Python: >=3.10

# simple-sonarqube-api
Sonarqube api python module


# Usage

# Build module

```bash
python -m venv .venv

```
## Linux/macOS
```bash
source .venv/bin/activate
```

## Windows (PowerShell)
```bash
# .\.venv\Scripts\Activate.ps1
```

## build
```bash
python -m pip install -U pip
pip install -e .
```


## Example

Install module
```bash
$ pip install simple-sonarqube-api
```

Code example
```python
from simple_sonarqube_api.client import SonarQubeClient

client = SonarQubeClient(
    base_url="https://sonar.midominio",
    token="squ_xxxxxxxxx"
)

assert client.is_authenticated()

issues = list(client.iter_issues(types="VULNERABILITY", resolved=False))
evidence = client.get_issue_code_evidence(issues[0]["key"], context_lines=3)

print(evidence["snippet"])
```

## Check bandit
```bash
$ bandit -r src/simple_sonarqube_api
```