semvec/pypi-packages huggingface dataset:
music-helper 2.0.4
Asynchronous library for working with streaming services. Search, download

# music-helper | v`2.0.4`


# Installation
`pip install music-helper`

# Usage

```python
from musichelper import MusicHelper
import asyncio

SoundCloud_DATA = (
    "CLIENT_ID",
    "AUTH_TOKEN"
)
DEEZER_ARL = "change this"
YTM_OAUTH_PATH = "./ytm_oauth.json"


async def main():
    music_api = MusicHelper(deezer_arl=DEEZER_ARL, 
                        ytm_oauth='',
                        debug=True)


    # Deezer (Search & Download)
    ## Other methods can be found on the WIKI
    data = await music_api.deezer.search_tracks('post malone rockstar', limit=1)
    deezer_track = await music_api.deezer.get_track(data[0]['id'])
    download_data = await music_api.deezer.download_track(deezer_track['info'],'./',    with_lyrics=False, with_metadata=True)
    print(download_data) # {'track': '.\\Post Malone - rockstar (feat. 21 Savage).mp3', 'lyric': None}


    # SoundCloud (Search & Download)
    search_data = await music_api.soundcloud.search('xxxtentacion ghetto christmas carol',limit=1)
    # type(search_data) -> Generator
    
    for track in search_data:
        download_data = await music_api.soundcloud.download_track(track.id, './temp/')
        print(download_data) # "./temp/A GHETTO CHRISTMAS CAROL Prod. RONNY J - XXXTENTACION.mp3"


    # YouTube Music (Search & Download)
    search_data = await music_api.ytm.search('masn - dont talk', filter='songs', limit=1)
    track_tags = {
        'videoId': search_data[0]['videoId'],
        "artist": ', '.join(artist['name'] for artist in search_data[0]['artists']),
        "title":  search_data[0]['title'],
        "album":  search_data[0]['album']['name'] if 'album' in  search_data[0] else " ",
        "cover":  search_data[0]['thumbnails'][-1]['url']
    }

    downlaod_data = await music_api.ytm.download_track(video_id = track_tags['videoId'], 
                download_path = './temp/', track_tags =track_tags)
    print(downlaod_data) # "./temp/MASN - Don't Talk.mp3"

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())


```
python_markdown-oembed_extension 0.3.1
Detect inline pattern starting with '![', use the following data to request oembed data from the video hoster and create appropriate iframe html
Requires Python: >=3.7
Keywords: markdown,html,oembed

# Python Markdown oEmbed

## Installation

    pip install from python_markdown-oembed_extension

## Links

- [python_markdown-oembed_extension](https://github.com/Hopiu/python-markdown-oembed)
- [Markdown](http://daringfireball.net/projects/markdown/)
- [oEmbed](http://www.oembed.com/)
- [python-oembed](https://github.com/abarmat/python-oembed)

## Development

This project uses flit as packaging tool.

### Install flit

```
pip install flit
```

### Build needed packages for project

```
flit install
```

## Changelog

### 0.2.1

- add Slideshare endpoint (thanks to [anantshri](https://github.com/anantshri))

### 0.2.0

- backwards incompatible changes
    - allows arbitrary endpoints ([commit](https://github.com/Wenzil/python-markdown-oembed/commit/1e89de9db5e63677e071c36503e2499bbe0792da))
    - works with modern Markdown (>=2.6)
    - dropped support for python 2.6
- added support python 3.x

### 0.3.0

- Updated version of [python-markdown-oembed](https://github.com/rennat/python-markdown-oembed)
- Various small fixes and code modernizations.
pyhide-obf 0.1.0
Obfuscate your Source Code before distributing or publishing anywhere
Requires Python: >=3.7,<3.11

# PyHide - Python Obfuscator

PyHide is a python source code obfuscator which uses Marshal Serialization and Fernet Encryption to obfuscate the source code which protects your source code on the web.

**Disclaimer: Obfuscation could also be used for malicious purposes to hide malware, always be careful while executing obfuscated code, use obfuscated code only from trusted sources**

## Requirements

- Python 3.8
- Poetry
spamassassin-client 0.0.4
Wrapper for SpamAssassin SPAMC deamon

# SpamAssassin Client python module
This is a python wrapper for SpamAssissin's SPAMC deamon. It provides these methods:

<dl>
<dt>is_spam(level=5) -> bool</dt>
<dd>SPAM status from SpamAssasin deamon</dd>
<dt>get_score() -> float</dt>
<dd>final score from SpamAssasin deamon</dd>
<dt>get_fulltext() -> str</dt>
<dd>full report from SpamAssasin deamon</dd>
<dt>get_report_json() -> dict</dt>
<dd>full report as JSON from SpamAssasin deamon</dd>
</dl>

# Installation

Install the `SpamAssassin` daemon and `pytest`:

	sudo apt install spamassassin python-pytest

Use the PIP package manager to install this module:

	python -m pip install spamassassin_client


# Example

Module can be used in following way:

	import os

	from spamassassin_client import SpamAssassin

	FILES = [dict(type='spam', name='sample-spam.txt'),
		 dict(type='ham', name='sample-nonspam.txt')]

	def main():

	    path = os.path.dirname(__file__)
	    for test in FILES:
		filename = os.path.join(path, test['name'])
		with open(filename,"rb") as f:            
		    print("\nProcessing file: {}".format(filename))
		    assassin = SpamAssassin(f.read())
		    print(assassin)
		    if assassin.is_spam():
		        print("The received message is considered spam with a score of {0}".format(assassin.get_score()))
		    print('\nreport_fulltext:', assassin.get_fulltext())
		    print('score:', assassin.get_score())
		    print('report_json:', assassin.get_report_json())

	if __name__ == "__main__":
	    main()


# Run tests

	pytest -v
metal-sdk 2.5.1
SDK for getmetal.io
Requires Python: >=3.7

# 🤘 Metal Python SDK

- [**Developer Documentation**](https://docs.getmetal.io/sdk-python)
- [**PyPi Package**](https://pypi.org/project/metal-sdk/)

## Setup

```bash
$ pip3 install metal-sdk
```

## Usage

```python
from metal_sdk.metal import Metal


metal = Metal("api_key", "client_id", "index_id");

metal.index({ "text": "a" })
metal.index({ "text": "b" })
metal.index({ "text": "c" })
```

[Async example](./examples/example_async.py)

## Testing

```bash
$ python3 -m unittest tests/test_metal.py
```

[Reference](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
arknights-mower 3.4.4
Arknights Helper based on ADB and Python

<div align="center">

![logo](https://github.com/ArkMowers/arknights-mower/raw/main/logo.png)

# arknights-mower

[![GitHub License](https://img.shields.io/github/license/ArkMowers/arknights-mower?style=flat-square)](https://github.com/ArkMowers/arknights-mower/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/arknights-mower?style=flat-square)](https://pypi.org/project/arknights-mower/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/arknights-mower?style=flat-square)](https://pypi.org/project/arknights-mower/)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ArkMowers/arknights-mower/Upload%20PyPI?style=flat-square)](https://github.com/ArkMowers/arknights-mower/actions/workflows/python-publish.yml)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/ArkMowers/arknights-mower/main?style=flat-square)
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/ArkMowers/arknights-mower?style=flat-square)](https://codeclimate.com/github/ArkMowers/arknights-mower)

7\*24 小时不间断长草，让你忘掉这个游戏！

</div>

## ⚠ 注意事项

- 本程序不支持国服以外的明日方舟区服，支持官服和 Bilibili 服。
- 原理上，使用本程序没有任何被判定为作弊并被封号的风险，但是作者不对使用此程序造成的任何损失负责。
- 开发组人数稀少，有时不太能及时反馈和修复 Bug，见谅一下。也欢迎更多有能力有意向的朋友参与。
- 本软件目前仅支持 1920\*1080 分辨率，使用夜神模拟器可以解决大部分问题

## 主要功能

- 自动打开《明日方舟》，支持官服和 Bilibili 服
- 自动登录
  - 账户密码需要手动输入
- 读取基建心情，根据排班表**_动态换班_**力求最高工休比
- 支持**_跑单操作_**，可设置仅跑单模式
- 支持调用 maa 执行除基建外的长草活动
- 支持邮件提醒
- 自动使用菲亚梅塔恢复指定房间心情最低干员的心情并重回岗位（工作位置不变以避免重新暖机） [[参考使用场景](https://www.bilibili.com/video/BV1mZ4y1z7wx)]

## 安装

在 [Releases](https://github.com/ArkMowers/arknights-mower/releases) 下载 Windows 可执行文件版本。
在 [action](https://github.com/ArkMowers/arknights-mower/actions/workflows/pyinstaller-win-shawn.yml) 产物下载最新测试版本
或进入下方 qq 群文件领取，目前软件迭代速度较快，进入群内可获取一手版本

## 使用教程

- 下载安装后，打开软件
- 设置 adb 地址（如 127.0.0.1:5555）
- 配置排班表[[配置方法](https://www.bilibili.com/video/BV1KT411s7Ar)]或前往 qq 群寻找现成的排班表导入
- 点击开始执行
- 详细配置内容请参考[[功能文档](https://arkmowers.github.io/arknights-mower/)]

欢迎大家提交 Pull requests 增加更多的功能！

## 遇到报错？想要更多功能？

如果你在使用过程中遇到问题，欢迎通过提交 Issue 的方式报错或者提问。报告 Issue 时建议附上调试信息以便定位问题。

也欢迎加入交流群讨论：

- [Telegram Group](https://t.me/ark_mover)
- [QQ Group](https://jq.qq.com/?_wv=1027&k=4gWboTVI): 239200680

## Star History

<div align="center">

[![Star History Chart](https://api.star-history.com/svg?repos=ArkMowers/arknights-mower&type=Date)](https://star-history.com/#ArkMowers/arknights-mower&Date)

</div>