semvec/pypi-packages huggingface dataset:
dhtsensor 0.2.0
Simplifies reading temperature and humidity data from a DHT11/22 sensor using pigpio
Keywords: pigpio,ir,raspberry,pi,dht11,dht22

# dhtsensor
Simplifies reading temperature and humidity data from a DHT11/22 sensor using pigpio

## Requirements
- [pigpio daemon](http://abyz.me.uk/rpi/pigpio/pigpiod.html)
- [pigpio Python package](http://abyz.me.uk/rpi/pigpio/python.html)  
```
pip install pigpio
```

## Install
```
pip install dhtsensor
```

## Quickstart
```python
# Create a new Sensor object for a DHT22 temperature and humidity sensor
# GPIO to read from: 21
# GPIO that powers the sensor: 20
from dhtsensor.sensor import Sensor
s = Sensor(pi, 21, powered_by=20)

# Turn on power to the sensor
s.activate()

# Get temperature and humidity measurement from the sensor
# Do not call read_once repeatedly! Use .read instead
reading = s.read_once()

# Temperature and humidity as separate variables
temp, rh = s.read_once()

# Read from the sensor 10 times, with a 5-second interval between reads
# Outputs a list of 10 Reading objects
reading = s.read(10, interval=5)

```

## Acknowledgment
[pigpio Python examples](http://abyz.me.uk/rpi/pigpio/examples.html#Python%20code)

## Contact
kentkawashima@gmail.com


License: MIT License
rokit 0.1.2
Redirection Optimization Kit
Requires Python: >=2.6, >=3.6, <4
Keywords: url,redirection,redirect,verify,test,tests


# Rokit: Redirection Optimization Kit

[![PyPI version](https://badge.fury.io/py/rokit.svg)](https://badge.fury.io/py/rokit)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Build Status](https://travis-ci.com/wizardbyron/rokit.svg?branch=master)](https://travis-ci.com/wizardbyron/rokit)
[![codecov](https://codecov.io/gh/wizardbyron/rokit/branch/master/graph/badge.svg)](https://codecov.io/gh/wizardbyron/rokit)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/85709197d31d4fa3b923e5c885523147)](https://www.codacy.com/app/wizardbyron/rokit?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=wizardbyron/rokit&amp;utm_campaign=Badge_Grade)
![Python versions](https://img.shields.io/pypi/pyversions/rokit.svg)

**Rokit** (Redirection Optimization Kit) is a CLI tool to help wed admin/developer to test or optimize URL redirection. It's easy to integrate into your CI as smoke test and regression test for redirection testing.

![Usage](https://wizardbyron.github.io/images/rokit/usage.svg)

## Installation

Install via pip:

```shell
pip install rokit
```

## Usage

Get a redirection chain:

```shell
$ rokit http://www.github.com
Redirect 2 time(s): http://www.github.com -> https://www.github.com/ -> https://github.com/
```

Verify if a url is in redirection chain:

```shell
$ rokit http://www.github.com https://www.github.com
Redirect 2 time(s): http://www.github.com -> https://www.github.com/ -> [https://github.com/]
[PASS] Request to http://www.github.com will  redirect to https://github.com/
```

## License

[License](LICENSE)
bitcoinhisyprice 0.0.1
A package to retrive bitcoin history price data from coin market cap

# bitcoinhisyprice




use case :


from bitcoinhisyprice.core import CoinMarketCap
    cap=CoinMarketCap()
    pricetable=cap.coin_price(start=20180101,end=20181231)
    fp = open("path_to_save_data", 'w')
    json.dump(pricetable, fp)
    fp.close()