semvec/pypi-packages huggingface dataset:
jp-holiday 1.0.4
pandasのデータフレームに日本の日付フラグを与えて，データフレームを返します。
License: MIT
Keywords: holiday japan pandas dataframe

# Japnese Holiday
日付が含まれるデータフレームを入れると，祝日フラグを与えてデータフレームを返します。

引数には以下を指定してください。

- 第一引数 => データフレーム
- 第二引数 => データフレーム内の，日付が入っているカラム名
- 第三引数 => 新しく作られる祝日フラグのカラム名

を入れてください。
＊第三引数はデフォルト値が`holiday`です。

日付は，`str`型でも`datetime`型でも対応します。
`str`型に変換して，スライスをしています。`
初めから4つが年，
6，7文字目が月
9，10文字目が日にちです。
他のところは何が入っていても問題ありません。

```
ex1. 2021-01-01
ex2. 2021-01-01 01:01:00
ex3. 2021^01@01 ほりでい
ex4. 2020101901
```

```python

from jp_holiday import jp_holiday

df_with_holiday = jp_holiday.is_holidy(df, "date", "is_holiday")

```
osxmpdkeys 1.0.3
Control mpd with the OS X media keys.
License: MIT

==========
osxmpdkeys
==========

Control mpd with the OS X media keys.

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

To install osxmpdkeys with pip, use:

.. code:: bash

    $ pip install osxmpdkeys

Usage
-----

In the simplest case, just run ``mpdkeys``. The default mpd host address is ``localhost:6600``.

.. code::

    usage: mpdkeys [-h] [--host HOST] [--port PORT]

    optional arguments:
    --host HOST  mpd host address
    --port PORT  mpd host port

If you want to have mpdkeys start automatically upon login,
you can create a LaunchAgent like so:

.. code::

  $ cat <<EOF> ~/Library/LaunchAgents/com.github.pushrax.osxmpdkeys.plist

  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>com.github.pushrax.osxmpdkeys</string>
      <key>Program</key>
      <string>/usr/local/bin/mpdkeys</string>
      <key>RunAtLoad</key>
      <true/>
      <key>KeepAlive</key>
      <true/>
    </dict>
  </plist>
  EOF

Next time you log in, launchd will pick up the configuration automatically.
osxmmkeys 1.0.1
Easily handle media keys on OS X.
License: MIT

=========
osxmmkeys
=========

osxmmkeys is a simple Python library for handling media keys on OS X.
Key presses can be observed with no side effects, or have their default
behaviours overridden entirely.

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

To install osxmmkeys with pip, use:

.. code:: bash

    $ pip install osxmmkeys

Usage
-----

Simple example:

.. code:: python

    import osxmmkeys

    def handler():
        print("Play/pause key was pressed")

    tap = osxmmkeys.Tap()
    tap.on('play_pause', handler)
    tap.run()

Threaded example:

.. code:: python

    import osxmmkeys, time

    def handler():
        print("Play/pause key was pressed")

    tap = osxmmkeys.Tap()
    tap.on('play_pause', handler)
    tap.start()

    try:
        while True:
            time.sleep(1)
    except (KeyboardInterrupt, SystemExit):
        tap.stop()

Supported key names:

- ``play_pause``
- ``next_track``
- ``prev_track``
- ``mute``
- ``volume_down``
- ``volume_up``
- ``backlight_down``
- ``backlight_up``
- ``kb_backlight_down``
- ``kb_backlight_up``