semvec/pypi-packages huggingface dataset:
pliny 0.1.0
Pliny web framework (under construction)
Requires Python: >=3.9,<4.0

# Pliny

Pliny is a **very** opinionated web framework and set of tools to help teams build modern web services and applications.

## Commands

### Platform commands

    pliny platform:setup

Bootstraps the local pliny development platform. Installs and runs the core platform services and developer tools. You must have Docker Desktop installed first.

    pliny platform:start

Startup the pliny platform services. You must have run `platform:setup` before.

    pliny platform:stop

Stop the pliny platform services.

    pliny platform

Show the current status of the local dev platform.

### App commands

    pliny create [app|service]

Creates the skeleton for a new app or service. An "app" is full-stack with a React front-end and Python backend. A service is just a Python backend that serves an API.

    pliny run

Runs the app or service in the current directory. By default the app frontend and backend are run together in the foreground.

## The runtime platform

The Pliny framework assumes that services run on a faily very rich runtime platform. This runtime allows us to build rich applications easily, rather than having to cobble together a service component, client library, and stitch it into our application.

The core services provided by the platform include:

    - Database
    - Message queue
    - Config and secrets store
    - Service discovery
    - Email gateway

In order to support a faithful environment for local development and testing, Pliny includes a _local dev_ version of the runtime platform. Services run in Docker on the local machine. You can use the `pliny platform` commands to setup and manage the local runtime.
aioworkers-consul 0.2.0
aioworkers plugin for consul
Requires Python: >=3.7
Keywords: aioworkers

aioworkers-consul
=================

.. image:: https://img.shields.io/pypi/v/aioworkers-consul.svg
  :target: https://pypi.org/project/aioworkers-consul

.. image:: https://github.com/aioworkers/aioworkers-consul/workflows/Tests/badge.svg
  :target: https://github.com/aioworkers/aioworkers-consul/actions?query=workflow%3ATests

.. image:: https://codecov.io/gh/aioworkers/aioworkers-consul/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/aioworkers/aioworkers-consul
  :alt: Coverage

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json
  :target: https://github.com/charliermarsh/ruff
  :alt: Code style: ruff

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  :target: https://github.com/psf/black
  :alt: Code style: black

.. image:: https://img.shields.io/badge/types-Mypy-blue.svg
  :target: https://github.com/python/mypy
  :alt: Code style: Mypy

.. image:: https://readthedocs.org/projects/aioworkers-consul/badge/?version=latest
  :target: https://github.com/aioworkers/aioworkers-consul#readme
  :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/aioworkers-consul.svg
  :target: https://pypi.org/project/aioworkers-consul
  :alt: Python versions

.. image:: https://img.shields.io/pypi/dm/aioworkers-consul.svg
  :target: https://pypi.org/project/aioworkers-consul

.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg
  :alt: Hatch project
  :target: https://github.com/pypa/hatch

About
=====

Integration with `Hashicorp Consul <https://www.consul.io>`_.

Use
---

.. code-block:: yaml

    consul:
      host: localhost:8500  # optional
      service:              # optional
        name: my
        tags:
          - worker


Development
-----------

Check code:

.. code-block:: shell

    hatch run lint:all


Format code:

.. code-block:: shell

    hatch run lint:fmt


Run tests:

.. code-block:: shell

    hatch run pytest


Run tests with coverage:

.. code-block:: shell

    hatch run cov
Luxbeam 0.1.1
A python package that implements the protocol for programming Luxbeam DMD controller from VISITECH.

# Luxbeam Introduction
[![Build Documentation HTML](https://github.com/QITI/Luxbeam/actions/workflows/python-package.yml/badge.svg)](https://github.com/QITI/Luxbeam/actions/workflows/python-package.yml)

`Luxbeam` is a python package that implements the protocol for programming [Luxbeam DMD controller](https://www.keynotephotonics.com/dlp-chipsets/#CHIPSET-DLP9500) from [VISITECH](https://visitech.no/).
The `Luxbeam` class implements the control protocol of Luxbeam digital micro-mirror device (DMD) controller. 
This is tested with Luxbeam 4600 controller and DLP9500UV DMD.
In addition to equipment control from the `Luxbeam` class, the `LuxbeamSeqeuncer` class implements the support for composing sequencer code used in Luxbeam controller.
This allows the user to compose the sequencer code using native python arithmetic operations and some of the flow controls. 

## Installation
One can install the package via setuptools:
```
python setup.py install
```
To install the package in [develop mode](https://stackoverflow.com/questions/19048732/python-setup-py-develop-vs-install) instead, use:
```
python setup.py develop
```

## Test
It is recommended to run the test cases to ensure `LuxBeam` is compatiable with your setup.

Run the tests in the test folder:
```
pytest test --ip="<IP address>"
```
Run the interactive tests:
```
pytest test --ip="<IP address>" --interactive -s
```

## Example
```python
import Luxbeam
from Luxbeam.sample import number_image

#  This is the equivalent example of displaying non-scrolling images in the LB 4600 user guide.

# Connect to the Luxbeam
luxbeam = Luxbeam.Luxbeam("192.168.0.10", timeout=1)  # modify the ip address if required.

# Prepare the image (display 123 on the DMD)
image = number_image(123, luxbeam.cols, luxbeam.rows)

# Set image type to 1 (binary). (One-time Operation)
luxbeam.set_image_type(1)

# Set inum size to 1080. (One-time Operation)
luxbeam.set_inum_size(luxbeam.rows)

# Disable the sequencer.
luxbeam.set_sequencer_state(Luxbeam.SEQ_CMD_RUN, Luxbeam.DISABLE)

# Set sequencer in reset-state
luxbeam.set_sequencer_state(Luxbeam.SEQ_CMD_RESET, Luxbeam.ENABLE)

# Load the image to inum = 0.
luxbeam.load_image(0, image)

# Compose the sequencer file.
seq = Luxbeam.LuxbeamSequencer()
for _ in seq.jump_loop_iter():  # A while-true loop
    seq.load_global(0, 400)  # Load data from Inum (0) to DMD
    seq.trig(Luxbeam.TRIG_MODE_NEGATIVE_EDGE, Luxbeam.TRIG_SOURCE_INTERNAL, 0)  # Neg. edge internal trigger
    seq.reset_global(40)  # Display contents on DMD

# View the generated sequence file
print(seq.dumps())

# Send sequence file.
luxbeam.load_sequence(seq.dumps())

# Take sequencer out of reset-state
luxbeam.set_sequencer_state(Luxbeam.SEQ_CMD_RESET, Luxbeam.DISABLE)

# Start the sequencer
luxbeam.set_sequencer_state(Luxbeam.SEQ_CMD_RUN, Luxbeam.ENABLE)
```
tesseract-positional 0.1.2
Tool to save positional OCR data to a text file
Requires Python: >=3.11

# Tesseract-Positional
A tool to save positional OCR data to a text file

[![GitHub version](https://badge.fury.io/gh/tjkessler%2Ftesseract-positional.svg)](https://badge.fury.io/gh/tjkessler%2Ftesseract-positional)
[![PyPI version](https://badge.fury.io/py/tesseract-positional.svg)](https://badge.fury.io/py/tesseract-positional)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/tjkessler/tesseract-positional/master/LICENSE.txt)

Tesseract-Positional allows positional data extracted using OCR to be saved as plain-text. Positional data includes text spacing and line breaks.

## Installation

Installation via pip:

```
$ pip install tesseract-positional
```

Installation via cloned repository:

```
$ git clone https://github.com/tjkessler/tesseract-positional
$ cd tesseract-positional
$ pip install .
```

Additional dependencies (pytesseract, Pillow) will be installed during Tesseract-Positional's installation.

## Basic Usage

### Via a Python script

Saving extracted text to a file:

```python
from tesseract_positional import positional_ocr
positional_ocr('image.tiff', 'output.txt')
```

Obtaining extracted text:

```python
from tesseract_positional import positional_ocr
text = positional_ocr('image.tiff')
```

### Via the command line

```
$ tesseract-positional image.tiff output.txt
```

## Contributing, Reporting Issues and Other Support

To contribute to Tesseract-Positional, make a pull request. Contributions should include tests for new features added, as well as extensive documentation.

To report problems with the software or feature requests, file an issue. When reporting problems, include information such as error messages, your OS/environment and Python version.

For additional support/questions, contact Travis Kessler (travis.j.kessler@gmail.com).
constrained 0.0.0
A Python library for enforcing type, range, and lexical constraints.
Requires Python: >=3.10,<4.0

# Constrained

:caution: **Not working; not maintained. Use [annotated-types](https://github.com/annotated-types/annotated-types) instead.** :caution:

A Python library for enforcing type and range constraints.

## Features

- Float and Int types with range constraints
- Regex type for string matching
- CFG type for context-free grammar matching
- enforce_annotation_constraints decorator to enforce constraints

## Installation

```bash
pip install constrained
```

## Usage

First, import the necessary types and the decorator from the `constrained` module:

```python
from constrained import Float, Int, Regex, CFG, enforce_annotation_constraints
```

Then, define your function with type annotations:

```python
@enforce_annotation_constraints
def P(x: Float[0, 'inf']) -> Float[0, 'inf']:
    return x / 2
```

The decorator will enforce the constraints at runtime and raise a ValueError if any argument or the return value does not match the constraints defined in the function's signature.

## Alternatives

- [annotated-types](https://github.com/annotated-types/annotated-types) (much better than `constrained` and up-to-date (08/2023); `pip install annotated-types`)
- [Constrained Types](https://pypi.org/project/constrained_types/)