semvec/pypi-packages huggingface dataset:
sds011lib 0.4.0
SDS011 Library
Requires Python: >=3.8,<4.0

# sds011lib

[![PyPI version](https://badge.fury.io/py/sds011lib.svg)](https://badge.fury.io/py/sds011lib)
![Main](https://github.com/TimOrme/sds011lib/actions/workflows/main.yml/badge.svg)
[![Coverage](https://codecov.io/gh/TimOrme/sds011lib/branch/main/graph/badge.svg)](https://codecov.io/gh/TimOrme/sds011lib)

`sds011lib` is a fully-typed, nearly-complete, python 3.8+ library for interacting with the SDS011 Air Quality Sensor.

The SDS011 is a small, low-cost sensor created by www.inovafitness.com, used to measure particulate matter in the air.  It 
can measure both PM 2.5 and PM10 values simultaneously, and connects to devices over a serial port, or via USB with an
included adaptor.

The full documentation is available at https://timorme.github.io/sds011lib/

## Installation

```commandline
pip install sds011lib
```

## Quickstart

```python
from sds011lib import SDS011QueryReader
from serial import Serial

# Setup a query-mode reader on /dev/ttyUSB0 
sensor = SDS011QueryReader('/dev/ttyUSB0')

# Read some data!
aqi = sensor.query()
print(aqi.pm25)
print(aqi.pm10)

# Put the device to sleep
sensor.sleep()

# Wake it back up
sensor.wake()
```
pip-RCE 0.0.4
To Show the vulnerability of pip install
Keywords: python,vulnerability,remoteaccess,sockets

# pip-RCE
POC of RCE through unsafe pip package

## Usage
You can modify the remote `IP` and `PORT` by yourself.

use `python3 setup.py sdist` to build the package.

use `twine upload dist/*` to upload the package to pypi.
params-aws 0.1.2
Store and Load parameters with AWS Parameter store
Requires Python: >=3.8,<4.0

# params-aws
Load and Save typed Parameters in AWS Datastore

## Install
```
pip install params-aws
```

## Using the library
Ensure that `aws_access_key_id` and `aws_secret_access_key` is properly set in ~/.aws/credentials. 
Or any place where boto3 would recognize - https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html

### Import
```
from params_aws import params_aws
from params_aws import model
```

### List parameters
```
>>> params_aws.get_parameter_names()
['test']
```

### Get parameter with type
This will be cached for 12 hour
```
>>> params_aws.get_parameter('test', model.DBConfig, cached=True)
DBConfig(host='host', user='username', password='password', port=5432, ssl=False)
```

### Put parameter
We should use the cli (see below)
```
>>> params_aws.put_parameter('test', model.DBConfig, 'value')
```

## CLI
```
>>> params_aws_cli names
test
test2

>>> params_aws_cli types
DBConfig
GGAPIConfig

>>> params_aws_cli get-value test
{
  "host": "host",
  "user": "username",
  "password": "password",
  "port": 5432,
  "ssl": false
}

>>> params_aws_cli get test DBConfig
host='host' user='username' password='password' port=5432 ssl=False

>>> params_aws_clit put test DBConfig
(launches an editor which saves and validate on exit)
```
drill-bits 0.0.5
Drill-bits: Handy tools for ML in Python
Requires Python: >=3.7

****************************************
Drill-Bits: Handy tools for ML in Python
****************************************

.. image:: https://img.shields.io/pypi/v/drill-bits.svg
   :target: https://pypi.python.org/pypi/drill-bits/
.. image:: https://img.shields.io/travis/com/jiujiuche/drill-bits
   :target: https://app.travis-ci.com/github/JiuJiuChe/drill-bits
.. image:: https://img.shields.io/github/languages/top/jiujiuche/drill-bits
   :target: https://github.com/JiuJiuChe/drill-bits
.. image:: https://img.shields.io/github/license/jiujiuche/drill-bits
   :target: https://github.com/JiuJiuChe/drill-bits
.. image:: https://img.shields.io/github/last-commit/jiujiuche/drill-bits
   :target: https://github.com/JiuJiuChe/drill-bits

Install
#######
.. code-block:: bash

    pip install drill-bits
    
    
Examples
########
**All type read & write:**

.. code-block:: python

    from drill-bits.io import io_utils
    data = io_utils.omni_load(file_name)
    io_utils.omni_save(file_name, data)

Currently supported extensions including: `.npy`, `.txt`, `.pkl`, `.jpg`, `.png`.

**Extract digit information from str:**

.. code-block:: python
	
	from drill_bits.io import str_utils

    test_str = 'img1_h102_w103.img'
    resolution = str_utils.extract_info(test_str, ['h', 'w'], int)
    # resolution will be [102, 103]

**A decorator saves you from reprocessing:**

.. code-block:: python
	
    import time
	from drill_bits.operation import base_operation
    
    def foo(n):
    	time.sleep(1)
        if n == 1:
        	return 1
        else:
    		return n * foo(n-1)

    opt = BaseOperation(path).get_handle(force_run=False, verbose=True)
    foo_warp = opt(foo)
    print(foo_warp(5))      # it will take 5s to run
    print(foo_warp(5))      # it will finish immediately 
    opt = BaseOperation(path).get_handle(force_run=True, verbose=True)
    foo_warp = opt(foo)
    print(foo_warp(5))      # it will take 5s to run again
hatch-util 0.0.3
i-util contain functions so useful for processing data projects
Requires Python: >=3.7
Keywords: iutil

# hatch_util

[![PyPI - Version](https://img.shields.io/pypi/v/hatch-util.svg)](https://pypi.org/project/hatch-util)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatch-util.svg)](https://pypi.org/project/hatch-util)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install hatch-util
```

## License

`hatch-util` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.