semvec/pypi-packages huggingface dataset:
irbasis-utility 0.9
Utility python libraries for irbasis
Keywords: quantum many-body theory

[![Build Status](https://travis-ci.org/shinaoka/irbasis_utility.svg?branch=master)](https://travis-ci.org/shinaoka/irbasis_utility)

irbasis utility
======
Utility library for irbasis: support for two-point Green's function, three-point Green's function.<br>
This software is released under the MIT License, see LICENSE.txt. 

## Requirements
* irbasis >= 1.0.2
* scipy

## How to build tests & install via pip

```
> mkdir build && cd build
> cmake path_to_source_directory
> make
> make test
> python setup.py bdist_wheel # make a universal binary package
> cd dist
> pip install irbasis_utility-*.whl
```
kvutil 1.0.3
Comand-line key-value store

# kvutil: a command-line key-value store
A command-line program written in Python to wrap a dbm implementation in order to store key-value pairs.  kvutil has no third-party requirements outside of the Python standard library.

## Usage
#### Insert a key+value
```
kv mykey myvalue
```

#### Read a value
```
kv mykey
```

#### List all keys
```
kv -l
```

#### Delete a key+value
```
kv -rm mykey
```

## Installation
kvutil requires Python 3.5+.

### From PyPI
```
pip install kvutil
```

### From source, using [Pyinstaller](https://pyinstaller.readthedocs.io/en/stable/index.html)
First, install a Python 3.5+ environment.

Then, run the following commands:
```
$ #clone repository
$ git clone https://github.com/mhv2109/kvutil.git && cd kvutil
$ #use the latest pip
$ pip install --upgrade pip
$ #install pyinstaller using pip
$ pip install pyinstaller
$ # create a single-file executable using pyinstaller
$ pyinstaller --onefile kvutil/kv.py
```

The resulting executable can be found in `dist/`.

## Development
kvutil requires Python 3.5+.

Development dependencies are found in `requirements.txt`. Install them with `pip install -r requirements.txt`.

Tests are run using the built-in [unittest](https://docs.python.org/3.7/library/unittest.html) framework and [tox](https://tox.readthedocs.io/en/latest/index.html).
pykuna 0.6.0
Python3 async library for interacting with the Kuna camera mobile API

# pykuna

## Python3 async library for interacting with the Kuna camera mobile API

*Requirements:* aiohttp, asyncio, async_timeout

Install pykuna with `python3 -m pip install pykuna`.

## Usage

pykuna's main class is KunaAPI; create an API object, and authenticate it, like this:

```python
from aiohttp import ClientSession
from pykuna import KunaAPI

websession = ClientSession()

kuna = KunaAPI(USERNAME, PASSWORD, websession)

await kuna.authenticate()
```

Where:

- `USERNAME` is the email address you use for the Kuna app; 
- `PASSWORD` is your password for the Kuna app; and,
- `websession` is an instance of aiohttp.ClientSession().

After authenticating, populate (or refresh) a dict of all cameras in the Kuna account (key = camera serial number, value = camera object) by calling the `update()` method on the API object:

```python
await kuna.update()
```

## Methods

The following methods are available on a camera device object in the KunaAPI.cameras dict; all are async and must be `await`ed:

- `update()` - refresh only that camera's properties from the API.
- `get_thumbnail()` - returns a camera snapshot as a jpeg image.
- `set_property(property=state)` - sets a property of the device. Properties currently settable via pykuna are:
  - `bulb_on` (boolean) - set the lightbulb  on (true) or off (false)
  - `led_mask` (boolean) - set the status led on the device on (true) or off (false)
  - `volume` (int) - set the speaker volume of the device (minimum 0, maximum 100)
- `light_on()` - turn on the camera's light bulb
- `light_off()` - turn off the camera's light bulb
- `enable_notifications()` - enable Kuna app notifications for the camera
- `disable_notifications()` - diable Kuna app notifications for the camera
- `get_recordings_by_time(timedelta)` - returns a python-list of recording objects for the past `datetime.timedelta` time period.

## example.py

An example script is provided to demonstrate the usage of pykuna; it prints a list of cameras associated with the Kuna account, and retrieves the currently-existing recordings for the camera, printing the timestamp of each recording and its associated download link.

```bash
python example.py USERNAME PASSWORD
```

## Caveats

pykuna interacts with Kuna's (private) mobile device API, which could change at any time. And, without official documentation or terms of service, there's no way to know what type or rate of usage may result in your account being banned by Kuna. Use carefully!

pykuna does not implement timeouts; use asyncio_timeout in your client code to wrap calls to the API as needed.

pykuna was inspired by the investigative work of @loghound: https://github.com/loghound/kuna-camera-api, but does not yet implement all known endpoints; this project is primarily intended to interface Home Assistant with the Kuna API, and will be further developed with that goal in mind.

pykuna will hit v1.0.0 when it's ready for Home Assistant. Until then, pykuna's API may change at any time!

## Contributing

Please open issues or pull requests.
Workerpy 1.1.0
Libreria para crear Workers que responden a eventos desde kafka/Nats

# Worker

Libreria la implementacion de workes basados en kafka y Nats.


### Ejemplo

```python
from Workerpy import Manager, Worker, Options

@Manager.Define(
    Options(
        'DemoWorker', # Nombre del worker
        'gitlab_push', # Topico/evento que escucha
        ['broker:123'] # Kafka/Nats Hosts
    )
)
class demo(Worker):
    def process(self, data):
        print(data)
```

> Los workes solo escuchan, no tienen posibilidad de responder
jara 1.0.8
A package with basic stuff.
Requires Python: >=3.7,<4.0

=================
Jara core package
=================

    Jara means bear in `Sesotho`_.

.. image:: https://img.shields.io/badge/python-3.7.x-blue.svg
    :alt: Python 3.7.x

.. image:: https://img.shields.io/badge/code_style-flake8-brightgreen.svg
    :alt: Flake8

.. image:: https://img.shields.io/badge/dependency_manager-poetry-blueviolet.svg
    :alt: Poetry

How to install the package?
~~~~~~~~~~~~~~~~~~~~~~~~~~~
The installation depends on what you want to use, for example for that we split installation based on extras:
    1. **all** - Installs all dependencies excepts for tests
    2. **crypto** - Installs only ``cryptography`` for encryption module.
    3. **parsers** - Installs dependencies for parsers: ``lxml`` and ``xrld``.

.. _Sesotho: https://en.wikipedia.org/wiki/Sotho_language


What you will find in this package?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Basically will contain utils methods to avoid write them in all projects.

Some examples:
    * encrypt/decrypt data;
    * encrypt passwords;
    * decorator to benchmark methods;
    * decorator to enforce annotation type;
    * methods to handle environment variables;
    * some utils methods such as: ``snake_2_camel``, ``str_2_bool``.