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.25.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for pkhelper-0.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c17e4532fe2156906475ab0d3e2bd2dbb9c29768955962fe9f76863da752e0 |
|
MD5 | 36720ae42bf08de62cef989b660e10df |
|
BLAKE2b-256 | 64f34a36b0a271ab010057f979f7bdc434c4dc40d5256f13e6fa419e0f113358 |