semvec/pypi-packages huggingface dataset:
sphinxext-rediraffe 0.3.0
Sphinx Extension that redirects non-existent pages to working pages
Requires Python: >=3.9

===================
sphinxext-rediraffe
===================

.. image:: https://img.shields.io/pypi/v/sphinxext-rediraffe.svg
   :target: https://pypi.org/project/sphinxext-rediraffe/
   :alt: Package on PyPI

.. image:: https://github.com/sphinx-doc/sphinxext-rediraffe/actions/workflows/test.yml/badge.svg
   :target: https://github.com/sphinx-doc/sphinxext-rediraffe/actions
   :alt: Build Status

.. image:: https://img.shields.io/badge/License-MIT-blue.svg
   :target: https://opensource.org/licenses/MIT
   :alt: MIT

Sphinx extension to redirect files

.. image:: ./assets/rediraffe_logo.svg
   :align: center

This Sphinx extension redirects non-existent pages to working pages.
Rediraffe can also check that deleted or renamed files in your git repo
are redirected.

Rediraffe creates a graph of all specified redirects and traverses it
to point all internal urls to leaf urls.
This means that chained redirects will be resolved.
For example, if a config has 6 chained redirects, all 6 links will redirect
directly to the final link.
The end user will never experience more than 1 redirection.

Note: Rediraffe supports the html and dirhtml builders.

Installation
============

.. code-block:: sh

   python -m pip install sphinxext-rediraffe

Usage
=====

See the `documentation`_.

.. _documentation: https://sphinxext-rediraffe.readthedocs.io/en/latest/
spiegeltools 0.1.4
Provides data analysis tool for government crime data.
Requires Python: >=3.8

# Spiegeltools 0.1.4
This library's objective is to provide an easy way to access and analyze crime data from government sources.

Currently, it focuses on UK crime data, but there are plans to expand to other government sources in the future.

The library is affiliated with the [Spiegel](https://github.com/Spiegel-382/Spiegel) project.

### Installation
You can install the library using pip:
```bash
pip install spiegeltools
```

### Future Plans
- Add support for more government data sources.
    - Portugal Crime Data.
    - FBI Crime Data.
- Add visualization tools with R and Python.
- Folium Maps generator for crime data.
### License

MIT License

Copyright (c) 2025 Abigor111

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

### Authors
- Abigor111[https://github.com/Abigor111]
arithmetipy 0.3.0
Python bindings for a Rust implementation of arithmetic coding (encoder/decoder).
Requires Python: >=3.8
Keywords: arithmetic coding, compression, entropy coding, rust, bindings

# Arithmetipy

Python bindings for a Rust implementation of **arithmetic coding**.  
This library provides streaming **arithmetic encoder** and **decoder** with 32-bit precision.  
It’s built in Rust for speed, exposed to Python via [PyO3](https://github.com/PyO3/pyo3) and [maturin]

---

## Installation

```bash
pip install arithmetipy
```

## Develop

```bash
pip install maturin
git clone https://github.com/khoda81/arithmetipy
cd arithmetipy
maturin develop
````

## Usage

```python
from arithmetipy import ArithmeticEncoder, ArithmeticDecoder

# Our "alphabet" is integers {0, 1, 2}
alphabet_size = 3
seq = [0, 1, 2, 1, 1, 0, 1, 2]

# --- Encode ---
encoder = ArithmeticEncoder()
for symbol in seq:
    # here: (start, end, denominator)
    encoder.encode(symbol, symbol + 1, alphabet_size)

encoded = encoder.read()
print("Encoded bytes:", encoded)

# --- Decode ---
decoder = ArithmeticDecoder(encoded)
# All symbols have uniform weight
weights = [1] * alphabet_size
out = [decoder.decode_next(weights) for _ in seq]
print("Decoded symbols:", out)

assert out == seq
```

Output:

```
Encoded bytes: b'3\xd4'
Decoded symbols: [0, 1, 2, 1, 1, 0, 1, 2]
```

---

## API

### `ArithmeticEncoder`

* `encode(start: int, end: int, denominator: int) -> None`
  Encode a symbol interval.
* `read() -> bytes`
  Get the encoded byte stream and reset the internal buffer.

### `ArithmeticDecoder`

* `__init__(data: bytes)`
  Create a decoder from an encoded byte stream.
* `decode_next(weights: List[int]) -> int`
  Decode the next symbol given its weights (probability distribution).
saintess 0.9.3
Official wrapper for Discord API.
Requires Python: >=3.8

# Saintess - Official Wrapper for Discord API

Saintess is an official wrapper for Discord API that simplifies hybrid commands, guild/user checks, and mobile status integration.

## Features
- Simplified Hybrid Commands with `@saintess`
- Guild and User Context Checks using `@guild` and `@user`
- Discord Mobile Status Wrapper

## Installation
```bash
pip install saintess