semvec/pypi-packages huggingface dataset:
pygleton 1.0.1
Decorator for implementing singleton classes
Requires Python: <4.0,>=3.11
Keywords: decorator, singleton

Decorator for implementing singleton pattern

## Usage

To install, add `pygleton` module to your project. Then add
`from pygleton import singleton` to your file.

There are two ways to use the decorator: without repetetive `__init__()` calls
and with them (you do not want this unless you know what are you doing).

### Main scenario: call init only the first time

Do not pass any parameter to the decorator:

```python
@singleton()
class Foo:
    ...
```

Now, when you do `Foo(...)` for the first time, object instance will be created,
and `Foo` init method would be called. Any subsequent `Foo(...)` calls will
return the same instance, and `Foo.__init__` will be completely ignored.

### I know what I am doing: I want to call init every time

Pass truthy value to `recall_init` parameter of the decorator:

```python
@singleton(recall_init=True)
class Foo:
    ...
```

Now, when you do `Foo(...)` for the first time, object instance will be created,
and all subsequent `Foo(...)` calls will return the same instance. However,
**init method will be called every time.**

### Usage example

See test file.

## Development

The project uses poetry (highly recommended) and you should know your way
around. The supplied `Makefiles` allows to run linters, check formatting, and
run tests (100% coverage is required!) simply by typing `make`. Everything
should pass.
blurhash-pyside 1.0.0
Encode or Decode Blurhash strings in a PySide2/6 project.
Requires Python: >=3.9.1
Keywords: pyside2, pyside6, burhash

# blurhash-pyside

![GitHub License](https://img.shields.io/github/license/leocov-dev/blurhash-pyside)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/leocov-dev/blurhash-pyside/ci.yml)
![GitHub Release](https://img.shields.io/github/v/release/leocov-dev/blurhash-pyside)
![PyPI - Version](https://img.shields.io/pypi/v/blurhash-pyside)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/blurhash-pyside)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/blurhash-pyside)


Blurhash encoding and decoding for PySide2/6. 
This is a lightweight wrapper using the C++ encoding and decoding functions 
provided by [Nheko-Reborn/blurhash](https://github.com/Nheko-Reborn/blurhash).

- Encode a QImage or QPixmap into a blurhash string
- Decode a blruhash string into a QImage or QPixmap

For more information about Blurhash visit their [official page](https://blurha.sh/).

## Dependencies

This project has no external dependencies other than that you must provide 
either PySide2 or PySide6 in your own project.

The library is pre-compiled for popular platforms and recent Python versions. 
See the [Releases](https://github.com/leocov-dev/blurhash-pyside/releases) or [PyPi](https://pypi.org/project/blurhash-pyside/) page for available wheels.

## Local Development

Requirements:
- Python 3.9+
- Hatch
- CMake 3.27+

Run the example:
```shell
# choose one:
hatch run pyside6:example

# pyside2 may not be available for all python versions or platforms
hatch run pyside2:example
```

### Setup your local environment

Create a repo relative `.venv/` dir:
```shell
hatch env create
```

Run the tests:
```shell
hatch test
```

Build the wheel for your platform:
```shell
hatch build -t wheel
```

Recompile the C++ project:
```shell
hatch run compile
```

The `cmake` project is not intended to be run on its own but it is possible to do it.
The `pybind11` dependency will be available after creating the default virtual environment
and passing its python executable path to `cmake` via `Python_EXECUTABLE`. Some IDE's may
do this for you when a python environment is activated in their configuration.

Manual CMake build
```shell
cmake -S . -B cmake-build-release -G Ninja
cmake --build cmake-build-release -j 8
cmake --install cmake-build-release --prefix src
```

## Acknowledgements

The core C++ code for the blurhash functions was source from https://github.com/Nheko-Reborn/blurhash
under the Boost Software License. Some minor [modifications](extern/blurhash-cpp/README.md) were made.

This project is made possible by [pybind11](https://github.com/pybind/pybind11) and [scikit-build-core](https://github.com/scikit-build/scikit-build-core). 
Multi-platform wheels are generated using the [cibuildwheel](https://github.com/pypa/cibuildwheel) project.
django-checkdb 1.2
That plugin checks a database connection
Requires Python: >=3.8

# django-checkdb

A simple Django package for check connection to your database

## How to install the package

To install the package, run:

```bash
pip install django-checkdb
```
In settings.py write next stuff:

```bash
INSTALLED_APPS = [
    ...other apps...,
    'check_db',
    ...,
]
```

## Check availability

```bash
python manage.py checkdb --database <name>
```

## Version

Current version: 1.1

## Updates

This package won't have updates, except of bug updates.

## Author

pavelbeard
django-newsingleton 1.1
A simple class Singleton for create models like 'dynamic settings'
Requires Python: >=3.8

# django-newsingleton

A simple class Singleton for create models like 'dynamic settings'

## How to install the package

To install the package, run:

```bash
pip install django-newsingletone
```
In settings.py write next stuff:

```python
INSTALLED_APPS = [
    ...,
    'singleton',
    ...,
]
```

## How to use?

```python
from django.db import models
from singleton.models import Singleton

class DynamicSettings(Singleton):
    setting_name = models.BooleanField(default=False)
    """
    other settings
    ...
    """
```

And then:

```bash
python manage.py makemigrations
python manage.py migrate
```

## Version

Current version: 1.0

## Updates

This package won't have updates, except of bug updates.

## Author

pavelbeard
quasemcryogui-tspspi 0.0.5
Simple GUI frontend for the QUASEM cryogenic infrastructure
Requires Python: >=3.6

# Graphical user interface for QUASEM cryogenic infrastructure

This is a very simple interface for the QUASEM cryogenic infrastructure.
It requires a running ```quakesrctrl``` control system instance attached
to the MQTT broker to fetch information and to perform control operations

Note that during a single peak scan no operations are triggered and no
measurements are updated! This only happens in idle periods or in between
two peak scans!