semvec/pypi-packages huggingface dataset:
opensea 0.2.0
wrapper library for opensea api
License: MIT

# Opensea API

An API wrapper library for opensea api.

## Installation

```bash
pip3 install opensea
```

## Usage

Retrieving assets:

```python
from opensea import get_assets

# This will return a list of assets which you can iterate and get the needed data
asset_list = get_assets(limit=10, verified_only=False)

asset = asset_list[0] # Get the first asset obejct from the list

print(asset.name)
print(asset.description)
print(asset.asset_url)
print(asset.get_floor_price()) # Floor price of the collection
```

Retrieving bundles:

```python
from opensea import get_bundles

# This will return a list of assets which you can iterate and get the needed data
bundles_list = get_bundles(limit=10)

bundle = bundles_list[0] # Get the first asset obejct from the list

print(bundle.slug)
print(bundle.assets[0].name)
```

Retrieving stats from specific collection:

```python
from opensea import get_collection_stats

# This will return a CollectionStats Object
stats = get_collection_stats(collection="doodles-official")

print(stats.count)
print(stats.num_owners)
print(stats.floor_price)
```
COVID19analysis 1.2.7
COVID19Analysis based on CSSEGISandData on GitHub
License: MIT
Requires Python: >=3.7

# COVID-19 Analysis Library
COVID-19 analysis on data from **CSSEGISandData** covering all the 150+ countries in the data. <br>
## The library contains two functions:
1. **trends()** <br>
Trends by country, top 10 trends comparison, top 10 and worldwide bar graph. Standalone interactive HTML.
	
2. **daily_report(\*, filename='')**<br>
Daily report bar graph for all countries: Confirmed, Recovered, Deaths, & Active. Incident Rate & Case Fatality Ratio in a table. Standalone interactive HTML

*Important Note:* This library requires internet connection to connect to CSSEGISandData repository on GitHub to download input files. The daily_report() has an option to take the local file, but for latest or recent report it is suggested to connect to CSSEGISandData repository on GitHub.

### 1. trends()

The output from this source code contains following tabs with graphs:  
1. Trends by country
	- Cases:
		- Cumulative
		- Daily
		- Seven day moving average
		- Recovered
		- Death
		- Active
	- Rate & Ratio:
		- Incident Rate
		- Case Fatality Ratio
2. Trends comparison
	- Top 10 countries trends with options for log plot & highlight countries by clicking on countries label
3. Top 10 bar graph and table of data corresponding to graph
4. Worldwide bar graph and table of data corresponding to graph

The source code uses bokeh, panel, holoviews & hvplot modules along with pandas.

The source code reads the following files from CSSEGISandData repository on Github:
	'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
	'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv'
	'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv'

This when executed generates standalone interactive HTML file

### 2. daily_report(*, filename='')

The output from this source code contains: 

1. Daily graphs of Confirmed, Recovered, Deaths, & Active cases.
2. Daily Incident Rate & Case Fatality Ratio in a table.

The source code reads the recent file with the name 'mm-dd-yyyy.csv' from CSSEGISandData repository on Github or from the local file 'mm-dd-yyyy.csv' given by user.<br>
'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/'

This when executed generates standalone interactive HTML file
pmodhygro 1.0.3
pmodhygro is python library to read PmodHYGRO that is relative humidity sensor with integrated temperature sensor on a Raspberry Pi
License: MIT

# pmodhygro
pmodhygro is python library to read PmodHYGRO that is relative humidity sensor with integrated temperature sensor on a Raspberry Pi

-> Reference page of PmodHygro sensor : https://digilent.com/reference/pmod/pmodhygro/start?redirect=1

## Installing
### Install with pip
Use pip to install from PyPI.

Python 2:
````sh
sudo pip install pmodhygro
````
Python 3:
````sh
sudo pip3 install pmodhygro
````

### Compile and install from the repository
Download library for ZIP file from GitHub, unzipping the archive, and execute:

Python 2:
````sh
cd pmodhygro
sudo python setup.py install
````

Python 3:
````sh
cd pmodhygro
sudo python3 setup.py install
````
You may also git clone the repository:

git clone https://github.com/devpola/pmodhygro.git


## Usage
````python
from pmodhygro import PmodHygro

# Create i2c bus
sensor = PmodHygro()
sensor.begin_i2c()

# Read data from Pmod HYGRO 
temp = sensor.get_temperature()
temp_f = sensor.get_temperature_f()
hum = sensor.get_humidity()
````
You have to run program with 'sudo' command for avoiding permission error


## Check list before using library
### Check for I2C
Raspbian:
1. Using “Raspi-config” on Command Line
  ````sh
  sudo raspi-config
  ````
2. Enable I2C Interface

Ubuntu(20.04):
1. Open '/boot/firmware/syscfg.txt' file
2. Check if there are contents below. If not, add it.
  ````sh
  dtparam=i2c_arm=on, dtparam=spi=on
  ````


### Check the connection 
* Check port sensor is connected using command below.
  ````sh
  ls /dev/*i2c*
  ````
  1. You can get **/dev/i2c-0** or **/dev/i2c-1**
  
      * In case of Raspberry Pi B model, there are two i2c ports, 0 and 1.
  2. Remember whether the port number is 0 or 1


* Check device address is 0x40
  1. Install **i2c-tools** package for checking connected devices to i2c interface
      ````sh
      sudo apt-get install i2c-tools
      ````
  
  
  2. Check device address at the port is 0x40 using command below.
    ````sh
    sudo i2cdetect -y 0 (or 1)
    ````
scrapy2use 0.3.0
Admin ui for spider service
License: MIT

# SpiderKeeper

[![Latest Version](http://img.shields.io/pypi/v/SpiderKeeper.svg)](https://pypi.python.org/pypi/SpiderKeeper)
[![Python Versions](http://img.shields.io/pypi/pyversions/SpiderKeeper.svg)](https://pypi.python.org/pypi/SpiderKeeper)
[![The MIT License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/DormyMo/SpiderKeeper/blob/master/LICENSE)

A scalable admin ui for spider service

## Features

- Manage your spiders from a dashboard. Schedule them to run automatically
- With a single click deploy the scrapy project
- Show spider running stats
- Provide api


Current Support spider service
- [Scrapy](https://github.com/scrapy/scrapy) ( with [scrapyd](https://github.com/scrapy/scrapyd))

## Screenshot
![job dashboard](https://raw.githubusercontent.com/DormyMo/SpiderKeeper/master/screenshot/screenshot_1.png)
![periodic job](https://raw.githubusercontent.com/DormyMo/SpiderKeeper/master/screenshot/screenshot_2.png)
![running stats](https://raw.githubusercontent.com/DormyMo/SpiderKeeper/master/screenshot/screenshot_3.png)

## Getting Started


### Installing


```
pip install spiderkeeper
```

### Deployment

```

spiderkeeper [options]

Options:

  -h, --help            show this help message and exit
  --host=HOST           host, default:0.0.0.0
  --port=PORT           port, default:5000
  --username=USERNAME   basic auth username ,default: admin
  --password=PASSWORD   basic auth password ,default: admin
  --type=SERVER_TYPE    access spider server type, default: scrapyd
  --server=SERVERS      servers, default: ['http://localhost:6800']
  --database-url=DATABASE_URL
                        SpiderKeeper metadata database default: sqlite:////home/souche/SpiderKeeper.db
  --no-auth             disable basic auth
  -v, --verbose         log level


example:

spiderkeeper --server=http://localhost:6800

```

## Usage

```
Visit:

- web ui : http://localhost:5000

1. Create Project

2. Use [scrapyd-client](https://github.com/scrapy/scrapyd-client) to generate egg file

   scrapyd-deploy --build-egg output.egg

2. upload egg file (make sure you started scrapyd server)

3. Done & Enjoy it

- api swagger: http://localhost:5000/api.html

```

## TODO
- [ ] Job dashboard support filter
- [x] User Authentication
- [ ] Collect & Show scrapy crawl stats
- [ ] Optimize load balancing

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/DormyMo/SpiderKeeper/tags).

## Authors

- *Initial work* - [DormyMo](https://github.com/DormyMo)

See also the list of [contributors](https://github.com/DormyMo/SpiderKeeper/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Contributing

Contributions are welcomed!

## 交流反馈

QQ群：

1群: 389688974（已满）

2群: 285668943

## 捐赠
![Contact](https://raw.githubusercontent.com/DormyMo/SpiderKeeper/master/screenshot/donate_wechat.png)
Make sure and change the crawl settings before running:

```
cd rcbi
scrapy crawl getfpv
```