ds-down
ds-down is a Python 3 program to send URLs and local files to Synology DownloadStation using aforementioned DownloadStations Web API (API pdf).
The main intended use-case is from console and a desktop file for xdg-open or similar tools is provided.
Example config file:
# Example config file, by default it should be located at:
# ~/.config/ds-down.conf
username = admin
host = https://192.168.1.10:5001
passwordeval = gpg --no-tty -d ~/.passwords/synology-admin.gpg
Examples
Send a magnet link to the DownloadStation:
$ ds-down 'magnet:?xt=urn:btih:dbd7d976a5bf566504357bf9f543a37d3513e4df&dn=archlinux-2014.07.03-dual.iso&tr=udp://tracker.archlinux.org:6969&tr=http://tracker.archlinux.org:6969/announce'
Send a locally stored torrent file to the DownloadStation:
$ ds-down 'archlinux-2014.07.03-dual.iso.torrent'
Install
Example of a simple user install with from source:
python3 setup.py install --exec_name="ds_down" --user
The executable console script name can be controlled with the ´–exec_name=´ argument. The default is ´ds_down´. The executable script in this example is placed in ´$HOME/.local/bin´ which can be added to the PATH variable if needed. This also installs needed dependencies.
PyPI Install
Alternatively last published version can be installed from PyPI with pip:
pip3 install --user ds-down
Metadata
Release files for ds-down 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ds-down-0.2.1.tar.gz | 6.8 kB | Without provenance | Details for ds-down-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ds-down-0.2.1.linux-x86_64.tar.gz | Details for ds-down-0.2.1.linux-x86_64.tar.gz |
Total release size: 16.8 kB
Release files / ds-down-0.2.1.tar.gz
| Download URL | ds-down-0.2.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cf08a1ef5538e0083807c8c173ea2b554a570653457c430e9e2f6ab0d6722fd
|
|
BLAKE2b-256 checksum How to use checksums |
a810cd1b4e627ace0e45ddf2f50263aca3d20148d52e47dc80da3c14ca0f56f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ds-down-0.2.1.linux-x86_64.tar.gz
| Download URL | ds-down-0.2.1.linux-x86_64.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82d4e459adfde8a93731bc0e89c629c3c1f0e3a6e84dc54c2178833627c8871e
|
|
BLAKE2b-256 checksum How to use checksums |
6eaea35838a16a11806ea1693fe2b6feba1e3b79cff389b49b414a9d683eb55a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ds-down 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.