Skip to main content

A module for some common things

Project description

Pkhelper

Just something to get my work done


PyPI - Downloads

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


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)

Uploaded Source

Built Distribution

pkhelper-0.0.36-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page