semvec/pypi-packages huggingface dataset:
luxeprint 1.1.0
A Rust-based library for styled printing, tables, and emojis.
License: MIT
Requires Python: >=3.9

# Project: luxeprint - Styled Printing and Tables in Rust for Python 🚀

👋 Welcome to `luxeprint`, a Rust 🦀 library for advanced styled printing, tables, and emoji rendering 😀. 

This project was created entirely by the 🤖 **ChatGPT o1-preview model** and is being maintained by someone with little to no experience in Rust 🦀. Please bear with me as we figure this out together! 🙏

## Install

```bash
pip intall -U luxeprint
```

## Examples of Use

Here are some examples of how to use luxeprint in your projects.

✨ Styled Printing

You can use the library to print styled text directly from your Python code:

```python
from luxeprint.luxeprint import rprint

# Print styled text 🖨️
rprint("Hello, [bold magenta]World[/bold magenta]! :vampire:")
```

📝 Render and Print Tables

Luxeprint also allows you to render and print tables, complete with ANSI styles:

```python
from luxeprint.luxeprint import render_table, rprint

# Data for the table 📊
data = [
    ["[blue]Name", "[red]Age", "[green]City"],
    ["Alice", "30", "New York"],
    ["Bob", "25", "Los Angeles"],
    ["Charlie", "35", "Chicago"]
]

# Render and print the table 🖨️
table_output = render_table(data)
rprint(table_output)
```

🎨 Highlight Code

Syntax highlighting is also available:

```python
from luxeprint.luxeprint import highlight

code = '''
def greet(name):
    print(f"Hello, {name}!")

greet("World")
'''

highlighted_code = highlight(code, "python")
rprint(highlighted_code)
```

🤝 How to Contribute

Since the maintainer (that's me!) doesn't know much about Rust 🦀, any help would be greatly appreciated 🙏. Here are some ways you can contribute:

1. 🐞 Bug Fixes: If you find any issues, please submit a Pull Request (PR) with a fix.

1. 📄 Documentation: Improving the documentation would help a lot, especially for those who aren't familiar with Rust.

1. ⚡ Optimization: If you know how to make the Rust code faster 🚀 or cleaner, feel free to contribute!

1. ✨ Adding Features: If there's a feature you think would be cool 😎, please add it and submit a PR.

To get started, simply fork the repository, make your changes, and submit a Pull Request. Since I'm still learning Rust 🦀, please keep your explanations simple! 🤓

📬 Contact

If you have questions ❓ or need clarification on anything, feel free to open an issue on the GitHub repository 🐙.
pywiegand 0.5.2
Wiegand protocol on Raspberry PI
License: MIT
Requires Python: <4.0,>=3.7

# Python Wiegand reader on Raspberry PI

Using GPIO you can read the key presses and card codes from a keypad with the Wiegand protocol.

[![Downloads](https://static.pepy.tech/personalized-badge/pywiegand?period=week&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/pywiegand)

# Requirements

* Raspberry PI OS
* WiringPI

# Wiring

![Wiring](wiring.png)

# Install

```
pip install pywiegand
```

# Usage

```python
>>> from  pywiegand import WiegandReader
>>> wr = WiegandReader(6, 5)
# reading card
>>> wr.read()
'560019750914'

# reading keys
>>> wr.read()
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '#']
```

# Building

Do the following steps on the target device to build the package.

1. Install WiringPI https://github.com/wiringPi/WiringPi/
2. Install Python3 and poetry https://python-poetry.org/
3. Clone the repository
4. Run `poetry build`
5. Install the package with `pip install dist/pywiegand-<version>.tar.gz`
quacks 1.1.1
Better duck-typing with mypy-compatible extensions to Protocol
License: MIT
Requires Python: <4.0.0,>=3.8.1
Keywords: ducktyping, protocol, mypy, immutability

🦆 Quacks
=========

.. image:: https://img.shields.io/pypi/v/quacks.svg
   :target: https://pypi.python.org/pypi/quacks

.. image:: https://img.shields.io/pypi/l/quacks.svg
   :target: https://pypi.python.org/pypi/quacks

.. image:: https://img.shields.io/pypi/pyversions/quacks.svg
   :target: https://pypi.python.org/pypi/quacks

.. image:: https://github.com/ariebovenberg/quacks/actions/workflows/build.yml/badge.svg
   :target: https://github.com/ariebovenberg/quacks/actions/workflows/build.yml

.. image:: https://img.shields.io/readthedocs/quacks.svg
   :target: http://quacks.readthedocs.io/

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

.. epigraph::

  If it walks like a duck and it quacks like a duck, then it must be a duck


Thanks to `PEP544 <https://www.python.org/dev/peps/pep-0544/>`_, Python now has protocols:
a way to define duck typing statically.
This library gives you some niceties to make common idioms easier.

Installation
------------

.. code-block:: bash

   pip install quacks

⚠️ For type checking to work with ``mypy``, you'll need to enable the plugin in
your `mypy config file <https://mypy.readthedocs.io/en/latest/config_file.html>`_:

.. code-block:: ini

   [mypy]
   plugins = quacks

Features
--------

Easy read-only protocols
^^^^^^^^^^^^^^^^^^^^^^^^

Defining read-only protocols is great for encouraging immutability and
working with frozen dataclasses. Use the ``readonly`` decorator:


.. code-block:: python

    from quacks import readonly

    @readonly
    class User(Protocol):
        id: int
        name: str
        is_premium: bool

Without this decorator, we'd have to write quite a lot of cruft,
reducing readability:


.. code-block:: python

    class User(Protocol):
        @property
        def id(self) -> int: ...
        @property
        def name(self) -> str: ...
        @property
        def is_premium(self) -> bool: ...