semvec/pypi-packages huggingface dataset:
jike 0.5.0
Jike Metro �� : Jike Python SDK
License: MIT
Requires Python: !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: jike crawl tool

==================
Jike Metro ��
==================

.. image:: https://img.shields.io/travis/Sorosliu1029/Jike-Metro.svg
    :alt: Travis
    :target: https://travis-ci.org/Sorosliu1029/Jike-Metro

.. image:: https://img.shields.io/pypi/v/jike.svg
    :alt: PyPI
    :target: https://pypi.org/project/jike/

.. image:: https://img.shields.io/pypi/l/jike.svg
    :alt: PyPI - License
    :target: https://pypi.org/project/jike/

.. image:: https://img.shields.io/pypi/pyversions/jike.svg
    :alt: PyPI - Python Version
    :target: https://pypi.org/project/jike/

.. image:: https://img.shields.io/pypi/status/jike.svg
    :alt: PyPI - Status
    :target: https://pypi.org/project/jike/

.. image:: https://img.shields.io/github/contributors/Sorosliu1029/Jike-Metro.svg
    :alt: GitHub contributors
    :target: https://github.com/Sorosliu1029/Jike-Metro/graphs/contributors

.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
    :alt: Say Thanks
    :target: https://saythanks.io/to/Sorosliu1029

.. image:: https://img.shields.io/github/stars/Sorosliu1029/Jike-Metro.svg?style=social&label=Stars
    :alt: GitHub stars
    :target: https://github.com/Sorosliu1029/Jike-Metro/

Jike Metro �� 是即刻镇的地铁工程，旨在提高即友的出行游览效率。

**安全提醒**：Jike Metro �� 目前是地下工作，非官方授权，随时可能翻车，给果果 �� 买小鱼干可保平安。

.. image:: https://cdn.ruguoapp.com/Ftub2jUf092k6GYua0DTV8t-PMoR.jpg?imageView2/0/w/2000/h/400/q/50

图片来源: `即刻九号工友“果果”和小伙伴们 <https://web.okjike.com/topic/55d6de4660b2719eb447649a/official>`_

Jike Metro �� 简易乘车指南
==========================

.. code-block:: python

    >>> c = jike.JikeClient()
    >>> c.get_my_profile()
    User(id='58cf99696a34ae0015b9f5d5', screenName=挖地道的)
    >>> my_collection = c.get_my_collection()
    >>> my_collection[0]
    OfficialMessage(id='55dd572f41904d0e00fc58f8', content=即刻果果: 分享一只曾经的童星（已光速成长）)
    >>> news_feed = c.get_news_feed()
    >>> news_feed[0]
    OfficialMessage(id='5ac347a30799810017977041', content=DeepMind 发布新架构  让AI 边玩游戏边强化学习)
    >>> ceo = c.get_user_profile(username='82D23B32-CF36-4C59-AD6F-D05E3552CBF3')
    >>> ceo
    User(screenName=瓦恁)
    >>> c.create_my_post(content='Jike Metro �� released!', link='https://github.com/Sorosliu1029/Jike-Metro')
    True

更详细的乘车指南请移步 �� `Jike Metro �� 乘车指南 <https://www.0x2beace.me/Jike-Metro/>`_

Jike Metro �� 乘车体验
======================

Jike Metro �� 目前支持：

- 获取自己的收藏，查看自己的用户信息
- 流式获取首页消息和动态
- 获取某个用户的用户信息、发布的动态、创建的主题、关注的主题、TA关注的人和关注TA的人
- 获取某条消息/动态的评论
- 获取某个主题下的精选和广场
- 发布个人动态（可带图、带链接、带主题），删除个人动态
- 点赞、收藏、评论、转发某条消息/动态
- 在浏览器中打开某条消息的原始链接
- 根据关键词搜索主题
- 根据关键词搜索自己的收藏
- 获取即刻首页的推荐关注主题列表（不限于首页显示的5个）

Jike Metro �� 现在支持 Python 3.4-3.6

Jike Metro �� 入口
==================

可通过 pip 安装 Jike Metro ��

.. code-block:: bash

    $ pip install jike

注意安全，小心行驶，不要影响其他即友的出行。

Jike Metro �� 基础设施
======================

Jike Metro �� 基于：

- `即刻Web版 <https://web.okjike.com>`_
- `requests <https://github.com/requests/requests>`_
- `qrcode <https://github.com/lincolnloop/python-qrcode>`_
faderport 1.0.1
An abstract class to interface with a Presonus FaderPort.
License: MIT
Requires Python: ~=3.6

# faderport
An abstract class to interface with a Presonus FaderPort device.

The Presonus FaderPort is a USB MIDI controller that features a
motorized fader, an endless rotary controller and a bunch of buttons.
This class will handle the basic interfacing to the device. You
write a concrete subclass to implement your application specific
requirements.

This subclass must implement the following methods:

* `on_open` â€” Called when MIDI port has opened,
* `on_button` â€” Called when button is pressed or released,
* `on_fader_touch` â€” Called when fader is touched or released,
* `on_fader` â€” Called when fader is moved,
* `on_rotary` â€” Called when the Pan control is rotated,
* `on_close` â€” Called when MIDI port is about  to close.

The `fader` property allows you to read or set the fader position
on a scale of 0 to 1023.

You can turn the button lights on and off individually using
`light_on` and `light_off`.

You can display hexadecimal characters (0-9, A-F) using `char_on`.
This will use the button LEDs in a dot matrix style.
(Extending this to the a full alphanumeric character set is an
exercise left to the reader).

There are some methods for 'fancy' display effects, because why not?
Check out: `countdown`, `snake`, `blink` and `chase`

> **IMPORTANT NOTE** - There is a 'feature' in the FaderPort that can
> cause you some problems. If the 'Off' button is lit the fader will
> not send value updates when it's moved.

# Installation
You'll need Python 3.6 or later.

Then:
```sh
pip install faderport
```
should do the trick.

This will also install the
**[mido](http://mido.readthedocs.io/en/latest/index.html)** package and
[**python-rtmidi**](https://pypi.org/project/python-rtmidi/) backend.

Currently this has only been tested on Windows with a single FaderPort
because that's all I have access to.

The adventurous can read the mido docs and try alternative backends.

# Testing
Make sure your FaderPort is installed and connected and then:
```sh
from faderport import test
test()
```

This will instantiate a derived 'TestFaderPort' class, which also serves as
an example implementation, and then run through some of it's features.

It will display some light patterns and move your fader and then monitor
your actions until you hit the *"Off"* button on the FaderPort.

Try out the Pan knob, the fader and some of the buttons.

Try holding *"shift"* (on the FaderPort) and tweaking the Pan knob at the
same time.

# Change List
- Version 1.0.1 - Added a reset command at startup. Sometimes when
  faderport is reconnected it can get in a weird mode. The *Bank*
  light is lit and our code doesn't work. This seems to fix it.
- Version 1.0.0 - Initial Release