semvec/pypi-packages huggingface dataset:
copyheaders 0.0.2
easy copy headers from browser
License: MIT


copyheaders
===========

方便的从浏览器复制headers

本项目是从https://github.com/scrapy/w3lib 修改过来的

为什么要修改请看https://github.com/scrapy/w3lib/issues/90


Sample Code
-----------

```python
from copyheaders import headers_raw_to_dict
import requests

headers_raw = b"""Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding:gzip, deflate, br
Accept-Language:zh-CN,zh;q=0.8,zh-TW;q=0.6
Cache-Control:max-age=0
Connection:keep-alive
Cookie:_gauges_unique_year=1; _gauges_unique=1; _gauges_unique_hour=1; _gauges_unique_day=1; _gauges_unique_month=1
Host:httpbin.org
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"""

headers = headers_raw_to_dict(headers_raw)
# 然后就可以在requests中直接用了
z = requests.get('https://httpbin.org/',headers=headers)
```
Installation
------------
* `pip install copyheaders`
koco 0.2.3
A library to easily access kocohub datasets
License: MIT
Keywords: korean nlp datasets

# koco

`koco` is a library to easily access [`kocohub`](https://github.com/kocohub) datasets. <br>
`kocohub` contains **KO**rean **CO**rpus for natural language processing.

## Installation
> NOTE: The code is tested on `Python 3.6.9`

#### from pypi
```
pip install koco
```

#### from source
```
git clone https://github.com/inmoonlight/koco
cd koco
pip install .
```

## Usage
Using `koco` is similar to [`nlp`](https://github.com/huggingface/nlp). The main methods are:
- `koco.list_datasets()`: list all available datasets and their modes in [`kocohub`](https://github.com/kocohub)
- `koco.load_dataset(dataset_name, mode)`: load dataset in [`kocohub`](https://github.com/kocohub) with data-specific mode

#### example
```python
>>> import koco

>>> koco.list_datasets()
{'korean-hate-speech': ['train_dev', 'unlabeled', 'test'],
 'sae4k': ['train_dev', 'test']}

>>> train_dev = koco.load_dataset('korean-hate-speech', mode='train_dev')
>>> type(train_dev)
dict
>>> train_dev.keys()
dict_keys(['train', 'dev'])
>>> train_dev['train'][33]
{'comments': '2,30대 골빈여자들은 이 기사에 다 모이는건가ㅋㅋㅋㅋ 이래서 여자는 투표권 주면 안된다. 엠넷사전투표나 하고 살아야지 계집들은',
 'contain_gender_bias': True,
 'bias': 'gender',
 'hate': 'hate',
 'news_title': '"“8년째 연애 중”…‘인생술집’ 블락비 유권♥전선혜, 4살차 연상연하 커플"'}
 
 >>> test = koco.load_dataset('korean-hate-speech', mode='test')
 >>> type(test)
 list
 >>> test[33]
 {'comments': '끝낼때도 됐지 요즘같은 분위기엔 성드립 잘못쳤다가 난리. 그동안 잘봤습니다',
 'news_title': '[단독] ‘SNL 코리아’ 공식적인 폐지 확정…아름다운 종료'}
```

## Contributing to kocohub / koco

All Korean datasets with their publications or detailed documentations, bug reports, bug fixes, enhancements and ideas are welcome :tada: <br>
Feel free to ask questions via [`issues`](https://github.com/inmoonlight/koco/issues). I recommend to use an adequate `label`!
libmorse 0.0.2
A text util library
License: MIT
Keywords: morsify,morse code,demorse,decode morse

Morse - a morse code library

Available Methods
- morsify
- demorse


Change Log
===========

0.0.1 (30/05/2020)
---------------------
- First Release

0.0.2 (31/05/2020)
---------------------
- Error changed
- Fix type