semvec/pypi-packages huggingface dataset:
django-forbidden-ip 0.1
IP forbidding utilities for Django2.0
License: MIT
Requires Python: >=3.6.0

django-forbidden-ip
---

This is a django application to forbid access by IP address.

Install
===

    pip install django-forbidden-ip

Config
===

1. Add `ip_interceptor` to `INSTALLED_APPS`.
2. Add `ip_interceptor.middleware.IPInterceptorMiddleware` to `MIDDLEWARE`.
3. Run `./manage.py make migrations` and `./manage.py migrate`.
4. Add IP you want to block to `ForbiddenIP`.
sgui 0.1.3
A simple GUI library for Python
License: MIT

# sgui
A simple GUI library for Python

Currently, sgui is just simple a wrapper around [Tkinter](https://wiki.python.org/moin/TkInter). (Python's de-facto standard GUI) In the future, backends for other languages like [pyside2](http://wiki.qt.io/Qt_for_Python) may be added.

sgui aims to be a simple and consistent tool for creating basic graphical user interfaces in python.

sgui is currently under development. Basic usage of the library should not change much. But as it is still in early development, newer versions may break scripts written for older versions.

[sgui on github](https://github.com/DGriffin91/sgui)

### rot13 Code Example

```python
import sgui, codecs

#Update the rotatedTextBox when the normal text changes
def encode(textBox):
	rotatedTextBox.string = codecs.encode(textBox.string, 'rot_13')

#Start window
window = sgui.Tk() 

#Vertical Layout frame
mainBox = sgui.VBox(window)

sgui.Label(mainBox, string = "Normal Text:") 
normalTextBox = sgui.TextBox(mainBox, string = "Some normal text", command = encode)

sgui.Label(mainBox, string = "Rotated Text:") 
rotatedTextBox = sgui.TextBox(mainBox)

window.startGUI()
```

### Currently Supported Widgets
* Textbox
* Textentry
* Button
* Label
* Checkbox
* Listbox
* Radiobuttons
* Canvas
* VBox
* HBox

##### Most widgets support:
* `.string` for text manipulation
* `.command` for call back function
* `.enabled` can be True or False for enabling/disabling control
* `.tooltip` for hover over tool tips

##### For example:
```python
import sgui
window = sgui.Tk() 

def foo(btn):
	print(btn.string, "foo!")

testButton = sgui.Button(window) 
testButton.string = "I'm a button!"
testButton.command = foo
testButton.enabled = False
testButton.tooltip = "This button is disabled, it will never foo!"

window.startGUI()
```

##### `.string` and `.command` can be declared when the widget is created:
```python
testButton = sgui.Button(window, string = "I'm a button!", command = foo) 
```
flv2img0.1.5 0.1.5
just a simple test of vipkid
License: MIT
Keywords: simple,test

Operation method :
  
    Bofore Operation install "flv2img":
    pip install flv2img0.1.5



    flv2img:
        input£ºflv(Video path),rate(How many frames per second),star(the start of frames you want),end(the end of frames you want)
        python 
                from flv2img import flv2img
                flv2img.flv2img(flv,rate,star,end)
        output£ºlist_all(list of image£©
        PS:Video converted to image 

    faceimg:
        input£ºflv(Video path),rate(How many frames per second),star(the start of frames you want),end(the end of frames you want)
        python 
                from flv2img import flv2img
                flv2img.faceimg(flv,rate,star,end)
        output£ºface_list(list of image£©
        PS:Video converted to image with face