semvec/pypi-packages huggingface dataset:
rekor-monitor 4.0.1
An auditing system for Sigstore signatures
Requires Python: <4.0,>=3.13

# Rekor Monitor

An auditing system for Sigstore signatures.

## Project Description

Rekor Monitor provides tools for verifying inclusion and consistency of log entries in the Sigstore Transparency Log (`rekor`). It helps ensure the integrity of signed artifacts using Cosign and Rekor.

## Installation

You can install Rekor Monitor directly from PyPI:

```bash
pip install rekor-monitor
```

## Using the Code

1. **Fetch the Latest Checkpoint:**

   Retrieve the latest checkpoint from the Rekor server with:

   ```bash
   rekor-monitor -c

2. **Verifying Log Inclusion:**

   To confirm that a specific log entry exists in the transparency log and verify the artifact's signature stored in Rekor:

   ```bash
   rekor-monitor --inclusion <logIndex> --artifact <artifactFilePath>
   ```
- Replace <logIndex> with the index of the log entry.

- Replace <artifactFilePath> with the path to your artifact file.

3. **Verifying Checkpoint Consistency:**

   To ensure an older checkpoint is consistent with the current Rekor checkpoint:

   ```bash
   rekor-monitor --consistency --tree-id <treeID> --tree-size <treeSize> --root-hash <rootHash>
   ```

- Replace <treeID> with the ID of the Merkle tree.

- Replace <treeSize> with the size of the previous tree.
   
- Replace <rootHash> with the root hash of the previous checkpoint.
ml-convertor-free 0.1.14
MS Office va LibreOffice uchun konvertatsiya vositasi


# Office fayl konvertori

Bu Python skripti ofis hujjatlarini (Excel, Word, PowerPoint) turli formatlarga o'zgartirish uchun kuchli yechim taqdim etadi. U PDF, HTML, XLSX, DOCX, PPTX va boshqa ko'plab formatlarni qo'llab-quvvatlaydi.

## Xususiyatlar:
- **Platformalararo qo'llab-quvvatlash**: Skript Windows va Linux tizimlarida ishlaydi.
- **Ko'p formatlarni qo'llab-quvvatlash**: Excel, Word va PowerPoint formatlari o'rtasida hujjatlarni o'zgartirish mumkin (masalan, XLS dan PDF ga, DOCX dan PDF ga, PPT dan PPTX ga).
- **Moslashtirilgan konvertatsiya usullari**: Skript LibreOffice (Linux uchun) va Microsoft Office (Windows uchun) kabi mashhur dasturlar yordamida turli hujjat formatlarini o'zgartirish imkonini beradi.
- **Log yozuvi**: Muvaffaqiyatli konvertatsiyalar va xatoliklar uchun batafsil loglar saqlanadi.
- **Buyruq satri interfeysi (CLI)**: Skriptni buyruq satridan faylni kiritish, natija faylini va kerakli formatni belgilash uchun oddiy argumentlar bilan ishlatish mumkin.

## Qo'llab-quvvatlanadigan fayl formatlari:
- **Excel**: PDF, HTML, XLS, XLSX, XLSB, CSV, ODS va boshqalar.
- **Word**: PDF, DOC, DOCX, RTF, TXT, XML, ODT va boshqalar.
- **PowerPoint**: PPTX, PPT, PPSX, PPS, ODP, XML, RTF, HTML va boshqalar.

## O'rnatish:
- **Linux uchun**: Konvertatsiya qilish uchun LibreOffice o'rnatilishi kerak.
- **Windows uchun**: Microsoft Office (Excel, Word, PowerPoint) o'rnatilishi kerak.

## Misol ishlatish:
```bash
ml_converter xls2pdf input.xls output.pdf
```

## Log yozuvi:
Barcha operatsiyalar `conversion_log.log` faylida qayd etiladi va kuzatish uchun ishlatiladi.

---

# Office File Converter

This Python script provides a powerful solution for converting office documents (Excel, Word, PowerPoint) into various formats. It supports a wide range of formats, including PDF, HTML, XLSX, DOCX, PPTX, and many others.

## Features:
- **Cross-platform support**: Works on both Windows and Linux systems.
- **Multiple format support**: Convert documents between Excel, Word, and PowerPoint formats (e.g., XLS to PDF, DOCX to PDF, PPT to PPTX).
- **Customizable conversion methods**: The tool handles conversions for many document formats using well-known software such as LibreOffice (for Linux) and Microsoft Office (for Windows).
- **Logging**: Detailed logs are maintained for successful conversions and error handling.
- **Command-line interface (CLI)**: Can be used directly from the command line with simple arguments for input file, output file, and desired conversion format.

## Supported File Formats:
- **Excel**: PDF, HTML, XLS, XLSX, XLSB, CSV, ODS, and more.
- **Word**: PDF, DOC, DOCX, RTF, TXT, XML, ODT, and more.
- **PowerPoint**: PPTX, PPT, PPSX, PPS, ODP, XML, RTF, HTML, and more.

## Installation:
- **On Linux**: LibreOffice must be installed to handle conversions via the command line.
- **On Windows**: Microsoft Office (Excel, Word, PowerPoint) is required for file conversions.

## Example Usage:
```bash
ml_converter xls2pdf input.xls output.pdf
```

## Logging:
All operations are logged into a `conversion_log.log` file for tracking and troubleshooting.
sensible-types 0.2.0
A collection of useful types for Python, to drive correctness in your programs.
Requires Python: >=3.12

# Sensible Types
A collection of useful types for Python, to drive correctness in your programs.

## Installation

```
pip3 install sensible-types  # with pip
poetry add sensible-types    # with poetry
uv add sensible-types        # with uv
```

[View on PyPI.](https://pypi.org/project/sensible-types/)

## Why?

> Parse, don't validate.

How many times have you written code of this nature?

```python3
def foo(a: int):
    if a < 0:
        raise ValueError(f"The input `a` should be positive. Actual value: {a}")

    # actual logic
    ...
```

The requirement for input validation indicates an error in your type system.

It _should not be possible_ to pass a negative `int` to a function that can only work with a positive `int` — that is an invalid state that your program should never find itself in.

Unfortunately, Python doesn't make this easy. We should ideally be able to do something like this:

```python3
def foo(a: uint):
    # straight into the logic, as the input comes pre-validated
    ...
```

But of course, Python does not have an unsigned integer type.

[Type-driven design](https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/) leads to more correct, reliable software, where tests only have to focus on verifying that your business logic works rather than verifying that your inputs are valid. To borrow a phrase from Rust 🦀, it makes invalid states unrepresentable.

This package aims to provide new primitive types with additional constraints that are commonly required.

For now, it only contains `PositiveInt`, but it may be extended in the future as new use cases arise.

## But Python doesn't care about types at runtime

You're right.

But that doesn't mean that _you_, the developer, should not care about the correctness and reliability of your program.

You should be using strict type checking tools like [Pyright](https://github.com/microsoft/pyright) to analyse your code. Without such tools, all the type-driven design in the world won't save you from Python.

There still won't be anything stopping your program from running if you pass in an incorrect type, but at least you'll see errors in you IDE if you've written incorrect code.