semvec/pypi-packages huggingface dataset:
metoryx 0.1.0
A neural network library for JAX that combines functional init/apply style with a flexible model definition.
Requires Python: >=3.12

<div align="center">
    <h1>Metoryx</h1>
</div>

Metoryx is a neural network library for JAX that combines the functional init/apply style with a flexible model definition. It cleanly separates logic (pure functions) from state (parameters) while keeping the workflow intuitive and easy to extend. If you value reusability, testability, and compatibility with the JAX ecosystem, Metoryx is for you.

> [!CAUTION]
> This project is a work in progress, and the API may change.

## Features

- **Flexible model definitions**: Define models in a Pythonic, PyTorch-like style.
- **Seamless JAX integration**: Transform models into pure init/apply functions that work with jax.jit, jax.vmap, and jax.pmap.
- **Easy customization**: Implement LoRA, transfer learning, and other techniques with minimal boilerplate; parameters are regular Python objects you can inspect and modify.

## Installation

```bash
pip install metoryx
```

## Quick Example

Define a model by subclassing `mx.Module`.

```python
import jax
import jax.numpy as jnp

import metoryx as mx


class MyModel(mx.Module):
    def __init__(self):
        super().__init__()
        self.dense1 = mx.Dense(16, 128)
        self.dense2 = mx.Dense(128, 10)

    def __call__(self, x):
        x = self.dense1(x)
        x = mx.relu(x)
        return self.dense2(x)


model = MyModel()

# Model instance is a Python object that can be manipulated freely.
model.dense2 = mx.Dense(128, 5)  # Replace the last layer
model.dense1.kernel.value = jnp.zeros((16, 128), jnp.float32)  # Set initial weights directly

# Transform the module into JAX-native pure functions.
init, apply = mx.transform(model)

# Create PRNG keys
rng = jax.random.PRNGKey(0)
init_rng, apply_rng = jax.random.split(rng)

# Initialize parameters
variables = init(init_rng)

# Forward pass (with JIT compilation)
x = jnp.zeros((16,))
y, new_variables = jax.jit(apply)(variables, apply_rng, x)
```

More examples can be found in [metoryx/examples](https://github.com/metoryx/examples).

## Future Plans

- More layers and utilities (e.g., RNNs, attention, parameterized activation functions)
- Advanced features (e.g., mixed precision)
- Better documentation and tutorials
- Expanded examples
- Expanded test coverage
randonautentropy 1.0.4
Python API for interacting with The Randonautica Quantum Random Number Generator
Requires Python: >=3.6

# RandonautEntroPy

[![PyPI version](https://badge.fury.io/py/randonautentropy.svg)](https://pypi.org/project/randonautentropy/) [![PyPI - License](https://img.shields.io/pypi/l/randonautentropy)](https://pypi.org/project/randonautentropy/)

This project provides tools for interacting with the Randonautica QRNG and [Temporal](https://github.com/TheRandonauts/temporal) entropy generators. It provides a Python API, and a `rndo` command-line tool.

### Fair Use Policy

Please request only the entropy amount you really need for your project. Please note that in case of overuse the API is subject to immediate modifications and amendments to free availability.

Temporal on the other hand runs on your system and is always available.

## Installation

```
$ pip install randonautentropy
```

### Installing Temporal

The first time the `temporal.get` Python method or `rndo -t` command line option are called, a script attempts to automatically install the [TemporalLib](https://github.com/TheRandonauts/temporal) shell tool dependency in `/usr/local/bin`

In case that fails you can install it yourself:

```
$ sudo apt install git build-essential
$ git clone --depth 1 git@github.com:TheRandonauts/temporal.git
$ cd temporal
$ ./make.sh
```

---

## Python API

The randonautentropy Python module contains low-level `get` functions.

```Python
>>> from randonautentropy import rndo
>>> from randonautentropy import temporal

>>> rndo.get(length=10, type='hex16')

e5b779d67eda68636cb9

>>> temporal.get(length=10, channel=0)

d0c7ca53cb57ede1be14
```

### Extended Functionality

The `rndo.get` function can also retrieve a single 32bit random number in different formats:
```Python
>>> rndo.get(type='int32')

-968449906

>>> rndo.get(type='uniform')

0.9251141917698646

>>> rndo.get(type='normal')

0.8924809489412333

>>> rndo.get(type='base64')

JA==
```
The `temporal.get` method can switch from the default high quality entropy mode to a faster but slightly lower entropy mode by switching its `channel` to 1.

```Python
>>> temporal.get(channel=1)

b83a7fd79bee5b3b1ad7

```

---

## Command Line Interface

The package also comes with a `rndo` CLI:

```
usage: rndo [-h] [--rndo] [--temporal] [bytes]

A tool for printing random data from the Randonautica Quantum Random Number Generators

positional arguments:
  bytes           amount of hexadecimal bytes

options:
  -h, --help      show this help message and exit
  --rndo, -r      Hexadecimal QRNG entropy
  --temporal, -t  Hexadecimal Temporal entropy
  ```

  ### Example:

  ```
  $ rndo -r 100
  d204ab96505929325292d84a1217ded8de5781a449be0371cdcc97e6f6b1fe69a6b530cdf7112250172e573fe7b42b9e89fe42eef198cce0ec7a427b74f59b7b7a3d8ecabfc0f0051fe06104b1dd7f2a7d1626d7f66aac5afe002bdb255ec136d52405c2

  $ rndo -t 100
  93378573b635dc2b01ffd426068e6ccecbc2046fbc9598c1c41a4cbe0dcc8f62071202ea72d05b83581e8cd968cbd099ee0ccf37e9fbcd7d476bd4da6b1965434fc1a65302c732a06b6e5cebff37101a21926a34f1b236a4660a599c6ec93ae7296176fc
  ```
PyBenChatBot 1.1.0
PyBEN ChatBot enables anyone to run a custom chatbot on its own python module
Requires Python: >=3.9
Keywords: python, Chatbot, utils, utilities, automation, automation-tools

# PyBenChatBot
![GitHub License](https://img.shields.io/github/license/DarkFlameBEN/pybenchatbot)
[![PyPI - Version](https://img.shields.io/pypi/v/pybenchatbot)](https://pypi.org/project/pybenchatbot/)
![python suggested version](https://img.shields.io/badge/python-3.13.7-red.svg)
![python minimum version](https://img.shields.io/badge/python(min)-3.9+-red.svg)
![platforms](https://img.shields.io/badge/Platforms-Linux%20|%20Windows%20|%20Mac%20-purple.svg)

## Introduction
PyBEN ChatBot enables anyone to run a custom chatbot on its own python module

## Table of contents
1. [Getting started](#getting-started)
2. [Usage](#usage)

## Getting started

### Installation
Win:
> python -m pip install pybenchatbot -U

macOS:
> python3 -m pip install pybenchatbot -U

## Usage
The package is intended to be run as a module from cli.

Running the command will create a local webserver on the requested port. 
The webserver can be accessed at http://127.0.0.1:8000/

Chatbot on your local repository (Run from workspace or specify the path):
> python -m pybenchatbot
> python -m pybenchatbot --target ./myproject --port 8000
 
Chatbot on a specific module:
> python -m pybenchatbot -t pybenutils -i 0.0.0.0 -p 8000

Activation time might take a few seconds while the module is being indexed.