DJI DSP Tools for Python
Project description
DJI DSP 工具
简介
本工具提供了一些处理 DSP 文件的常用工具,包括
- 编解码工具 dsp-codec
- and more
安装
使用 PyPI 安装
目前只上传到 TestPyPI 网站
运行命令
pip install -i https://test.pypi.org/simple/ dspy_tool
使用源码安装
需要您提前安装 Python, Git 以及 flit 包
- 克隆本项目或下载 zip 文件
克隆命令
Using SSHgit clone git@github.com:RMYC-Lab/dspy-tool.git
or using HTTPSgit clone https://github.com/RMYC-Lab/dspy-tool.git
- 进入项目文件夹
cd dji-dsp-tools
- 安装
flit install
DSP 编解码工具 dsp-codec
命令
python -m dspy_tool.cli.dsp_codec 或者
dsp-codec input [--output OUTPUT] [--file-name FILE_NAME]
[--std-out] [--raw] [--delete-comments]
[--title TITLE] [--creator CREATOR]
[-h] [--version]
参数
- input: 输入文件路径 (
.dsp或.py格式文件) -o OUTPUT, --output OUTPUT: 输出文件夹路径-f FILE_NAME, --file-name FILE_NAME: 输出文件名-s, --std-out: 输出到标准输出 (打印到屏幕上)-r, --raw: 输出为原始数据 (DSP 解码后 xml 文件)--dc, --delete-comments: 删除图形化块注释 (以#block开头)-t TITLE, --title TITLE: 设置文件标题-c CREATOR, --creator CREATOR: 设置文件创建者--debug: 输出调试信息-h, --help: 显示帮助信息-v, --version: 显示版本信息
常见问题 Q&A
-
Q: 为什么我安装不了?
A: 请检查你的 Python 版本,本工具需要 Python 3.8 或以上版本
-
Q: 提示找不到文件?
A: 请检查你的环境变量是否配置正确,或者使用
python -m dspy_tool.cli.TOOL_NAME命令
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dspy_tool-0.0.2.tar.gz
(17.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dspy_tool-0.0.2-py3-none-any.whl
(19.3 kB
view details)
File details
Details for the file dspy_tool-0.0.2.tar.gz.
File metadata
- Download URL: dspy_tool-0.0.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a80eadc0d34f7e6bd064eff98323aaeeb7eecce99eccade39fdd75cce5bea196
|
|
| MD5 |
dd71d996955bba21c17c10bae93090ee
|
|
| BLAKE2b-256 |
f0dfc8fa47fa8f336d5666cb9d8db608fcb917797821f5058c5cc5fe79d4413d
|
File details
Details for the file dspy_tool-0.0.2-py3-none-any.whl.
File metadata
- Download URL: dspy_tool-0.0.2-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
002b6fd56c77e71e9aad53343b24fd87ffbbc7712fa8d5145e7fd39d98f9f03d
|
|
| MD5 |
f11a660cdaa9f71dd26b3762839b76b2
|
|
| BLAKE2b-256 |
bd0189859a6f81f431d094c2bacbcb017ca28cb8f4430b6e82c5b94ed2ac4b7c
|