Skip to content

ItsAtlant/Davipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Davipy 🐉

Davipy is a Python library that provides a set of useful functions to simplify programming tasks. It includes various functions that can streamline common operations and reduce code complexity.

Installation🔭

You can install Davipy using pip, so type in shell:

pip install davipy

Features:bulb:

  • Image Downloader: Given a URL, the downloadallimg(url) function creates a folder and downloads all the images from the website.

  • Even Number Check: The function iseven(number) returns True if a number is even, and False otherwise.

  • Odd Number Check: The function isodd(number) returns True if a number is odd, and False otherwise.

  • Prime Number Check: The function isprime(number) returns True if a number is prime, and False otherwise.

  • Website Link Collector: Given a URL, the listlink(url) function creates a folder and generates a TXT file containing all the links on the website.

  • Ping Function: The ping(url) function checks the reachability of a website and returns a boolean value basing on if the site is reachable or not.

  • Remove Duplicates: The function listremoveduplicate(input_list) removes all duplicates from a given list.

  • Dataframe Report: The reportfile(dataframe) function generates a report for a given DataFrame. The report includes the first and last 10 rows and provides statistics on NaN values.

  • Single Image Downloader: The function imgsingledownload(url) allows for downloading a single image from a given URL.

  • String Case Conversion: The functions stringUPPER(string, start_num_chars, stop_num_chars) and stringlower(string, start_num_chars, stop_num_chars) convert a specified number of characters in a string to uppercase or lowercase, respectively.

About

A library for shortcuts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages