semvec/pypi-packages huggingface dataset:
combogrid 0.1.0
Draw a grid of combo charts (each with a line and bars)
License: MIT
Requires Python: >=3.7.1,<4.0.0

# combogrid

**combogrid** makes it easier to draw combo charts in a grid, using matplotlib

Combo charts are useful for comparing two different 'y' variables.
Grids of charts (aka 'facet grids') are useful for comparing data
between groups.

Perhaps you want to see how a single stock's price and volume changed day by day.
And you are following multiple stocks, so you want one chart per stock.

## Requirements
* python 3.71 or above
* pandas

## Install
```bash
pip install combogrid
```

## Help
```python
import combogrid
help(combogrid.plot)
```


## Use
```python
import pandas as pd
import combogrid
df = pd.read_csv("sample.csv")
df["date"] = pd.to_datetime(df["date"])
plt = combogrid.plot(df, "date", "volume", "price", "color")
plt.show()
```

## Output
![Sample image with a grid of combo charts](https://raw.githubusercontent.com/rahimnathwani/combogrid/main/sample.png)
cremerlab-utils 0.0.3
Python utilities for members of the Jonas Cremer lab at Stanford University
License: MIT

# `cremerlab-utils`

This is a package holding a variety of functions used by members of the Jonas 
Cremer  Lab at Stanford University. This is very much in development and  will 
be expanded as the utilities for the lab expands 

# Installation 
If you are interested in contributing to the development, it can be installed 
locally via the [Python Package installer](https://pypi.org/project/pip/) `pip`
via the command line. 

```
$ pip install cremerlab-utils
```

If you are interested in contributing to the development of the software, 
you can clone or fork the [GitHub Repository](https://github.com/cremerlab/cremerlab-utils)
and install the package locally as follows:

```
$ git clone git@github.com:cremerlab/cremerlab-utils
$ cd cremerlab-utils
$ pip install -e ./
```

If you don't want to clone the source repository, you can install the development
version directly from GitHub:

```
$ pip install -e git+https://github.com/cremerlab/cremerlab-utils.git
```

# License
The software is released under a standard MIT license which reads as follows:

```
MIT License

Copyright (c) 2021 The Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```
papaprice 0.0.6
crawl the name and price of each product from e-commerce websites in Taiwan.
License: MIT
Requires Python: >=3.6

# papaprice 爬爬價
爬MOMO、PCHOME、ETMALL、SHOPEE、YAHOO 商品名稱與價格

```python
from papaprice import Etmall, Momo, Pchome, Shopee, Yahoo

# https://www.etmall.com.tw/i/2886010
etmall = Etmall()
print('etmall', etmall.query('2886010'))
# etmall ('Apple iPhone 12 Pro 128G 智慧型 5G 手機', 32388)

# https://www.momoshop.com.tw/goods/GoodsDetail.jsp?i_code=8169274
momo = Momo()
print('momo', momo.query('8169274'))
# momo ('【Apple 蘋果】iPhone 12 Pro 128G 6.1吋(超值殼貼組)', 33000)

# https://24h.pchome.com.tw/prod/DYAJIM-A900B724R
pchome = Pchome()
print('pchome', pchome.query('DYAJIM-A900B724R'))
# pchome ('Apple iPhone 12 Pro (128G)-太平洋藍(MGMN3TA/A)', 32900)

# https://shopee.tw/--i.54598032.5857088290
shopee = Shopee()
print('shopee', shopee.query('54598032.5857088290'))
# shopee ('APPLE iPhone 12 Pro 128G 支援5G上網/A14 CPU 送門市現場保貼服務兌換券', 32940)

# https://tw.buy.yahoo.com/gdsale/-9205108.html
yahoo = Yahoo()
print('yahoo', yahoo.query('9205108'))
# yahoo ('Apple iPhone 12 PRO 128G 6.1吋智慧型手機', 32600)
```

# 支援 proxies 使用，避免大量查詢被封鎖。
```python
proxies = {
    'https':'https://your.proxy.link',
    'http':'http://your.proxy.link',
}

# https://www.etmall.com.tw/i/2886010
etmall = Etmall(proxies)
print('etmall', etmall.query('2886010'))
# etmall ('Apple iPhone 12 Pro 128G 智慧型 5G 手機', 32388)
```

# proxies 設定，以服務供應商 [Bright Data](https://brightdata.grsm.io/twforthewin) 為例 ->[連結](https://brightdata.grsm.io/twforthewin)
```python
clientname = '你在Bright Data的用戶名' #注意：每種不同的Proxy服務，有不同的用戶名。
password = '對應的密碼'
proxy = f'https://{username}:{pwssword}@zproxy.lum-superproxy.io:22225'
proxies = {'https':proxy}

# https://www.etmall.com.tw/i/2886010
etmall = Etmall(proxies)
print('etmall', etmall.query('2886010'))
# etmall ('Apple iPhone 12 Pro 128G 智慧型 5G 手機', 32388)
```

# 未來版本
目前僅可透過已知的商品編號進行爬取，未來預計加入關鍵字搜尋功能，透過購物網站的搜尋功能進行爬取。