A module for some common things
Project description
Pkhelper
Just something to get my work done
Installation
pip install pkhelper
Can download direct link from Command Line.
Usage:
$ pkhelper --ddl your direct link
Can download gdrive files from command line.
Usage:
$ pkhelper --gdrive your link
You can also use it in script.
from pkhelper import gdrivedownload
file=gdrivedownload(url)
As Simple as this
from pkhelper import direct_dl
file=direct_dl(url)
As simple as this.
from pkhelper import direct_dl_async as ddl_a
file=ddl_a(url)
As Simple as this.
You can run bash commands in python and get output
from pkhelper import bash
output=bash("ffmpeg")
As simple as this If you want async bash command then
from pkhelper import bash_async
output=await bash_async("ffmpeg")
You can generate direct download links of all branches of a public github repo
from pkhelper import repo_ddl_link_gen
ddl_list=repo_ddl_link_gen("repository link")
To upload to gofile
from pkhelper import *
json_text,download_page=await gofi_uploader(file)
print(download_page)
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
pkhelper-0.0.30.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for pkhelper-0.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 702f20e631fd001a1b9727fe0ac9f86153a857d8e7810b976e47470bbd6429a9 |
|
MD5 | c73dad7ac06cbdfe7e65db18d21f9542 |
|
BLAKE2b-256 | 74d103496f6c8291bf8a513cc5baf9f271d9acb391fa2f4fc662a486daa398ef |