semvec/pypi-packages huggingface dataset:
purehle 1.0.1
Pure Python hash length extension.
Requires Python: >=3.7, <4
Keywords: hash,cryptography

# PureHLE

Pure Python hash length extension.

## Installation

```
pip install purehle
```

## Usage

Information used in the examples:

- Hash of key + `DE`: `2ecdde3959051d913f61b14579ea136d`
- Length of key: 3
- Data to append: `F`

### CLI

```
> purehle -d 2ecdde3959051d913f61b14579ea136d -o DE -l 3 -a F

Using hash type MD5.
Hash (hex): d542ef0939e3c366f3eca18d4fa0bc77
Hash (bytes): b'\xd5B\xef\t9\xe3\xc3f\xf3\xec\xa1\x8dO\xa0\xbcw'
Data (hex): 4445800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000046
Data (bytes): b'DE\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00(\x00\x00\x00\x00\x00\x00\x00F'
```

### Module

```python
import purehle

hle = purehle.MD5(bytes.fromhex("2ecdde3959051d913f61b14579ea136d"), b"DE")
padding, m = hle.with_length(3)
m.update(b"F")
data = hle.original + padding + b"F"

data  # b"DE\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00(\x00\x00\x00\x00\x00\x00\x00F"
m.hexdigest() # d542ef0939e3c366f3eca18d4fa0bc77
```

## Supported Hash Algorithms

- MD5 (`MD%`)
- SHA-1 (`SHA1`)
- SHA-256 (`SHA256`)
- SHA-512 (`SHA512`)
uwg-schema 0.2.11
Input schema for the Urban Weather Generator (UWG).

[![Build Status](https://travis-ci.com/ladybug-tools/uwg-schema.svg?branch=master)](https://travis-ci.com/ladybug-tools/uwg-schema)
[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/uwg-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/uwg-schema)

[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)

# uwg-schema

:city_sunrise: :scroll: Input schema for the [Urban Weather Generator (UWG)](https://github.com/ladybug-tools/uwg).

## Installation

```console
pip install uwg-schema
```

## QuickStart

```python
import uwg_schema

```

## API Documentation

[Model Schema](https://ladybug-tools.github.io/uwg-schema/model.html)

[Simulation Parameter Schema](https://ladybug-tools.github.io/uwg-schema/simulation-parameter.html)

## Local Development

1. Clone this repo locally

```console
git clone git@github.com:ladybug-tools/uwg-schema

# or

git clone https://github.com/ladybug-tools/uwg-schema
```

2. Install dependencies:

```console
cd uwg-schema
pip install -r dev-requirements.txt
pip install -r requirements.txt
```

3. Run Tests:

```console
python -m pytest tests/
```

4. Generate Documentation:

```python
python ./docs.py
```

5. Generate Sample Files:

```python
python ./scripts/export_samples.py
```
objectionpy 0.0.4
A modular python library for creating objection.lol projects
Requires Python: >=3.6
Keywords: objection.lol,objection-lol,objectionlol,objection,generator,case,scene

# Objection.py

A modular library for creating [objection.lol](https://objection.lol/maker) projects beyond what's possible manually.

## Overview

The .objection format is good for distribution, but doesn't work as well for production or automation.

This library focuses on providing helpful IDE suggestions, simple readability, and a class-based structure making up every piece of an objection. This structure can then compile to objection.lol's complicated JSON format.

This way, complex objections with gameplay systems that use large amounts of repetitive actions become simple to generate.

```py
scene = Scene()
scene.frames.append(Frame(
    char = FrameCharacter(
        character = preset.Characters.Defense.PhoenixWright,
        poseSubstr = 'Point',
        pairOffset = (-20, 0),
    ),
    pairChar = FrameCharacter(
        character = preset.Characters.Defense.MiaFey,
        poseSubstr = 'Point',
        pairOffset = (20, 0),
    ),
    fade = Fade(
        direction = FadeDirection.OUT,
        target = FadeTarget.BACKGROUND,
        duration = 1000,
        color = Color('#000'),
    ),
    text = f'{preset.Sound.Yell}Objection!',
))
scene.compile()
```

## Installation

Installing objection.py with pip:
```
pip install objectionpy
```

## Documentation

[View the documentation page](https://adamantii.github.io/objection.py/)

## TODO

- Complete: galleryAssign option for custom characters
- Complete: improve tests for scene features and for objection JSON loading
modified-xicor 0.3.0
New correlation function on the block!
Requires Python: >=3.5,<4.0

# Xi Correlation by Chatterjee, modified

It detects non-linear correlations including parabolas and waves. The longer the series, the better the results.

Here's the paper I used. https://arxiv.org/pdf/1909.10140.pdf
Here's the github gist: https://gist.github.com/mandrewstuart/e1c584a36ca5394cc934542731b4d8c2

I modified the unordered equation because the boundaries weren't working I expected. They are now 'unordered': 1 + (len(Y)*numerator)/(4*denominator)


Usage:


>> import modified_xicor as mx

>> x = [1, 2, 3, 4, 5]

>> y = [1, 3, 5, 7, 9]

>> mx.xicor(x, y)

{'ordered': float, 'unordered': float, 'len': int}