semvec/pypi-packages huggingface dataset:
suoran 0.0.12
extends sanic
License: MIT
Keywords: sanic suoran

# [suoran](https://github.com/chenshenchao/suoran)

## 使用

```bash
# 安装
pip install suoran

# 创建骨架
suoran new myapp

# 也可以在现有的目录内生成文件
suoran init
```

### 扩展 Sanic 控制器相关的路由

```python
# app.py
from suoran import new_application

app = new_application()

@app.listener('before_server_start')
async def initialize(app, loop):
    '''
    初始化。
    '''

    # 加载控制器包
    app.control('controller')

app.apply()
```

```python
# controller/__init__.py
from sanic.response import json
from suoran import route

@route.get('/')
async def index(request):
    '''
    Sanic 类似的定义。
    '''
    return json({ 'index': 1 })

class IndexController:
    '''
    '''

    @route.get('/index.html')
    async def index(self, request):
        '''
        比 Sanic 多出 self 参数。
        '''
        return json({ 'index': 2 })
```

## 源码

### 开发

```bash
# 安装到本地环境
pip install -e . -i https://pypi.python.org/pypi

# 指定源更新
pip install --upgrade suoran -i https://pypi.python.org/pypi
```

### 测试

```bash
# 所有测试
python -m unittest discover test/unit -p *.py

# 指定测试
python -m unittest test.route
```

### 发布

```bash
# 安装发布工具
pip install twine wheel

# 打包
python setup.py sdist bdist_wheel

# 上传
twine upload dist/*
```
skybellpy 0.6.3
An Skybell HD Python library running on Python 3.
License: MIT

skybell-python |Build Status| |Coverage Status|
=================================================
A thin Python library for the Skybell HD API.
Only compatible with Python 3+

Disclaimer:
~~~~~~~~~~~~~~~
Published under the MIT license - See LICENSE file for more details.

"Skybell" is a trademark owned by SkyBell Technologies, Inc, see www.skybell.com for more information.
I am in no way affiliated with Skybell.

Thank you Skybell for having a relatively simple API to reverse engineer. Hopefully in the future you'll
open it up for official use.

API calls faster than 60 seconds is not recommended as it can overwhelm Skybell's servers.

Please use this module responsibly.

Installation
============
From PyPi:

    pip3 install skybellpy

Command Line Usage
==================
Simple command line implementation arguments::

    $ skybellpy --help
      usage: SkybellPy: Command Line Utility [-h] -u USERNAME -p PASSWORD [--mode]
                                           [--devices] [--device device_id]

      optional arguments:
        -h, --help            show this help message and exit
        -u USERNAME, --username USERNAME
                              Username
        -p PASSWORD, --password PASSWORD
                              Password
        --devices             Output all devices
        --device device_id    Output one device for device_id

You can get all device information::

    $ skybellpy -u USERNAME -p PASSWORD --devices

      Output here

Development and Testing
=======================

Install the core dependencies::

    $ sudo apt-get install python3-pip python3-dev python3-venv

Checkout from github and then create a virtual environment::

    $ git clone https://github.com/MisterWil/skybellpy.git
    $ cd skybellpy
    $ python3 -m venv venv

Activate the virtual environment::

    $ source venv/bin/activate

Install requirements::

    $ pip install -r requirements.txt -r requirements_test.txt 

Install skybellpy locally in "editable mode"::

    $ pip3 install -e .

Run the run the full test suite with tox before commit::

    $ tox

Alternatively you can run just the tests::

    $ tox -e py35

Library Usage
=============
TODO

Class Descriptions
==================
TODO

.. |Build Status| image:: https://travis-ci.org/MisterWil/skybellpy.svg?branch=master
    :target: https://travis-ci.org/MisterWil/skybellpy
.. |Coverage Status| image:: https://coveralls.io/repos/github/MisterWil/skybellpy/badge.svg
    :target: https://coveralls.io/github/MisterWil/skybellpy
jinsung 0.2.0
Who is Jinsung Ha?
License: MIT

Who is Jinsung Ha? 
## :nerd_face: About Me

From your terminal,
```bash
pip install jinsung
```
Then in python shell,
```python
import jinsung
```

Briefly,
```python
class Me:

    def __init__(self):
        print('About Me - Jinsung Ha')

    @property
    def education(self) -> str:
        degree: str = 'MEng Computing (Artificial Intelligence)'
        where: str = 'Imperial College London'
        when: str = '10.2014 - 06.2019'
        return ' | '.join([degree, where, when])

    @property
    def workspace(self) -> Tuple[str, str]:
        company: str = 'LUXROBO'
        position: str = 'Backend Software Engineer'
        return company, position
    
    @property
    def location(self) -> Tuple[float, float]:
        return 37.5665, 126.9780

    @property
    def code(self) -> List[str]:
        return [
            'Python', 'Java', 'C', 'C++', 'Bash'
        ]
```

## :chart_with_upwards_trend: Github Stats
[![Jinsung Ha's Github Stats](https://github-readme-stats.vercel.app/api?username=jha929&count_private=true&show_icons=true&hide_border=true)](https://github.com/jha929)
[![Jinsung Ha's Top Languages](https://github-readme-stats.vercel.app/api/top-langs/?username=jha929&hide=jupyter%20notebook&hide_border=true&layout=compact)](https://github.com/jha929)