semvec/pypi-packages huggingface dataset:
squeezebox-controller 1.0.4
A python api for controlling logitech squeezeboxes via the squeezebox server.

# Squeezebox Controller

[![Documentation Status](https://readthedocs.org/projects/squeezebox-controller/badge/?version=latest)](https://squeezebox-controller.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.com/samtherussell/squeezebox-controller.svg?branch=master)](https://travis-ci.com/samtherussell/squeezebox-controller)


A python 3 interface for controlling logitech squeezeboxes via the squeezebox server.

The commands are sent over the JSON RPC interface to the local squeeze server.

For an explaination of the format of each command see [here](https://gist.github.com/samtherussell/335bf9ba75363bd167d2470b8689d9f2)

## Quick start:
Download from [PyPI](https://pypi.org/project/squeezebox-controller):
```bash
pip install squeezebox-controller
```
Usage:
```python
from squeezebox_controller import SqueezeBoxController

controller = SqueezeBoxController("192.168.1.100", 9000)

params = {
  "player": "Lounge",
  "command": "PLAY"
}
controller.simple_command(params)
```

## Parameter options:

command keys: [
  "PLAY", "PAUSE", "POWER ON", "POWER OFF",
  "VOLUME UP", "VOLUME DOWN", "SLEEP", "SLEEP SONG",
  "SKIP", "PREVIOUS", "UNSYNC",
  "SHUFFLE OFF", "SHUFFLE SONGS", "SHUFFLE ALBUMS",
  "REPEAT OFF", "REPEAT SONG", "REPEAT PLAYLIST"
]

search types: ["SONG", "ALBUM", "ARTIST"]

queries keys: ["VOLUME", "NOW PLAYING"]
tmsutils 1.0.8
Handy tools out of the box
Requires Python: >=3.6, <4

# tmsutils [![PyPI version](https://badge.fury.io/py/tmsutils.svg)](https://badge.fury.io/py/tmsutils) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/themrinalsinha/tmsutils/graphs/commit-activity) [![Build Status](https://travis-ci.org/TheMrinalSinha/tmsutils.svg?branch=master)](https://travis-ci.org/TheMrinalSinha/tmsutils)

collection of utility functions to make task easy

Function list:

- `csv_to_linear_tsv` - function to convert given csv file into linear tsv file
- `file_split` - function to split text or csv file into given chunks
- `merge_sqlite_db` - function to merge sqlite database file of same schema
- `get_string_product` - function to generate product of the given string of given length
- `get_string_combinations` - function to generate combination of the given string of given length
- `dict_to_object` - function to convert dictionary or json dump into object

Classes:
- `S3` (wrapper for S3 data storages)
    - `file_exists` - check if given key exists or not
    - `get_temporary_link` - get temporary download link for a given key
    - `upload` - upload your file or directory to s3 storage
    - `download` - download given key or entire folder from s3 storage

- `FileIO` (wrapper for https://file.io 'snapchat' of file sharing)
    - NOTE: it requires 'curl' command line tool to be installed
    - `upload` - upload file to 'https://file.io' and returns file download link
    - `download` - download file from the given file.io url to given location

CLI (Command line Utilities):
- `gi` (designed to help you create .gitignore files for your git repositories)
    - It is used to generate gitignore for `operating systems`, `IDEs`, or `Programming Languages`
    - The below command will generate .gitignore for python (PL) and code (IDE) in same place.
    ```
    $ tms gi python,code
    ```
    - In case of any such type which is not valid then
    ```
    $ tms gi python3,abcdx

    "python3" is invalid, try from "python"
    "abcdx" is invalid.
    ```
- `mdb` (merging sqlite database command)
    - It is used to merge sqlite3 database files
    ```
    Options:
        --path = default current directory from where command runs
        --extension = default is set to sqlite, can also use 'db'

    It returns db file path if which all other are merged or return No file found.
    ```
- `sf` (splitting files (eg: txt, csv, tsv etc..) into equal chunks of given size)
    - takes file path as an argument, it splits the file by default into 10 chunks
    ```
    Options:
        FILEPATH - path to the file
        --chunk, -c <int> number of chunks (default=10)
    ```