semvec/pypi-packages huggingface dataset:
adbili 1.0.0
adb copier for bilibili songs/audios
Requires Python: >=3.11

# adbili

adb copier for bilibili songs/audios

## usage

```bash
adbili --app com.bilibili.app.in # 只处理 Play 版本的下载内容
```

## problems

- 音频文件没有在头部保存如同一般歌曲的缩率图和歌手等歌曲相关信息

## introduction

appId:
- tv.danmaku.bili : 国内版本
- com.bilibili.app.in : Play Version

根路径: `/Android/data/`

目录结构

App
- cache
- download
  - <avid> # avid 不唯一时 说明是合集
    - <cid>
      - <video_quality> # 音质与视频清晰度正相关 360P与1080P有稍微明显一点的差距
        - audio.m4s # 实际的 mp3 音频文件
        - index.json
        - video.m4s
      - danmaku.xml
      - entry.json
- files

> 版本不同 entry.json 里面的字段有差异

video_quality:
- 360P -> 16
- 480P -> 32 (猜测)
- 720P -> 64
- 1080P -> 80

某个视频的音频文件在不同清晰度下的文件大小
- 360P -> 617K
- 720P -> 2.23M

## test

已测试版本
- tv.danmaku.bili : 6.40.0
- com.bilibili.app.in : 3.20.3
已测试系统
- HyperOS 1.0.8
self-code-adk 0.1.8
ADK agent which help in analysing currently running multiagent app
Requires Python: >=3.12
Keywords: adk, agent, code-analyzer

[![PyPI version](https://badge.fury.io/py/self-code-adk.svg)](https://badge.fury.io/py/self-code-adk)

# self code adk

Agent which can read code of currently running application and help analyzing it. Its main purpose is to assist in debugging the whole application by enabling the agent, defined as a developer and multi-agent expert, to read the entire codebase.

## usage

### install the package

```sh
uv add self-code-adk
```
### import it

```python
from self_code_adk.agent import SelfCodeAgent
```

### And add new sub agent

```diff

sub_agents=[gardener, weather],
+# include self_code_agent only for development purposes
+if dev_mode: 
+   self_code_agent=SelfCodeAgent("gemini-2.5-flash-preview-04-17")
+   sub_agents.append(self_code_agent)
root_agent = Agent(
    name="my-fancy-agen",
    model="gemini-2.5-flash-preview-04-17",
    description=("root agent which acts as coordinator"),
    instruction=(
        """
        blah   
        """
    ),
    sub_agents=sub_agent,
)
```

## Security considerations

`self-code-adk` has access to app code and whole filesystem. It states a security risk and should never be run in production. It is designed purerly for local testing within trusted input.

> Note: if instructed in malicious way, it can read any file. For example /etc/shadow. Even if LLM will reject request initialy, there is no secondary protection in place.

## How it works

In short it is an agent with 2 tools:

1. find possible root directory with app code.
2. read the content of repository

Thats is all. LLM with instruction takes care of rest.

## design

`self-code` is just an agent which can access the code. It can be plugged into an multiagent app and then app relevant questions will be delegated on demand.

![design](assets/multiagent.drawio.png "design")

## sample chat

Here is screenshot of sample chat of multiagent app. App contains few agents, and one of them is returning capital cities for a country using a tool. Once asked, `self-code` agent reads and provides feedback on code quality.

![sample chat](assets/sample-chat.png "Sample chat")

## idea definition

[medium](https://medium.com/me/stats/post/d8c08464f293)