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")
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.36.tar.gz
(11.3 kB
view hashes)
Built Distribution
pkhelper-0.0.36-py3-none-any.whl
(13.7 kB
view hashes)
Close
Hashes for pkhelper-0.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a68181104be909185f91abafe67ef9e896f36e40d72cb33f46718e1b4d6696 |
|
MD5 | 9c600ac85cb990d0fca5d4dd149aef36 |
|
BLAKE2b-256 | 6a76e04690757bbafc38936226e3c0acc24dddb6703df674acdaa1dca6aa794f |