From bd9964a568578d2b824e2afeda59124842583bb0 Mon Sep 17 00:00:00 2001 From: diveshlunker Date: Tue, 14 Apr 2020 19:36:57 +0530 Subject: [PATCH] Stable Version Completed --- dist/whatsall-0.0.6.tar.gz | Bin 0 -> 2436 bytes setup.py | 4 ++-- whatsall/whatsall.py | 44 ++++++++++++++++++++++++++++--------- 3 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 dist/whatsall-0.0.6.tar.gz diff --git a/dist/whatsall-0.0.6.tar.gz b/dist/whatsall-0.0.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..17bc9d5eac6358f3964677f80d3b417984b8d8a8 GIT binary patch literal 2436 zcmV-~348V*iwFqFx0PN3|72-%bX<36VRUn0Y-}wsE-)@OE_7jX0PR_AZ`(K$?q>u3 z4?G=E+m~2=ixaE?-!0c?VScl zB#|@Zym9!DzFK)wcwyM>yM6bt_v9g{4|H^Nq@F<4r+OcZ4iCno(dcLZ?SsL=(dY>o zKY0Yog!EEE?!`#kxIYP9mE-^6%|E-ZPhP#h_xK+k9)2tSgYkG&iT`kXbnt}q>-ax7 zy`$0#Jn41+MN`3eJRt*j&}^J|5uFf|9L+}2tJ0*|_>@JFm#!z|IFmf`Bqf5z0gIO; zqC$8}DhQ8r`6MBdlbFO=G^Z)y3z7*Kj$ARh;+Z7$lEy@Mmnbb)H0NtJe&G@ACNS27 ztfWlDq}N-5NH%wU9`yotNyRG6;tQJgHj08iE1pis3)M~Ds(#blrIE+N3DL5_*Pn*Z zme_&=HXCo5Ph$bIy?cGyY`oxCamc-(`}yPB-4*D0slS4bp7N6mspT$zgTbiqQ5>mA4>BKh=|RUlq-DX^v4l{92FF>zXzWvz%SVH- zm6=a@!hB@-#250)OKE9dX#Y85VE}AAtVrhGMxOVdUX$Y_N%N-DMfje3^Pt zgqiZziaY#ep7O`;W^*WyDv3_!~s;U8ENbb^=?0H!PdVS6??3jgpv;iH(N$cPa#E| zs{|n}TS9yePw?RLuYrC-U>tuBQJ8~X@x3D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$5ojqg0)QMoVIOn|u=MoAmRNJ$`xq1xMBY$mGRKQq##aNiIPHwKz zLK#=35~A_;*UoNy2-n@0C#Nqze%m{v&LgggGPbbSiT?3J=;fb(?B@qEJdgc>rBh_Q zJ$A*@Y^sy2+R9vLXGy!-0hzH)z*2aav)DF#m)ZWzXLa_REfd>}d#pO9w%&!60clVu z_=puxJGiYM_Y}gN{d%ht^>H5u&1&*QKxAfVA>{aZmW~e>JgNN3Hlqc=)+)aGzkY{eALN2ITlUwik^jTBQSO1(= zQ%yD1R8vhg)l^eWHPuv8O*Pe2Q%yD1R8vhg)l^eWHPuv8O*Pf@==3|7cGM;SPyhhA C7Q@H@ literal 0 HcmV?d00001 diff --git a/setup.py b/setup.py index d71b88d..abfde88 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,13 @@ setup( name = 'whatsall', packages = ['whatsall'], - version = '0.0.6', + version = '1', license='MIT', description = 'Automate sending messages on whatsapp to n number of users without even saving the number', author = 'Divesh Lunker', author_email = 'diveshdj92@gmail.com', url = 'https://github.com/diveshlunker/whatsall', - download_url = 'https://github.com/diveshlunker/whatsall/archive/0.0.6.tar.gz', + download_url = 'https://github.com/diveshlunker/whatsall/archive/1.tar.gz', keywords = ['whatsapp', 'automated messaging', 'whatsapp web','whatspip'], install_requires=[ "selenium" diff --git a/whatsall/whatsall.py b/whatsall/whatsall.py index 83c011d..7613f40 100644 --- a/whatsall/whatsall.py +++ b/whatsall/whatsall.py @@ -46,7 +46,6 @@ def total_check(diff_location): else: check2 = driver_check(location) if(check2): - print("Opening Whatsapp...") startdriver(location) else: print("Download the Chrome driver exe file and unzip it and save it and then continue.") @@ -58,25 +57,51 @@ def total_check(diff_location): def start(diff_location="C:\Drivers\chromeDriver\chromedriver.exe"): global total_check total_check = total_check(diff_location) - print(total_check) def helpdesk(self): - print("--------------------------------------------------------") - print("Welcome to Whatsapp Automated Messaging Library") + print("-------------------------------------------------------------------------") + print("Welcome to Whatsapp Automated Messaging Library - WhatsAll") print("Developed by Divesh Lunker") - print("Contribute @diveshlunker/whatsapp on github") - print("--------------------------------------------------------") + print("Contribute @diveshlunker/whatsall on github") + print("-------------------------------------------------------------------------") print("This library is totally unofficial and use it totally at your own risk") print("We do not take any responsibility for anything if goes wrong") print("--------------------------------------------------------------------------") print(""" Follow the below instructions for easy use of this library - 1. message() - Use this function in order to set the message to be sent - A list should be sent containing the message with each value in list depicting a new line of message - 2. + 1. start([location of chrome driver]) - use this function to start whatsall - If all the libraries are properly + installed, you can proceed further. The parameter is optional. + The default location of driver is:- C:\Drivers\chromeDriver\chromedriver.exe + If you save the driver in the particular location, sending location of driver + each time won't be required. + + 2. startWeb(number,country_code) - send the number from which you wish to send for a trial purpose. + + 3. message(list_message) - Use this function in order to set the message to be sent. + A list should be sent containing the message with each value + in list depicting a new line of message + + 4. numbers(list_numbers,country_code) - send the list of numbers whom you wish to send message with country_code + as second parameter + + 5. number(number,country_code) - Instead of list, individual number can be sent. + + 6. speed(time_in_seconds) - send time in seconds - increase if your internet is slow in order to send message properly. + + 7. stop() - use this function to stop messaging and close the chrome driver + + ------------------------------------------------------------------------------------------------------------------------ + + Additional Functionality will be added soon. + Feel free to contribute to the library. + + Contact developer @:- + Gmail - ndiveshjain@gmail.com + Github - @diveshlunker + Linkedin - @divesh-jain-652973145 """) @@ -161,5 +186,4 @@ def stop(): global total_check driver.close() total_check = False -start()