semvec/pypi-packages huggingface dataset:
exsnap 0.0.1
Automate the downloading of Snapchat memories
Requires Python: >=3.6

# exsnap

Automate the downloading of Snapchat memories using `memories_history.json` 
from a data export request.

# How to use

1. Install the package via `pip install exnsap`.
2. Perform a [data request](https://accounts.snapchat.com/accounts/downloadmydata) with Snapchat.
3. Download your data zip when created and extract `json/memories_history.json`.
4. Run `exsnap` in the folder of your choice.
    - You can specify `-i` for the location of the JSON if not in the current working directory,
      or it has a different name.
    - You can specify `-o` for the output folder if you don't want the current working directory.
midi-wrapper-SnooperXP 0.0.5
A package that wraps Pygame midi for simplified use
Requires Python: >=3.6

# Midi Wrapper

This package contains classes that wrap the Pygame Midi class to allow selection of a midi input device, and simple polling of said device with predefined classes to help interpret the signals.

This implementation is limited in that it is only polling for one event per poll instead of multiple events, as such it will pull one at a time.

Polling for multiple events in one frame may be supported in future.

## Usage

```python
from pygame import midi
from midi_wrapper import MidiMenu, MidiDevice

# Boiler plate midi initialization for pygame midi
midi.init()

if (midi == None):
	print("Error initializing midi.")
	exit(-1)

# Initialize the menu to start device selection, then pass to device to get reference
midi_menu = MidiMenu(midi)
midi_device = MidiDevice(midi, midi_menu)

# Bog standard polling loop
while True:
	# Returns None if no events received or a MidiData type if an event is found
	midi_data = midi_device.poll_device()

	if midi_data != None:
		midi_event = midi_data.event
		print(f"Clock: {midi_data.clock} :: Name: {midi_event.name} :: Channel: {midi_event.channel} :: Data: {midi_event.data}")

```
mstools 0.1.0
Top-level package for mstools package.
Requires Python: >=3.6

=======
mstools
=======

Frequently used mathematical and statistical tools not available in common packages.


Features
--------

* `Documentation <https://mstools.readthedocs.io>`_
* `PyPI <https://pypi.org/project/mstools>`_
* `GitHub <https://github.com/eamontoyaa/mstools>`_
* Open source and free software: `BSD-2-Clause License <https://opensource.org/licenses/BSD-2-Clause>`_.
proximus 0.0.2
A web automation of Bbox3 web interface.

# BBOX3 API
This API have been written in Python using Selenium, Firefox and Geckodriver. It can works on a server (headless)

## Setting up
1. Install Firefox

```bash
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F
sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main"
sudo apt-get update
sudo apt-get install firefox
```

2. Install Geckodriver

```bash
wget https://github.com/mozilla/geckodriver/releases/download/v0.28.0/geckodriver-v0.28.0-linux64.tar.gz
tar xfvz geckodriver*.tar.gz
sudo mv geckodriver /usr/bin/geckodriver
```

3. Install Python3 and Pip3

```bash
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3 python3-pip
```

4. Install Selenium

```bash
pip3 install selenium
```

5. Install this API

```bash
pip3 install proximus
```

## Quickstart

```python
# Load the module, open the browser and login (mandatory at the start)
from proximus import *
b = newInstance(headless=True)
login(b, "yourpassword")

# What you want to execute (you can find all the functions below)
toggleHotspot(b)

# Close the browser (mandatory at the end)
b.close()
```

## Documentation
To get the documentation, simply run:

```python
import proximus
help(proximus)
```
hdmi-cec-to-adb 0.2
hdmi_cec_to_adb

# HDMI CEC to ADB

Turns off an Android TV using a Raspberry Pi and adb shell commands. Not all Android TVs respect the HDMI "standby" 
command (even if the HDMI-CEC settings are enabled) and as result, the won't turn off automatically when a 
standby broadcast message is sent via HDMI. 

This package aims to solve that using `python-cec` / `libcec` and `adb` (Android Debug Bridge). When a broadcast 
standby command has been sent, this program sends an adb shell command to turn off the TV using key input.

## Installation

There are a few steps to getting all the pieces working.

### Android TV Setup

Turn on your Android TV "Developer Mode" and enable adb debug logging.

### Install Raspbian

For this setup to work, you will need a Raspberry PI and will need to complete the guide from 
[PiMyLifeUp](https://pimylifeup.com/raspberrypi-hdmi-cec/). This basically installs a Raspberry PI with
Raspbian and `cec-client` which is required to communicate with HDMI and used by this library.

### Copy adb keys

You will need to copy public and private keys to your `/home/pi/.android/` folder on the Raspberry PI. These could be
taken from any computer were `adb` is installed. These allow from communication over TCP/IP and to turn off the TV.

### Install hdmi_cec_to_adb

Once your Raspberry PI is setup, install hdmi_cec_to_adb and setup a cron to automatically start on boot.

```bash
# assuming you have virtualenvwrapper already installed
mkvirtualenv hdmi_cec_to_adb

pip install hdmi-cec-to-adb
```

```bash
# Add the following to your crontab and make sure you use your TV IP Address
SHELL=/bin/bash
@reboot source /home/pi/.virtualenvs/hdmi_cec_to_adb/bin/activate && start_hdmi_cec_monitor --tv_ip_address=192.168.1.99 --adb_key_filepath=/home/pi/.android/adbkey
```
projectcreator 0.2.4
Package for create projects

CreatorProjects
===============

F.A.Q.
------
**Q**: Что это?

**A**: Это программка для создания иерархии папок.

**Q**: Зачем это нужно?

**A**: Я использую VsCode, а в ней нет возможности создать проект "в один клик".

Установка
---------
`pip install projectcreator`

В связи с тем, что скрипт устанавливается в `~/.local/bin`, эту папку необходимо включить в переменную $PATH, поэтому необходимо выполнить команду `export PATH=/home/username/.local/bin:$PATH`.

После проделанных действий программа готова к использованию.

Настройка
---------
Вся настройка осуществляется в папке `~/.config/project_creator`. Конфиги представляет из себя json файлы.

Для использования программы необходимо создать в этой папке файл, с тем названием, которое вы хотели бы использовать при создании проекта.

В записи `types` перечисляются языки.

В записи `path` перечисляются папки с файлами.

В `files` перечисляются файлы с содержимым.

В `commands` перечисляются команды, которые надо выполнить после создания проекта.

Использование
-------------
1. Создайте конфиг `~/.config/project_creator/<name_config>`

2. Создайте папку проекта, в которой хотите хотите создать инфраструктуру.

3. Введите в терминале `create_project <name_config>`

Пример конфига
--------------
.. code-block:: json

    {
        "path": {
            "code": {
                "test": {
                    "test": {}
                },
                "re": {}
            },
            "tmp": {},
            "old": {}
        },
        "files": {
            ".gitignore": [
                ".gitignore",
                "old/",
                "tmp"
            ],
            "main.py": [
                "#!/usr/bin/python3",
                "",
                "def main():",
                "   print('Hello world')",
                "",
                "if __name__ == '__main__':",
                "   main()"
            ]
        },
        "commands": [
            "touch README.md",
            "chmod +x main.py",
            "git init",
            "git add .",
            "git commit -m \"Новый проект\""
        ]
    }