semvec/pypi-packages huggingface dataset:
itkwasm-mesh-filters 1.7.0
Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc.
Requires Python: >=3.8
Keywords: emscripten, itkwasm, wasi, webassembly

# itkwasm-mesh-filters

[![PyPI version](https://badge.fury.io/py/itkwasm-mesh-filters.svg)](https://badge.fury.io/py/itkwasm-mesh-filters)

Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc.

## Installation

```sh
pip install itkwasm-mesh-filters
```
itkwasm-mesh-filters-emscripten 1.7.0
Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc.
Requires Python: >=3.8
Keywords: emscripten, itkwasm, webassembly

# itkwasm-mesh-filters-emscripten

[![PyPI version](https://badge.fury.io/py/itkwasm-mesh-filters-emscripten.svg)](https://badge.fury.io/py/itkwasm-mesh-filters-emscripten)

Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc. Emscripten implementation.

This package provides the Emscripten WebAssembly implementation. It is usually not called directly. Please use the [`itkwasm-mesh-filters`](https://pypi.org/project/itkwasm-mesh-filters/) instead.


## Installation

```sh
import micropip
await micropip.install('itkwasm-mesh-filters-emscripten')
```

## Development

```sh
pip install hatch
hatch run download-pyodide
hatch run test
```
itkwasm-mesh-filters-wasi 1.7.0
Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc.
Requires Python: >=3.8
Keywords: itkwasm, wasi, webassembly

# itkwasm-mesh-filters-wasi

[![PyPI version](https://badge.fury.io/py/itkwasm-mesh-filters-wasi.svg)](https://badge.fury.io/py/itkwasm-mesh-filters-wasi)

Mesh filters to repair, remesh, subdivide, decimate, smooth, triangulate, etc. WASI implementation.

This package provides the WASI WebAssembly implementation. It is usually not called directly. Please use [`itkwasm-mesh-filters`](https://pypi.org/project/itkwasm-mesh-filters/) instead.


## Installation

```sh
pip install itkwasm-mesh-filters-wasi
```

## Development

```sh
pip install pytest
pip install -e .
pytest

# or
pip install hatch
hatch run test
```
GPUtilSimulator 0.1.4
A library that simulates GPUtil behavior for users without a dedicated GPU. It enables the simulation of multiple virtual GPUs, using CPU usage as a reference to generate dynamic load values. The simulated GPU usage fluctuates based on real-time CPU load, providing a realistic approximation of GPU workload behavior.
Requires Python: >=3.6

ÿþ#\x00 \x00G\x00P\x00U\x00t\x00i\x00l\x00S\x00i\x00m\x00u\x00l\x00a\x00t\x00o\x00r\x00
dbcache 0.5.0
A postgresql backed cache system

DBCACHE
=======

This small library provides small and simple stores based on
postgresql for the following purposes:

* a cache store for bytes with an expiration timestamp
* a key-value store with json serializable values
* a versioned key-value store with values as bytes

To initialize the database schema, type:

```bash
$ dbcache init-db postgresql://foo:bar@postgresql/mydb
```

Example usage (cache):

```python
  from time import sleep
  from datetime import timedelta
  from dbcache.api import dbcache

  cache = dbcache('postgresql://foo:bar@postgresql/mydb')

  assert cache.get('a') is None
  cache.set('a', b'aaa')
  assert cache.get('a') == b'aaa'

  cache.delete('a')
  assert cache.get('a') is None

  cache.set('b', b'bbb', lifetime=timedelta(seconds=1))
  assert cache.get('b') == b'bbb'
  sleep(1)
  assert cache.get('b') is None
```


Example usage (key/value store):

```python
  from dbcache.api import kvstore
  store = kvstore('postgresql://foo:bar@postgresql/mydb')

  assert store.get('a') is None
  store.set('a', 'aaa')
  assert store.get('a') == 'aaa'
  store.set('a', 'newvalue')
  assert store.get('a') == 'newvalue'

  store.delete('a')
  assert store.get('a') is None

  store.set('int', 42)
  assert store.get('int') == 42

  store.set('float', 42.0)
  store.set('dict', {'a': [1, 2]})

  assert store.all() == {
      'dict': {'a': [1, 2]},
      'float': 42.0,
      'int': 42
  }

  assert store.keys() == ['dict', 'float', 'int']
```

Example usage (versioned key/value store):

```python
  from dbcache.api import vkvstore
  vstore = vkvstore('postgresql://foo:bar@postgresql/mydb')

  assert vstore.get('html') is None
  v1 = datetime(2023, 1, 1, 12, 30, tzinfo=timezone.utc)
  vstore.set(
      'html',
      b'<html></html>',
      insertion_date=v1
  )
  assert vstore.get('html') == b'<html></html>'

  v2 = datetime(2023, 1, 2, 12, 30, tzinfo=timezone.utc)
  vstore.set(
      'html',
      b'<html>Hello, World</html>',
      insertion_date=v2
  )
  assert vstore.get('html') == b'<html>Hello, World</html>'
  assert vstore.get('html', insertion_date=v1) == b'<html></html>'

  assert vstore.versions('html') == [
      v1,
      v2
  ]
  assert vstore.versions('nope') == []

  vstore.delete('html')
  assert vstore.keys() == []
  assert vstore.get('html') is None
```
sqlclasses 1.4
Construct SQL commands and queries using Python classes.
Requires Python: >=3.7

Construct SQL commands and queries using Python classes.

```python

from sqlclasses import sql

login = "me"
password = "secret"

query = sql.select( ("firstname", "lastname", "login",),
                    ("users",),
                    sql.where("login = ", sql.string_literal(login),
                              " AND ",
                              "password = ", sql.string_literal(password)) )

print(repr(query))

# >> select: <SELECT firstname, lastname, login FROM users WHERE login = 'me' AND password = 'secret'>

```

This used to be at the core of my Object Ralational Membrane years ago. I have ported it to Python 3 and re-publish it here. More documentation forthcomming.