semvec/pypi-packages huggingface dataset:
douban-dl 0.0.6
douban downloader, include album, celebrity
License: MIT
Keywords: douban downloader

douban downloader
=======================

一个简单的下载豆瓣相册、图集、影人图片的小脚本

A simple python script to download douban albums and celebrity


Introduction
------------

目前支持的下载类型

1. 豆瓣相册，比如

        douban-dl https://www.douban.com/photos/album/1641641224/

2. 影人相册图片

        douban-dl https://movie.douban.com/celebrity/1335340/
        douban-dl https://movie.douban.com/celebrity/1335340/photos

3. 用户所有相册

        douban-dl https://www.douban.com/people/einverne/


4. 电影剧照

        douban-dl https://movie.douban.com/subject/26804147

Installation
------------

    $ pip install douban-dl


Usage
-----

    $ douban-dl url [path]

`url` should be like this:

    https://www.douban.com/photos/album/<album_id>
    https://movie.douban.com/celebrity/<celebrity_id>
    https://www.douban.com/people/<douban_id>/photos

`path` is the folder where images saved, defaults to `./douban`.

如果没有指定 `path` ，默认会保存到当前目录下 douban 文件夹中。

SELF-PROMOTION
---------
如果想要导出豆瓣标注的数据，可以参看我这个项目 [douban-export](https://github.com/einverne/douban-export)


License
-------

MIT


Contribute
----------

Feel free to file an issue, or make a pr.
timeouter 0.0.15
Timeouts helper
License: MIT

# timeouter

Timeout helper tools library for Python

## Install

```python
pip3 install timeouter
```

## Examples

### Simple class usage

```python
import timeouter, time

t = timeouter.Timer(1)
time.sleep(0.5)
t.has(0.1) # True
t.has(0.6) # False
t.get() # returns remaining time
t.get(laps=3) # returns remaining time, split into 3 equal laps
t.reset() # resets timeout counter

# raises TimeoutError if timer has expired, message is optional
t.check(message=message)

# get remaining time, raise TimeoutError if expired, message is optional
t.get(check=True, check_message=message)
```

### Custom timeout exception

Exception for the single timer object

```python
class MyException(Exception): pass

t.set_exception_class(MyException)
```

Default exception for all new timers

```python
class MyException(Exception): pass

timeouter.set_default_exception_class(MyException)
```

### Thread-local usage

```python
import timeouter as to

# init for the current thread
to.init(1)
time.sleep(2)
# module methods check, get, has, reset, set_timeout and set_exception_class
# are proxied to thread-local object
to.check()
```
mockspace 0.1.4
A convenient tool for quickly creating a mock environment: add web-services, fill them with the methods you need, configure response parameters
License: MIT
Requires Python: >=3.6

# mockspace
[![Pypi][PyPI-image]][PyPI-url]
[![License][License-image]][License-url]
[![Status][Status-image]][Status-url]


## About

``mockspace`` is a tool that provides a convenient interface for quickly creating a mock environment:
add web-services, fill them with the methods you need and configure response parameters.

## Installation

To install mockspace, run this command in your terminal:

```sh
pip install mockspace
```

## Launching

To start mockspace, run the following command:

```sh
mockspace
```

and go to http://localhost:8080.

## Usage

#### Add the necessary web-services

<img width="580" alt="screen shot 2018-07-14 at 6 22 58 pm" src="https://raw.githubusercontent.com/mockspace/mockspace.github.io/master/files/services.png">

#### Fill a web-services with methods you need

<img width="580" alt="screen shot 2018-07-14 at 6 22 58 pm" src="https://raw.githubusercontent.com/mockspace/mockspace.github.io/master/files/userinfo.png">

#### Configure response parameters

<img width="580" alt="screen shot 2018-07-14 at 6 22 58 pm" src="https://raw.githubusercontent.com/mockspace/mockspace.github.io/master/files/method_options.png">

## License

[MIT](LICENSE)

<!-- Markdown link & img dfn's -->
[PyPI-image]: https://img.shields.io/pypi/v/mockspace
[PyPI-url]: https://img.shields.io/pypi/v/mockspace
[wiki]: https://github.com/yourname/yourproject/wiki
[License-image]: https://img.shields.io/pypi/l/mockspace.svg
[License-url]: https://github.com/mockspace/mockspace/blob/master/LICENSE
[Status-image]: https://img.shields.io/pypi/status/mockspace.svg
[Status-url]: https://pypi.org/project/mockspace/