semvec/pypi-packages huggingface dataset:
numpy-flight 0.0.16
A little client/server for applications driven by numpy
Requires Python: >=3.11

# [Numpy with Apache Arrow Flight](https://tschm.github.io/numpy-flight)

[![PyPI version](https://badge.fury.io/py/numpy-flight.svg)](https://badge.fury.io/py/numpy-flight)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt)
[![CI](https://github.com/tschm/numpy-flight/actions/workflows/ci.yml/badge.svg)](https://github.com/tschm/numpy-flight/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/tschm/numpy-flight/badge.svg?branch=main)](https://coveralls.io/github/tschm/numpy-flight?branch=main)
[![CodeFactor](https://www.codefactor.io/repository/github/tschm/numpy-flight/badge)](https://www.codefactor.io/repository/github/tschm/numpy-flight)
[![Created with qCradle](https://img.shields.io/badge/Created%20with-qCradle-blue?style=flat-square)](https://github.com/tschm/package)
[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/renovatebot/renovate)

## A Problem

We provide

- An abstract base class for an Apache flight server
- A client class to communicate with such servers

The client provides a simple interface for sending NumPy arrays,
performing computations, and retrieving results, all while handling
the serialization and deserialization automatically in the background
using Apache Arrow.

To create a server we expect the user to overload a function performing
the calcutation based on a dictionary of numpy arrays.

## Features

- Seamless conversion between NumPy arrays and Arrow Tables
- Simple interface for data transfer operations
- Type-safe operations with proper error handling

## Installation

You can install this client via

```bash
pip install numpy-flight
```

## Usage

### Basic Setup

We introduce the Baseclass 'Server':

```python
>>> from flight import Server

>>> class TestServer(Server):
...     def f(self, matrices):
...          self.logger.info(f"{matrices.keys()}")
...          # Simple implementation for testing - just return the input
...          return {key : 2*value for key, value in matrices.items()}
```

All complexity is hidden in the class 'Server' which is itself a child
of the pyarrrow's FlightServerBase class. It is enough to implement
the method 'f' which is expecting a dictionary of numpy arrays. It will
also return a dictionary of numpy arrays.

The server can be started locally with

```python
>>> server = TestServer.start(host="127.0.0.1", port=5555)
```

While the server is running we can use a Python client for computations

```python
>>> import numpy as np
>>> from flight import Client

>>> with Client(location="grpc://127.0.0.1:5555") as client:
...     output = client.compute(command="compute", data={"input": np.array([1,2,3])})

>>> print(output["input"])
[2 4 6]

```

Clients for other languages are thinkable.
We shut the server down with

```python
server.shutdown()
```
mistflow 0.0.5
Lib for automation workflow app ie easy-to-use automation for non-techies
Requires Python: >=3.9

# mistflow

## run task
```
python3 -m mistflow task run mistflow.tasks.test.add100 '{"number": 6}'
```

## run workflow
```
python3 -m mistflow workflow run mistflow.workflows.test.number_magic2 '{"start_number": 3}'
```
yjviewer 0.3.0
A web application that lets you view YGOJSON data.
Requires Python: <4,>=3.8
Keywords: yugioh, ygo, ygojson

# YJViewer

| ![YJViewer's front page.](https://raw.githubusercontent.com/iconmaster5326/YGOJSON/main/yjv1.jpg) | ![YJViewer searching for cards.](https://raw.githubusercontent.com/iconmaster5326/YGOJSON/main/yjv2.jpg) | ![YJViewer at a card page.](https://raw.githubusercontent.com/iconmaster5326/YGOJSON/main/yjv3.jpg) |
| - | - | - |

A web application that lets you view [YGOJSON](https://github.com/iconmaster5326/YGOJSON) data.

# Running Locally

You'll need a modern version of [Python](https://www.python.org/), at least 3.8, to run this code. To install YJViewer from [PyPI](https://pypi.org):

```bash
python3 -m pip install yjviewer
```

Or to install it if you have the repository downloaded:

```bash
python3 -m pip install -e .
```

From there, you can run this application using `flask`:

```bash
flask --app yjviewer --debug run
```

It should then load the database and give you a URL to connect to (by default, http://localhost:5000/).

If you don't have the database downloaded, it will download it for you, but it will NOT automatically update an outdated database. You will have to either delete `data` or redownload it yourself, if you want an updated dataset!

# Running in Production

Short answer: Don't.

Long answer: This is a web application meant to be accessed by one person: you. I have not created this with scalability in mind. If you try to serve this to a network, expect problems if you get a lot of people accessing it. Furthermore, we do not cache the images we get from cross-site sources, such as Yugipedia or YGOPRODECK, and those sites have strict policies about hotlinking images from them. If you expose a YJViewer server to the outer world, expect those two sites to get mad at you if you're popular enough. I don't have the money to set up a YJViewer server myself, and even if I did solve the image-hotlinking problem, I don't know if I would have the time to maintain such a website. So don't use this in production, and don't ask me to use this in production. Saying that, if you do want to help me make YJViewer production-ready, see Contributing, below.

# Contributing

PRs are always welcome! To set up YJViewer for development, follow these steps after checking out the repository:

```bash
python3 -m pip install -e .[dev,test]
pre-commit install
```

# Changelog

## 0.3.0

* Added support for Genesys.

## 0.2.4

* Added support for the new red and blue foil secret rares.

## 0.2.3

* Support for YGOJSON 0.5.0.

## 0.2.2

* Fixed bug with the random sealed product button.

## 0.2.1

* Removed deprecated use of `boxImage` property.

## 0.2.0

* Added support for viewing sealed products.
* Added support for viewing set pack distributions.

## 0.1.1

* Fix image loading.
* Add filtering to card printing display.

## 0.1.0

Initial version.
pyblockworld 0.3.10
Minecraft like block world in Python
Requires Python: <4.0,>=3.13

# PyBlockWorld

Eine an Minecraft angelehnte Welt aus Blöcken.

## Installation

Die Installation erfolgt über ``pip install pyblockworld``.

## API

```python
    from pyblockworld import World

    #
    # BEISPIEL 1
    #
    
    # Eine Funktion, die beim Drücken der B-Taste aufgerufen werden soll
    def b_key_pressed(world:World):
        print("B pressed. Player at", world.player_position())
        
    # Erstellen einer neuen Welt
    world = World()
    # Die Funktion für die build-Taste (b) wird zugewiesen
    world.build_key_pressed = b_key_pressed
    # Die Welt wird gestartet
    world.run()

    #
    # BEISPIEL 2
    #

    # Nun werden beim Drücken der Taste ein paar Blöcke platziert.
    def b_key_pressed(world:World):
        # Neue Blöcke können mit setBlock gesetzt werden.
        # Verfügbare Materialien stehen in World.MATERIALS und umfassen
        # air, default:brick, default:stone, default:sand, default:grass
        print("Block types", World.MATERIALS)
        x,y,z = world.player_position()
        # Einen Block platzieren
        world.setBlock(x,y,z, "default:brick")

        # Mehrere Blöcke auf einmal abseits des Spielers platzieren
        x,y,z = x,y,z+3
        world.setBlocks(x,y,z, x+3,y+3,z+3, "default:grass")
        
    world = World()
    world.build_key_pressed = b_key_pressed
    world.run()
```

## Quellen

Der Quellcode basiert auf dem Code von [SensorCraft](https://github.com/AFRL-RY/SensorCraft),
der wiederum auf dem Code von [Craft](https://github.com/fogleman/Craft/) basiert.


## Changelog

* 0.3.10
    * Bugfix: Fehlende Bildtextur in Paket aufgenommen.

* 0.3.9
    * Support für Python 3.13

* 0.3.8
    * Methoden der Klasse World dokumentiert.

* 0.3.5 
    * Changelog eingeührt
    * Support für Python 3.8

* 0.3.7
    * PeristentWorld als speicherbare Welt hinzugefügt.
    * Doku aktualisiert: Abschnitt Start entfernt.
    * World.player_position hat das Attribut as_int, um ein Int-Tuple zu erzeugen
tjost 0.1.1
Easily manage virtual machine setups for test environments.
Requires Python: >=3.10

Tjost
=====

Easily manage virtual machine setups for test environments.

Getting started
---------------

1. Install tjost with `pip install tjost`.
2. Run `tjost` and use the help messages to navigate the tool.

Usage
-----

### Shell Completion

To enable shell completion run one of the following commands.

```shell
# Bash
eval "$(_TJOST_COMPLETE=bash_source tjost)"

# Zsh
eval "$(_TJOST_COMPLETE=zsh_source tjost)"

# Fish
_TJOST_COMPLETE=fish_source tjost | source
```

### Journald logging

To enable journald logging, install the optional dependencies for systemd.

```shell
# Use the package that is provided by your os manufacturer
sudo apt install libsystemd-dev

# Install the systemd dependencies for tjost
pip install tjost[systemd]
```

Configure journald logging in the configuration.

```yaml
# .tjost.yaml

logging:
  journal:
    enabled: true
```

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

1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/).
2. Run `uv sync` to install the python dependencies.
3. Run `source .venv/bin/activate` to activate the python virtual environment.
nillanet 2.4
linear neural net
Requires Python: >=3.6
Keywords: linear, neural net

# nilla net

dependencies
- CuPy must be pre-installed on your system.

installation

`
pip3 install nillanet
`

read documentation at
- [github.io](https://j-s-135.github.io/nillanet)

disclaimer
- Nilla net has been archived. The documentation is no longer available. If the project gets revived in the future, it will be reflected here. For now, while the project is not maintained, we do not recommend using it. We are not responsible for problems resulting from the use of nilla net. By using nilla net, you implicitly agree to these terms.