semvec/pypi-packages huggingface dataset:
aloe-django 0.2.0
Package for testing Django applications with Aloe

Aloe-Django
=============

[![Build status](https://img.shields.io/travis/aloetesting/aloe_django.svg)](https://travis-ci.org/aloetesting/aloe_django)
[![Coverage](https://img.shields.io/coveralls/aloetesting/aloe_django.svg)](https://coveralls.io/github/aloetesting/aloe_django)
[![PyPI](https://img.shields.io/pypi/v/aloe_django.svg)](https://pypi.python.org/pypi/aloe_django)

Utilities for using [Aloe](https://github.com/aloetesting/aloe) with
[Django](http://djangoproject.com):

- A `harvest` command to run Gherkin tests
- A collection of steps to aid in testing Django applications

Install:

    pip install aloe_django

Read the [documentation](http://aloe.readthedocs.io/projects/aloe-django/).

Aloe and Aloe-Django are based on [Lettuce](http://lettuce.it/).

License
-------

Aloe-Django - Django utils for Aloe based on Lettuce

Copyright (C) <2015> Alexey Kotlyarov <a@koterpillar.com>

Copyright (C) <2015> Danielle Madeley <danielle@madeley.id.au>

Copyright (C) <2013-2014> Infoxchange <devs@ix.org.au>


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
MicroBitTools 2.1.2
Library used for helping developing for the BBC microbit easier.

# MicroBitTools
MicroBitTools is a package for making BBC MicroBit development easier.

# Installation
Run the following line in the terminal/command prompt to install:

```pip install MicroBitTools```


# Examples
This one is used to flash to the MicroBit
```
from MicroBitTools import flash
flash("PythonFilePathHere", "MicroBitDirectoryHere")
```


This one is used to flash whole folders
```
from MicroBitTools import flashF
flashF("PythonFilePathHere", "MicroBitDirectoryHere")
```


# Serial system (Still in early development)
First, let's create a SerialSystem
```
import MicroBitTools as mbt
mbs = mbt.SerialSystem()
```
Then, let's move the SerialSystem on to the MicroBit
```
mbs.readyMicroBit()
```
After that, we are going to create a loop that is printing the data from the MicroBit
```
while True:
    print(mbs.read())
```
You'r code should look like this:
```
import MicroBitTools as mbt
mbs = mbt.SerialSystem()

mbs.readyMicroBit() # Load 

while True: # Infinite loop
    print(mbs.read()) # Print data from MicroBit
```
nlp_segmentation 1.2.7
分词工具

分词工具
--------

python版(有node版)
------------------

安装
~~~~

``pip install nlp_segmentation``

command-line
~~~~~~~~~~~~

搜狗分词
^^^^^^^^

.. code:: bash

   $ sougou_fenci 武汉市长江大桥
   武汉市 n
   长江 n
   大桥 n

百度分词
^^^^^^^^

.. code:: bash

   $ baidu_fenci 武汉市长江大桥
   武汉        地名
   长江大桥        地名

sougou 分词 code
~~~~~~~~~~~~~~~~

.. code:: python

   import nlp_segmentation
   resp = nlp_segmentation.sougou("武汉市长江大桥")
   for result_item in resp.result:
       print(row_format.format(result_item[0], result_item[1]))

   # 结 果
   # 武汉市         n
   # 长江         n
   # 大桥         n

baidu 分词 code
~~~~~~~~~~~~~~~

.. code:: python

   import nlp_segmentation
   resp = nlp_segmentation.baidu("武汉市长江大桥")
   for result_item in resp.result:
       print(row_format.format(result_item[0], result_item[1]))

   # 结 果
   # 武汉市         地名
   # 长江大桥         地名
Zpider 0.0.2
This is a simple spider package.

# Zpider

这里是Zpider的说明文档，您也可以访问这里
[Github-Zpider](https://github.com/pntehan/Zpider)
查看更多.
##Introduction
Zpider是一个非常简单的爬虫库，底层使用的是pysocks，使用socket.http连接方式，
进行get和post请求。在请求方式上采用的发送报文的方法。内容上还有许多不足，
但是在爬取简单的小网站时，还是可以的，在爬取比较正规的网站时。
会因为报文头部的格式的问题无法正确的连接，后续的改进会在头部信息进行优化。
##Config
配置文件里存放了部分的user-agent代理头供选择
##GET
该方法包括了六个参数：url, user_agent, proxy_ip, timeout, retry, cookies<br>
url：请求的连接地址<br>
user_agent：默认False不使用代理头，default使用配置文件的代理头，或者自行填写<br>
proxy_ip：默认False不使用代理ip，否则为"<ip>:<port>"格式传参<br>
timeout：设置链接时长，默认3s<br>
retry：重新连接次数，默认3次<br>
cookies：设置cookie，格式为字典格式<br>
该方法返回一个字典键值为：status, header, text, etree, content<br>
status：服务端响应状态<br>
header：为服务端响应头部<br>
text：解码之后的Html信息，字符串格式<br>
etree：html的树型结构，支持xpath路径直接获取元素<br>
content：未解码的数据，供于文件下载
##POST
POST方法和GET方式的形式大同小异<br>
该方法包括了六个参数：url, data, user_agent, proxy_ip, timeout, retry, cookies<br>
url：请求的连接地址<br>
data：发送报文的正文内容，格式为字典类型<br>
user_agent：默认False不使用代理头，default使用配置文件的代理头，或者自行填写<br>
proxy_ip：默认False不使用代理ip，否则为"<ip>:<port>"格式传参<br>
timeout：设置链接时长，默认3s<br>
retry：重新连接次数，默认3次<br>
cookies：设置cookie，格式为字典格式<br>
该方法返回一个字典键值为：status, header, text, etree, content<br>
status：服务端响应状态<br>
header：为服务端响应头部<br>
text：解码之后的Html信息，字符串格式<br>
etree：html的树型结构，支持xpath路径直接获取元素<br>
content：未解码的数据，供于文件下载
deploy-to-heroku 0.0.1
Deploy flask apps to heroku with one command!

## Deploy Flask App
A CLI package that deploys your flask app to Heroku.

### Install using pip3
```
$ pip3 install deploy-to-heroku
```
Package @ PyPI repository: https://pypi.org/project/deploy-to-heroku/

### Usage
```
$ cd app_name
$ deploy-to-heroku app_name
```

Feel free to create issue in case something is not working :)