semvec/pypi-packages huggingface dataset:
lute3-thai 0.0.3
Learning Using Texts - Thai Parser
Requires Python: >=3.8

# `lute3-thai`

A Thai parser for Lute (`lute3`) using the `pythainlp` library.

## Installation

See the [Lute manual](https://luteorg.github.io/lute-manual/install/plugins.html).

## Usage

When this parser is installed, you can add "Thai" as a
language to Lute, which comes with a simple story.

## Notes

Thai is tough to parse!  In particular, it is sometimes hard to know where sentences are split.

Some sentence splitting characters are specified in the Thai language
definition, which you can edit.

**This parser also assumes that spaces are used as sentence delimiters**.

In many cases, this is a reasonable assumption (e.g. see the stories
at [Thai
Reader](https://seasite.niu.edu/thai/thaireader/frameset.htm)), but in
sometimes this can be incorrect.  For example, numbers and English
words are often written with spaces surrounding them, as in this
single sentence from a news story:

ออกคำสั่งในวันเสาร์ที่ 2 พ.ย. 2567 ให้ทหาร 5,000 นาย กับ ตำรวจและเจ้าหน้าที่กองกำลังป้องกันพลเรือนอีก 5,000 นาย ไปเสริมกำลังเจ้าหน้าที่ในแคว้นบาเลนเซีย .

Hopefully in the future some smart codes will be able to improve the parsing to handle such situations ... but for now, Lute can give you some support for reading in Thai.
yattag 1.16.1
Generate HTML or XML in a pythonic way. Pure python alternative to web template engines.Can fill HTML forms with default values and error messages.
Keywords: html, template, templating, xml, document, form, rendering

.. image:: https://travis-ci.org/leforestier/yattag.svg
    :target: https://travis-ci.org/leforestier/yattag

Why use a template engine when you can generate HTML or XML documents with Python in a very readable way?

( full tutorial on yattag.org_ )

Basic example
-------------

Nested html tags, no need to close tags.

.. code:: python

    from yattag import Doc

    doc, tag, text = Doc().tagtext()

    with tag('html'):
        with tag('body', id = 'hello'):
            with tag('h1'):
                text('Hello world!')

    print(doc.getvalue())


Html form rendering
-------------------

Yattag can fill your HTML forms with default values and error messages.
Pass a ``defaults`` dictionary of default values, and an ``errors`` dictionary of error messages to the ``Doc`` constructor.
Then, use the special ``input``, ``textarea``, ``select``, ``option`` methods when generating your documents.


Example with default values
~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: python

    from yattag import Doc

    doc, tag, text = Doc(
        defaults = {'ingredient': ['chocolate', 'coffee']}
    ).tagtext()

    with tag('form', action = ""):
        with tag('label'):
            text("Select one or more ingredients")
        with doc.select(name = 'ingredient', multiple = "multiple"):
            for value, description in (
                ("chocolate", "Dark chocolate"),
                ("almonds", "Roasted almonds"),
                ("honey", "Acacia honey"),
                ("coffee", "Ethiopian coffee")
            ):
                with doc.option(value = value):
                    text(description)
        doc.stag('input', type = "submit", value = "Validate")

    print(doc.getvalue())

Example with default values and errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: python

    from yattag import Doc

    doc, tag, text = Doc(
        defaults = {
            'title': 'Untitled',
            'contact_message': 'You just won the lottery!'
        },
        errors = {
            'contact_message': 'Your message looks like spam.'
        }
    ).tagtext()

    with tag('h1'):
        text('Contact form')
    with tag('form', action = ""):
        doc.input(name = 'title', type = 'text')
        with doc.textarea(name = 'contact_message'):
            pass
        doc.stag('input', type = 'submit', value = 'Send my message')

    print(doc.getvalue())

Full tutorial on yattag.org_

GitHub repo: https://github.com/leforestier/yattag

.. _yattag.org: https://www.yattag.org
omnivista-py-phillipyosief 0.3.6
A Python library that simplifies interaction with the OmniVista API, enabling easy authentication, device management, and performance data querying.
Requires Python: >=3.9

# omnivista_py

`omnivista_py` is a Python library that simplifies interaction with the OmniVista API. It allows easy authentication with a username and password, management of network devices, and querying of performance data. With integrated error handling and optional logging, the client provides developers with an effective tool for automating and monitoring network infrastructures.

## Installation

To install the library, use pip:

```sh
pip install omnivista_py
```

## Usage

### Initialization

First, initialize the `OVClient` with the base URL of the API, username, password, and optional parameters for SSL verification and logging.

```python
from omnivista_py import OVClient

client = OVClient(
    url="https://omnivista.company.de",
    username="your_username",
    password="your_password",
    verify=True,  # Optional, default is True
    log=True      # Optional, default is False
)
```

### Authentication

Log in to the API:

```python
client.login()
```

### Device Management

#### Get All Devices

Retrieve a list of all devices:

```python
devices = client.get_all_devices()
```

#### Device Information

Create a `Device` instance and retrieve various information:

```python
device = client.Device(client, ip_address="192.168.1.1")

# Get all information
info = device.get_all_information()

# Get specific details
hostname = device.get_hostname()
ip_address = device.get_ip_address()
mac_address = device.get_mac_address()
model_name = device.get_model_name()
running_directory = device.get_running_directory()
location = device.get_location()
description = device.get_description()
software_version = device.get_software_version()
software_version_advanced = device.get_software_version_advanced()
ip_interfaces = device.get_ip_interfaces()
```

## Error Handling

The library includes custom exceptions for error handling:

- `APIClientError`: Base class for exceptions in this module.
- `AuthenticationError`: Raised for authentication-related errors.
- `DeviceRetrievalError`: Raised when retrieving devices fails.
- `LoginError`: Raised when login fails.

Example:

```python
try:
    client.login()
except LoginError as e:
    print(f"Login failed: {e}")
```

## License

This project is licensed under the MIT License.
MCD12C1-2019-v006 1.0.1
MODIS/Terra+Aqua Land Cover Type CMG Yearly L3 Global 0.05 Deg 2019 Collection 6 Dataset Python Tool
Requires Python: >=3.10

# MODIS/Terra+Aqua Land Cover Type CMG Yearly L3 Global 0.05 Deg 2019 Collection 6 Dataset Python Tool

This package generates rasters of the MODIS/Terra+Aqua Land Cover Type CMG Yearly L3 Global 0.05 Deg (MCD12C1) 2019 global composite collection 6 dataset, as used in ECOSTRESS Collection 2.

[Gregory H. Halverson](https://github.com/gregory-halverson-jpl) (they/them)<br>
[gregory.h.halverson@jpl.nasa.gov](mailto:gregory.h.halverson@jpl.nasa.gov)<br>
NASA Jet Propulsion Laboratory 329G

## References

- **NASA LP DAAC**. (2015). *MCD12C1 MODIS/Terra+Aqua Land Cover Type Yearly L3 Global 0.05Deg CMG*. NASA LP DAAC. https://doi.org/10.5067/MODIS/MCD12C1.006
- **Friedl, M., & Sulla-Menashe, D.** (2015). *MODIS/Terra+Aqua Land Cover Type Yearly L3 Global 0.05Deg CMG*. NASA LP DAAC. https://doi.org/10.5067/MODIS/MCD12C1.006
test-github-ci 0.0.13
This project tests AutoPub with GitHub Actions CI.
Requires Python: ~=3.10

# Test AutoPub & GitHub Actions CI

1. Create repository
1. Create GitHub and PyPI tokens with appropriate scopes
1. Add `GH_TOKEN` & `PYPI_PASSWORD` environment variables via repository Settings > Secrets > New secret
1. Create `.github/workflows` and add appropriate GitHub CI workflow
1. Add appropriate AutoPub configuration to `pyproject.toml`
1. Add `RELEASE.md` file with release type and description
1. `git add .`, commit, and push
PDF-Repair 1.1
PDFRepair Tool using PyPDF

# PDFRepair-PyPDF

PDFRepair Tool using PyPDF.

## Installation

### Using pip

```bash
pip install PDF-Repair
```

### Manual Installation

```bash
git clone https://github.com/obtuse-triangle/PDFRepair-PyPDF.git
cd PDFRepair-PyPDF
python3 setup.py install
```

### Tested Python Version

| Version        | Work? |
| -------------- | ----- |
| Python 3.11.7  | ✅    |
| Python 3.10.14 | ✅    |

## Usage

```bash
usage: pdf-repair [-h] [--compress] FILEPATH

positional arguments:
  FILEPATH        The PDF file or directory to repair.

options:
  -h, --help      show this help message and exit
  --compress, -c  Compress the PDF.
```