Skip to main content

CLI for Pikpak(A web file driver)

Features

  • List all file in a tree
  • Download a whole folder
  • Download files by file name or size matching
  • Download resume(which will create a .part file before finished)

Install

pip install -U pikpak_cli

Usage

pikpak_cli
Current account: ******
Default download dir: ****
session file: .pikpak.session
try typing help
pikpak_cli>help
login
Login account
usage: login [-h] [--password PASSWORD] account [account ...]

exit
Exit cli
usage: exit [-h]

shell

usage: shell [-h]

ls
List current dir files
usage: ls [-h] [--without_audit] [--trash] [--recursion] name [name ...]

cd
Change directory
usage: cd [-h] name [name ...]

download
Download a file or many files in a directory
usage: download [-h] [--includes INCLUDES] [--excludes EXCLUDES] [--dir DIR] [--size SIZE] [--relative_path] [--new_file_name NEW_FILE_NAME] name [name ...]

pwd
Get current path
usage: pwd [-h]

du
Get files's total size
usage: du [-h] name [name ...]

help
Get help information
usage: help [-h]

config
Set default download dir or
usage: config [-h] [--downlaod_dir DOWNLAOD_DIR]

info
Print session info
usage: info [-h]

rm

usage: rm [-h] [--no_trash] name [name ...]

try help!

examples

ls

pikpak_cli>ls .

try --recursion!

cd

pikpak_cli>cd Movie
pikpak_cli>pwd
pikpak_cli>/Movie
pikpak_cli>cd ..
pikpak_cli>

download

download files only bigger than 500M to /mnt with a flat structure:

pikpak_cli>download Movie --size 500M --relative_path --dir /mnt

download all mp4 or mkv files to default download dir:

pikpak_cli>download Movie --includes *.mp4,*.mkv

Metadata

Release files for pikpak-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pikpak-cli 0.1.0
File Size Uploaded
pikpak_cli-0.1.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pikpak-cli 0.1.0
File Interpreter ABI Platform
pikpak_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / pikpak_cli-0.1.0.tar.gz

Download URL pikpak_cli-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a17ebfcbf7428b6f43cf222626d0f242782428801febe74a202c4953f501573d
BLAKE2b-256 checksum
How to use checksums
cf01599d244892efe6705b92e618d17f6da607580f6ba97ad06ce21627d86dac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.10 Linux/5.15.83-1-pve

Release files / pikpak_cli-0.1.0-py3-none-any.whl

Download URL pikpak_cli-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
664b74ba87b66131bc196fcff8767d35c8e96c06c37e9649b53abd634bb60565
BLAKE2b-256 checksum
How to use checksums
3ca50fe34b9383e6a6f2c30eb447d4077140aefc1f3a4d9b8e26a9cc7c4e4a5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.10 Linux/5.15.83-1-pve

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page