Saravanan666/pypi-org huggingface dataset:
Package: whatlang-pyo3
WhatLang ⚡Python Binding for WhatLang, a blazing fast language detection libraryWhatLang is a Python library for detecting the language of a text. It is based on theWhatLangRust library.Installationpipinstallwhatlang-pyo3UsageDetect>>>fromwhatlangimportdetect>>>info=detect("This is written in English")"Language: eng - Script: Latin - Confidence: 0.11450955767632877 - Is reliable: false">>>info.lang"eng">>>info.script"Latin">>>info.confidence0.11450955767632877>>>info.is_reliableFalse>>>info.to_iso()"Language: en - Script: Latin - Confidence: 0.11450955767632877 - Is reliable: false"Detect languageYou can also detect the language of a text without the script and the confidence.>>>fromwhatlangimportdetect_lang>>>detect_lang("This is written in English")"eng">>>detect_lang("Ceci est écrit en français")"fra">>>detect_lang("Ceci est écrit en français").iso"fr"Detect scriptYou can also detect the script of a text without the language and the confidence.>>>fromwhatlangimportdetect_script>>>detect_script("This is written in English")Name:Latin-Languages:spa,eng,por,ind,fra,deu,jav,vie,ita,tur,pol,ron,hrv,nld,uzb,hun,aze,ces,zul,swe,aka,sna,afr,fin,slk,tgl,tuk,dan,nob,cat,lit,slv,epo,lav,est,lat>>>detect_script.name"Latin">>>detect_script.langs['spa','eng','por','ind','fra','deu','jav','vie','ita','tur','pol','ron','hrv','nld','uzb','hun','aze','ces','zul','swe','aka','sna','afr','fin','slk','tgl','tuk','dan','nob','cat','lit','slv','epo','lav','est','lat']Batch detectionYou can also detect the language of a list of texts, and take advantage of the parallelism with the n_jobs parameter.>>>fromwhatlangimportbatch_detect>>>batch_detect(["This is written in English","Ceci est écrit en français"],n_jobs=-1)[LanguageInfo(lang='eng',script='Latin',confidence=0.11450955767632877,is_reliable=False),LanguageInfo(lang='fra',script='Latin',confidence=0.11450955767632877,is_reliable=False)]The performance of the batch detection is much better than the detection of a single text, it can be up to5 times faster.ContributingContributions are welcome! Please open an issue or a pull request.Install maturinWe use maturin for the development of this library.pipinstallmaturinBuildmaturinbuild--releaseLicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: whatmsgsender
WhatMsgSenderWhatMsgSender is a python module for dealing with whatsapp messages scheduleInstallationUse the package managerpipto install WhatMsgSenderpipinstallwhatmsgsenderUsageimportwhatmsgsender#whatmsgsender.sendmsg("your phone number with courntry code","your message",timeofthemessageinhour,timeofmessageinminute)# Example#suppose i have to schedule a message for 10:20AMwhatmsgsender.sendmsg("+919930320XXX","this is an example",10,20)ScreenshotsFirst you have to download the whatsapp desktop softwareCodeAllow the API to open the whatsappAT Correct Time your Message will sendContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: whatnot
Whatnot APIVery early work-in-progress asynchronous API wrapper for and documentation of theWhatnotAPI.RoadmapAuthenticationGet user's livestreamsGet a livestreamGet user by IDGet user by usernameGet account informationGet Explore/Recommendations/Saved Streams/etcDownloadpoetry add whatnotorpip install whatnotExamplecodeDisclaimerThis project is unofficial and is not affiliated with or endorsed by Whatnot.
Package: whatodo
WhatodoDescriptionIn software development and any other area of coding it is a common
occerance to use comments for TODO and FIXME for two examples. It can be
difficult with large files and/or large numbers of files to locate these
comments.whatodo is created to make locating theses comments easier. This app can
read through any number of files and locate these comments returning the
line number of the contents of the actual comment.The application is written in pure Python with the help of the pygments
library. With this library we are able to parse through more than 100+
languages, for a more detailed description seepygments
docsUsageThe most common use case would be scanning a whole source directory
for tags, to achieve this you can do the following:whatodo src/For more info and additional options seewhatodo-hOptions- json
- keyword
- filesJSONChanges the output format to json, useful for automating with other
tools.KeywordThe Keywords are the words searched for in the beginning of a comment to
determine if this is a comment to extract.Defaults to TODO, todo, FIXMEFilesThe Files are the files searched through to locate comments with the
above mentioned Keywords.A list of files or directories to analyze and look for TODO’s. At least
1 file must be provided.InstallingTo install simply do:pip install whatodoLicenseMIT License for more details see /LICENSE
Package: whatpack.py
WhatPack.pywhatpack.py is a Python package that allows you to automate WhatsApp and YouTube tasks in an asynchronous and headless way. It uses asyncpywhatkit and headlesspywhatkit libraries under the hood to provide fast and easy-to-use features. With whatpack.py, you can send messages on WhatsApp without opening the appContributingContributions are always welcome!Seecontributing.mdfor ways to get started.Please adhere to this project'scode of conduct.FAQI am getting error what should i doStep 1:use commandpip install --upgrade whatpack.pystep 2:check examples in examples folderstep 3:open an issue in githubit is not working in linuxcheck if all required dependencies are ready
and open issuesit is not working in windowscheck if all required dependencies are ready
and open issues
Package: whatportis
It’s a common task to search the default port number of a service. Some ports are available in the/etc/servicesfile, but the list is not complete and this solution is not portable.Whatportis is a simple tool that downloads theIana.orgdatabase and uses it to explore the official list of ports.UsageWhatportis allows you to find what port is associated with a service:$whatportisredis+-------+------+----------+---------------------------------------+|Name|Port|Protocol|Description|+-------+------+----------+---------------------------------------+|redis|6379|tcp|Anadvancedkey-valuecacheandstore|+-------+------+----------+---------------------------------------+Or, conversely, what service is associated with a port number:$whatportis5432+------------+------+----------+---------------------+|Name|Port|Protocol|Description|+------------+------+----------+---------------------+|postgresql|5432|tcp,udp|PostgreSQLDatabase|+------------+------+----------+---------------------+You can also search a pattern without knowing the exact name by adding the--likeoption:$whatportismysql--like+----------------+-------+----------+-----------------------------------+|Name|Port|Protocol|Description|+----------------+-------+----------+-----------------------------------+|mysql-cluster|1186|tcp,udp|MySQLClusterManager||mysql-cm-agent|1862|tcp,udp|MySQLClusterManagerAgent||mysql-im|2273|tcp,udp|MySQLInstanceManager||mysql|3306|tcp,udp|MySQL||mysql-proxy|6446|tcp,udp|MySQLProxy||mysqlx|33060|tcp|MySQLDatabaseExtendedInterface|+----------------+-------+----------+-----------------------------------+Installation$pipinstallwhatportisDatabase SyncWhatportis uses a local JSON file (~/.whatportis_db.json) to explore the list of ports. The first usage will create it for you, then you can use the--updateoption to synchronize it :$whatportis--updatePreviousdatabasewillbeupdated,doyouwanttocontinue?[y/N]:yDownloadinghttps://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv...Populatingdatabase...14145portsimported.JSON outputYou can display the results as JSON, using the--jsonoption :$whatportis5432--json[{"name":"postgresql","port":"5432","protocol":"tcp, udp","description":"PostgreSQL Database"}]REST APIWhatportis can also be started as a RESTful API server. This feature is not enabled by default, you must install an extra package :$pipinstallwhatportis[server]$whatportis--serverlocalhost8080*ServingFlaskapp"whatportis.server"(lazyloading)*Environment:prod*Debugmode:off*Runningonhttp://127.0.0.1:8080/(PressCTRL+Ctoquit)The endpoints are/portsfor the whole list (can be long) and/ports/<search>to search a specific port :$curlhttp://127.0.0.1:8080/ports/3306{"ports":[{"description":"MySQL","name":"mysql","port":"3306","protocol":"tcp, udp"}]}$curlhttp://localhost:8080/ports/redis{"ports":[{"description":"An advanced key-value cache and store","name":"redis","port":"6379","protocol":"tcp"}]}You can use the?likeparameter to search a pattern.
Package: whatprovides
whatprovidesis a package that allows you to search for python modules that contain declared classes,
functions and variables by the name of the search object.This is an analogue of theyum whatprovidescommand inCentos.Search is performed in the current active virtual environment.For example:whatprovidesArgumentParserWill return something like this:class: ArgumentParser: /usr/lib/python3.7/argparse.pyDocumentationhttps://whatprovides.readthedocs.io
Package: whats
Search keyword use Google, Print first link’s text contentUsage$ whats ‘美丽新世界’Install$ pip install whatsProxyshadowsocks proxy example:$ export http_proxy=’socks5h://127.0.0.1:1080’
$ export https_proxy=’socks5h://127.0.0.1:1080’
$ whats ‘美丽新世界’LicenseMIT
Package: whats2df
Finding certain messages in your WhatsApp message is sometimes hard, but Pandas makes it easier. Doesn't require root access!Tested against Google Pixel 6 / Windows 10 / Python 3.10Tutorial (Brazilian Portuguese)https://www.youtube.com/watch?v=KG_xC2TmbDopipinstallwhats2df# This is the updated version of https://github.com/hansalemaos/a_pandas_ex_whatsapp_to_dfFollow these steps if you want to avoid rooting your cell phone:Open WhatsApp on your Android device.Tap the three-dot overflow menu button and navigate to "Settings > Chats > Chat backup".Tap End-to-end encrypted backup, then tap "Turn on".Create a 64-digit key and save it! You will need it! DON'T CREATE a password!Tap Create and wait for WhatsApp to create an encrypted backup.Copy the backup from your Android device to your computer (File path on my device: storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Databases/msgstore.db.crypt15  - You can localize the file usinghttps://pypi.org/project/a-pandas-ex-adb-to-df)Function - Pythonfromwhats2dfimportconvert_whatsapp2pandasconvert_whatsapp2pandas(decryptkey="e2c412cea3b0a662e47a2062fffa0db7cf7cca093636abf5bca6e701a6fae3bc",encrypted_db=r"C:\Users\hansc\Desktop\msgstore.db.crypt15",decrypted_db=r"C:\Users\hansc\Desktop\msgstore.db",# doesn't exist yetoutput_df=r"C:\Users\hansc\Desktop\msgstore.plk",# doesn't exist yetdownload_sql_dll=True,# downloads "https://www.sqlite.org/2023/sqlite-dll-win64-x64-3420000.zip" and extracts it to ./DLLs)CLI# adjust the path to "whats2df.py"

python C:\ProgramData\anaconda3\envs\nu\Lib\site-packages\whats2df\whats2df.py --decryptkey e2c412cea3b0a662e47a2062fffa0db7cf7cca093636abf5bca6e701a6fae3bc --encrypted_db C:\Users\hansc\Desktop\msgstore.db.crypt15 --decrypted_db C:\Users\hansc\Desktop\msgstore.db --output_df C:\Users\hansc\Desktop\msgstore.pkl --download_sql_dll 1
Package: whats-api
Whats APIOpen source module for sending messages to WhatsApp based on SeleniumInstallationYou can install the latest version with the command:pipinstallwhats-apiOr you can install from GitHub:pipinstall-Uhttps://github.com/neluckoff/whats_api/archive/master.zipSending a messageMore detailed example herefromwhats_apiimportClient,Userclient=Client()user=User(client)name=user.get_name()status=user.get_status()message=f"Hello, this is{name}.\n"\f"Have you seen my status - ({status})?"client.message_send("+79266569989",message)ContributingI have a positive attitude towards PR and pull requests. Glad to see that people like the package.In the plans: add the ability to send messages with an image and videoCreator:@neluckoffLicenseCopyright © 2022neluckoff.This project isMITlicensed.
Package: whatsapie
whatsapieUnofficial wrapper for Meta'sWhatsapp Cloud APIwritten in PythonINSTALL$pipinstallwhatsapie!!! notewhatsapie requires python 3.10 or abovePREREQUISITESFollow Meta'sWhatsapp Cloud API Documentationand obtain, meta business appACCESS_TOKENandPHONE_NUMBER_IDDocumentationGet startedhereCONTRIBUTIONThis repo is open for contribution. I'd love some contributionhereMaintained byAadil Varsh
Package: whatsapp-analyzer
Whatsapp AnalyzerA data science-based package that aims to provide insights and analysis on your WhatsApp chat data. Using this package, you can easily import your WhatsApp chat history and visualize the data through various charts and graphs. The package allows you to analyze the most active users in the chat, the most common words used, and the frequency of messages sent at different times.Whether you're interested in analyzing your personal chat history or conducting research on communication patterns, the WhatsApp Analyzer package provides a user-friendly platform to visualize and interpret your chat data.Installationpip install whatsapp-analyzerGetting StartedThe library is intended to perform data analysis on your group chats or individual chats that can be downloaded from WhatsApp using the proceedure below:Go to WhatsApp Chat > tap More options (â‹®) > then More > Now tap on Export chat > Choose whether to export without media > your chat history as a .txt document will be availableReading the Data from .txt File:from whatsapp_analyzer.read import read_txt

data = read_txt("ENTER THE PATH OF THE CHAT FILE")

""" To visualize the data in file"""

print(data)Pre-processing the Data from .txt File:In order to perform data analysis and visualization on the data it needs to be pre-processed in a way it is understandable to derive the relationships amongst the parameters.from whatsapp_analyzer.preprocessor import preprocess

preprocessed_data = preprocess(data)

print(preprocessed_data)`Visualizing the Data from .txt File:There is wide range of options provided to analyze the chat history:Number of Messages:from whatsapp_analyzer.stats import message_count

  message_count(preprocessed_data)Number of Media:from whatsapp_analyzer.stats import media_count

  media_count(preprocessed_data)Number of Words:from whatsapp_analyzer.stats import word_count

  word_count(preprocessed_data)Number of Links:from whatsapp_analyzer.stats import links_count

  links_count(preprocessed_data)Most Busy User:from whatsapp_analyzer.stats import most_busy_users

  most_busy_users(preprocessed_data)Word Cloud:from whatsapp_analyzer.stats import create_wordcloud

  create_wordcloud(preprocessed_data)Frequently Used Words:from whatsapp_analyzer.stats import most_common_words

  most_common_words(preprocessed_data)Frequently used Emoji:from whatsapp_analyzer.stats import emoji

  emoji(preprocessed_data)Monthly Timeline:from whatsapp_analyzer.stats import monthly_timeline

  monthly_timeline(preprocessed_data)Daily Timeline:from whatsapp_analyzer.stats import daily_timeline

  daily_timeline(preprocessed_data)Weekly Activity Map:from whatsapp_analyzer.stats import week_activity_map

  week_activity_map(preprocessed_data)Monthly Activity Map:from whatsapp_analyzer.stats import month_activity_map

  month_activity_map(preprocessed_data)Activity Heat Map:from whatsapp_analyzer.stats import activity_heatmap

  activity_heatmap(preprocessed_data)
Package: whatsappapi
NEW METHOD FOR FIND THE CONTACTSDOCUMENTATION INhttps://github.com/oneXD/whatsappapi/wiki/DocumentationCOMPLETED:Suport for ChromeSuport for FirefoxSend messagesSend ImagesSend FilesSend DocumentsCreate groupsChange ThemeChange NameChange PhotoChange DescriptionBlock ContactUnblock ContactCookies Suport In ChromeTO DO:Send RoomsSuport for OperaSuport For EdgeSuport for Internet ExplorerCookies Suport In Firefox
Package: whatsapp-auto
whatsappWhatsApp Web Automation Library using selenium.whatsappIt is a Simple WhatsApp Web Automation Library using selenium.Installationpip install whatsapp-autowhatsapp-auto officially supports Python 3.7+.UsageDefaultimportwhatsapp_autowhatsapp=whatsapp_auto.Login()# Scan the qr codewhatsapp.send_message(phone_no,message)# whatsapp.send_message('+919372091360','hii')Send Filewhatsapp.send_file(phone_no,file_path,caption)# whatsapp.send_file('+919372091360','/Users/anish/Desktop/whatsapp/Image.png','image')Send Multiple Filewhatsapp.send_multiple_files(phone_no,folder_path,caption)# whatsapp.send_multiple_files('+919372091360','/Users/anish/Desktop/whatsapp/','image')Send Message to Groupwhatsapp.send_message_to_group(group_link,message)# whatsapp.send_message_to_group('J6iHb0tR0ky5lJITHLV03b','hi')Send File to Groupwhatsapp.send_file_to_group(group_link,file_path,caption)# whatsapp.send_file_to_group('J6iHb0tR0ky5lJITHLV03b','/Users/anish/Desktop/image.png')Send Multiple File to Groupwhatsapp.send_multiple_files_to_group(group_link,folder_path,caption)# whatsapp.send_multiple_files_to_group('J6iHb0tR0ky5lJITHLV03b','/Users/anish/Desktop/whatsapp/')To close browserwhatsapp.close()
Package: whats-app-bot
WhatsAppBotThis module helps is automating whats app chatsThings you should haveChrome driverSelenium InstalledDownload chrome driver from herehttps://chromedriver.chromium.org/downloadsInstall seleniumpip install seleniumInstallationUse the package managerpipto install foobar.pipinstallwhats_app_botUsagefromwhats_app_botimport*bot=WhatsAppBot()bot.send_text_to('username','message','numberoftimes')# numberoftimes has default value as 1
Package: whatsappbot-selenium
Whatsappbot-seleniumGetting StartedDependenciesYou need Python 3.7 or later to usepacotepypi. You can find it atpython.org.
You also need setuptools, wheel and twine packages, which is available fromPyPI. If you have pip, just run:pip install selenium
pip install webdriver-managerInstallationClone this repo to your local machine using:git clone https://github.com/matcarvalho/whatsappbot-selenium.gitFunctionsSend Menssage with Selenium by WhatsappParameters: Contact  (Name the person or Group) and messageDelete Menssage with Selenium by WhatsappParameters: Contact (Name the person or Group)Exampleimport Whatsappbottest = Whatsappbot()test.send_message("Lucas","Hi, your tracking code is 12312")test.delete_message("Lucas") -> Will delete the last message
Package: whatsapp-business-api
Whatsapp Business Cloud APIThis repository is a wrapper for Meta's Whatsapp Business Cloud API.Usefromwhatsapp_business_apiimportWhatsappAPIphone_number_id='YOUR_SENDER_ID'access_token='YOUR_ACCESS_TOKEN'w=WhatsappAPI(phone_number_id=phone_number_id,access_token=access_token)w.send_text_message(to='49xxxxxxxxxxx',message='This is a test!')
Package: whatsappchat2dataframe
whatsappChat2dataFrameCurrently experimenting and planning!Developed by Kiran Busch 2023Examples of How To Use (Buggy Alpha Version)Creating a Converter and calling chat2dataframe function#load package with converterfromwhatsappchat2dataframeimportConverter#create converterconv=Converter()#create dataframe from whatsapp .txt filefile_path='data/_chat.txt'df=conv.chat2dataframe(path_to_filename=file_path)
Package: whatsappchatbot
Whatsapp ChatbotChatbot trained using your whatsapp chat history.
Steps to run the program:download your whatsapp chatspip install whatsappchatbotimport whatsappchatbotwhatsappchatbot.start_chat("Your-contact's-name-same-as-in-the-file", "Your-name-same-as-in-the-file", "Chatfile-location")scan qr after whatsapp page loads up on your chrome browser and wait for main page to load and then press enter on your terminal or whatever you are running the code on.
Package: whatsappchatbot-kc
WhatsappBOTIt's an automated whatsapp bot which can serve as chatbot and can perform search operations on google, youtube, wikipediaIt can automatically fetch for new messages and reply to the user.Libraries used -
Chatterbot - For chatBot
Selenium - for controling browser and scrapping and sending messages
os - to run existing chrome sessionImportant -1- you just need to login to chrome using whatsapp web Once. This doesn't run on chromedriver and hence you
you won't have to login again and again.
2 - create a whatsapp group with name "Standby".
3 - To train the bot for personal use please refer to ::
please contact me atsrivastavas08@gmail.com4 - Nothing else needed just enjoy
Package: whatsappchattingbot
WhatsappBOTIt's an automated whatsapp bot which can serve as chatbot and can perform search operations on google, youtube, wikipediaIt can automatically fetch for new messages and reply to the user.Libraries used -Chatterbot - For chatBotSelenium - for controling browser and scrapping and sending messagesos - to run existing chrome sessionImportant -1- you just need to login to chrome using whatsapp web Once. This doesn't run on chromedriver and hence youyou won't have to login again and again.2 - create a whatsapp group with name "Standby".3 - To train the bot for personal use please refer to ::please contact me at srivastavas08@gmail.com4 - Nothing else needed just enjoy
Package: whatsapp-cli
whatsapp-cli[Disclaimer] This is not a usable solution. I will not be able to provide any support.LimitationsYou cannot initiate chat with users from whom you have not received a notification in the recent past. This is a pushbullet limitation as it uses reply to notification to send messages. I need to explore on using whatsapp web instead of pushbullet.RequirementsThis CLI usesPushbullet APIsto receive and send messages.Pushbullet Appmust be installed on your phone.Pushbullet API token can be generated fromhereYou must be getting whatsapp notifications on your device for this to work.To be able to send messages you need to receive at least one message after starting the application for seeding the conf (default location ~/.whatsapp-cli/conf).Tested with python2.7Installationpip install whatsapp-cliUsageInteractive (Curses) Mode -Usage: whatsapp-cli [OPTIONS]

Options:
  --token TEXT  Pushbullet API token  [required]
  --dir TEXT    data directory (default is ~/.whatsapp-cli)
  --help        Show this message and exit.Command Line Mode -Usage: whatsapp-cli [OPTIONS] COMMAND [ARGS]...

Options:
  --token TEXT  Pushbullet API token  [required]
  --help        Show this message and exit.

Commands:
  add    Add a contact
  read   Read messages from a person/group
  send   Send message to a person/group
  users  List all contactsCommands ReferenceUsage: whatsapp-cli add [OPTIONS]

  Add a contact

Options:
  -u TEXT  Name of the person/group as it appears in your contacts  [required]
  -m TEXT  12 digit mobile number  [required]
  --help   Show this message and exit.


Usage: whatsapp-cli read [OPTIONS]

  Read messages from a person/group

Options:
  -u TEXT  Name of the person/group. Partial names are allowed
  --help   Show this message and exit.


Usage: whatsapp-cli send [OPTIONS]

  Send message to a person/group

Options:
  -u TEXT  Name of the person/group or 12 digit mobile number. Partial names
		   are allowed  [required]
  -m TEXT  Message to be sent  [required]
  --help   Show this message and exit.


Usage: whatsapp-cli users [OPTIONS]

  List all contacts

Options:
  --help  Show this message and exit.