Saravanan666/pypi-org huggingface dataset:
Package: whatsappening-cli
WhatsAppeningOverviewWhatsAppening tracks a user's Whatsapp activity using Selenium on WhatsApp Web. The tracked data will be displayed in the terminal, written to a CSV file & pushed to Firebase Realtime Database.WhatsAppening-Firebasecontains necessary files to setup Firebase Hosting and Firebase Cloud Messaging for Realtime Push Notifications.RequirementsPython 3Firefox Browsergeckodriver(Will be downloaded automatically from v1.3.0+)InstallationWhatsAppening is available on PyPI. You can install the latest version using pip.pip install whatsappening-cliTo Install the previous version without Firebase Realtime Database support.pip install whatsappening-cli==1.1.1UsageMake sure you're executing it from the directory containing 'FirebaseAdminSDK.json'.whatsappening-cliTo use the previous versions (1.1.1 and below) without Firebase Realtime Database support, Make sure you're executing it from the directory containing 'geckodriver'.Developmentgit clone https://www.github.com/KarthikeyanRanasthala/WhatsAppening.gitLimitationsYou can track only one target-user at once.You need to have an active chat with the target-user. Be a day old or a year old chat. It's a Whatsapp Web limitation.
Package: whatsapp-media-tools
whatsapp-media-toolsPython scripts to manage WhatsApp media backups for archival purposes.UsageInstallationpip install whatsapp_media_toolsRestoring exif datesusage: restore-exif [-h] [-r] [-m] [-v] path

Restore discarded Exif date information in WhatsApp media based on the filename. For videos, only the created and modified dates are set.

positional arguments:
  path             Path to WhatsApp media folder

options:
  -h, --help       show this help message and exit
  -r, --recursive  Recursively process media
  -m, --mod        Set file created/modified date on top of exif for images
  -v, --version    show program's version number and exitFinding duplicate media filesusage: find-duplicates [-h] [-c CHUNK_SIZE] [-f] [-r] [--dry-run] [-v] path

Remove duplicated media, preserving the file with the shortest filename or earliest date encoded in the filename.

positional arguments:
  path                  Path to WhatsApp media folder

options:
  -h, --help            show this help message and exit
  -c CHUNK_SIZE, --chunk-size CHUNK_SIZE
                        Chunk size for heuristic, smaller values are generally faster but if many files have identical starting chunks, performance degrades as more full hashes are computed
  -f, --force           Delete duplicates without prompting
  -r, --recursive       Recursively process media
  --dry-run             Dry run deletion (no files deleted)
  -v, --version         show program's version number and exitLicenseMIT LicenseOriginal work byWill Ho
Package: whatsapp-parse
WhatsApp Chat ParserIntroductionWhatsApp Parser is a tool designed to simplify the process of parsing text data extracted from WhatsApp conversations. It aims to provide users with an easy-to-use interface for extracting meaningful information from chat logs, such as timestamps, sender names, and messages.pip install whatsapp-parseFeaturesExtract conversation data including date, time, sender, and message content.Parse chat logs into a Pandas DataFrameDirectly output a CSV file from the command line.Future UpdatesSupport for additional date and time formats.Add more output formats.Add media attachments handling.ContributingWe welcome contributions to the WhatsApp Chat Parser project. If you have suggestions or improvements, please open an issue or submit a pull request.ContactFor any questions or feedback, please contact meHassn Hamadaathassneltokhy4@gmail.com.
Package: whatsapp-python
whatsapp-pythonFree, open-source Python wrapper for theWhatsApp Cloud API.Forked fromNeurotech-HQ/heyooSupported featuresListening to events (messages, media, etc.)Sending messagesMarking messages as readSending Media (images, audio, video and documents)Sending locationSending interactive buttonsSending template messagesParsing messages and media receivedDocsDocs are available in thewikisection on GitHub.Why choose this library?The main reason why I decided to fork the original library is that it uses an old version of the API and doesn't support many features.In this library I added app events (to listen to incoming messages) and implemented an easier way to send/receive messages and media by creating theMessageobject.I fixed some bugs and added some features, but the library still needs a lot of work to be done even if it's working and usable.InstallationTo install the library you can either use pip (latest release version):pip install whatsapp-pythonor git (latest development version):gitclonehttps://github.com/filipporomani/whatsapp.gitcdwhatsapp
python3setup.pyinstallObtaining the WhatsApp API credentialsTo use the WhatsApp API you need to create a Facebook Business account and a WhatsApp Business account.To create an account, I recomend to followthis videoCosts of the APIWhile using third-party API providers of the WhatsApp API may have some monthly fees, using the WhatsApp API provided directly by Facebook is way cheaper, even if the billing docs are pretty hard to understand.
The first 1000 chats created are free, then there is a pay-as-you-go fee that is paid for each conversation started.IMPORTANT: it is now mandatory (at least it was for me) to add a credit card to the whatsapp account to use the service. I eventually got billed for using a non-test number (~1,20€), so be carefull using the API! I'm not responsible for any costs you may have using the API.A suggestion I can give you is to use a test number (you can get one for free and use it for testing purposes only).All the prices are available in theWhatsApp API docsSwitching fromNeurotech-HQ/heyooYou can ignore this if it's your first time using the library.Any version >1.1.2 is incompatible with the originalheyoolibrary! Be careful updating! Read the docs first!
Any version <=1.1.2 is fully compatible with the originalheyoolibrary and doesn't include any breaking change..Switching from heyoo to whatsapp-python doesn't require any change for versions up to 1.1.2: just uninstallheyoo, installwhatsapp-python==1.1.2and change the import name fromheyootowhatsapp.
For version which are GREATER THEN 1.1.2, messages have became objects, so you need to change your code to use the new methods.Note: docs for version 1.1.2 are available in thededicated wiki page.IssuesIf you are facing any issues or have any questions, please open an issue on theGitHub repositoryContributingThis is an opensource project published under theMIT License:LICENSE.ReferencesWhatsApp Cloud API official documentation
Package: whatsapp-python-sdk
Getting Started with WhatsApp Cloud APIIntroductionWelcome to the WhatsApp API from Meta.Individual developers and existing Business Service Providers (BSPs) can now send and receive messages via the WhatsApp API using a cloud-hosted version of the WhatsApp Business API. Compared to the previous solutions, the cloud-based WhatsApp API is simpler to use and is a more cost-effective way for businesses to use WhatsApp. Please keep in mind the following configurations:NameDescriptionVersionLatestGraph API version. For example: v13.0User-Access-TokenYour user access token after signing up atdevelopers.facebook.com.WABA-IDYour WhatsApp Business Account (WABA) ID.Phone-Number-IDID for the phone number connected to the WhatsApp Business API. You can get this with aGet Phone Number ID request.Business-IDYour Business' ID. Once you have your Phone-Number-ID, make aGet Business Profile requestto get your Business' ID.Recipient-Phone-NumberPhone number that you want to send a WhatsApp message to.Media-IDID for the media tosend a media messageormedia template messageto your customers.Media-URLURL for the media todownload media content.Install the PackageThe package is compatible with Python versions3 >=3.7, <= 3.9.
Install the package from PyPi using the following pip command:pipinstallwhatsapp-python-sdk==1.0.0You can also view the package at:https://pypi.python.org/pypi/whatsapp-python-sdkInitialize the API ClientNote:Documentation for the client can be foundhere.The following parameters are configurable for the API Client:ParameterTypeDescriptionversionstringDefault:'v13.0'environmentEnvironmentThe API environment.Default:Environment.PRODUCTIONhttp_client_instanceHttpClientThe Http Client passed from the sdk user for making requestsoverride_http_client_configurationboolThe value which determines to override properties of the passed Http Client from the sdk userhttp_call_backHttpCallBackThe callback value that is invoked before and after an HTTP call is made to an endpointtimeoutfloatThe value to use for connection timeout.Default: 60max_retriesintThe number of times to retry an endpoint call if it fails.Default: 0backoff_factorfloatA backoff factor to apply between attempts after the second try.Default: 2retry_statusesArray of intThe http statuses on which retry is to be done.Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]retry_methodsArray of stringThe http methods on which retry is to be done.Default: ['GET', 'PUT']access_tokenstringThe OAuth 2.0 Access Token to use for API requests.The API client can be initialized as follows:fromwhatsappcloudapi.whatsappcloudapi_clientimportWhatsappcloudapiClientfromwhatsappcloudapi.configurationimportEnvironmentclient=WhatsappcloudapiClient(access_token='AccessToken',environment=Environment.PRODUCTION,version='v13.0',)AuthorizationThis API usesOAuth 2 Bearer token.List of APIsBusiness ProfilesPhone NumbersTwo-Step VerificationMessagesRegistrationMediaClasses DocumentationUtility ClassesHttpResponseHttpRequest
Package: whatsapp-scraper
Whatsapp-Web-Scraper-The Most Powerful Contact Scraper for Whatsapp Web.Why the most powerful?This powerful scraper is based on non-dynamic selectors, with well-structured and thought-out strategies for finding elements on the page. That's why it doesn't get lost with the change of classes and id's that happen in apps like instagram, whatsapp among others. Having a much longer lifetime and providing more security in its implementation.How to install:To run you need chrome installed.pip install --upgrade selenium
pip install --upgrade webdriver-managerExample:from whats_scraper import WhatsAppScraper

test=WhatsAppScraper()
test.login()
test.get_all_names_contacts()
test.get_my_contacts()
Package: whatsapptojson
Whatsapp-Text-To-Json-ConverterConverts Whatsapp chat files to dictionary or JSON format.Works with exports from iPhone and Android. Be sure to mention device.Installationpip install whatsapptojsonUsing Command Line Argumentswhatsapptojson [OPTIONS]usage: whatsapptojson [-h] -f FILE -d DEVICE [-s SAVE] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  chat text file
  -d DEVICE, --device DEVICE
                        can be 'iphone' or 'android'
  -s SAVE, --save SAVE  path of file/direction to save json, 'default' would
                        be same as text file name in same directory
  -v, --verbose         Verbose (Print output)Using Native Pythonwhatsapptojson.format()- to convert a read text to dictionarywhatsapptojson.format_file()- to read file from text to dictionary/jsonbe sure to mentiondeviceattribute correctlyiphoneorandroid.fromwhatsapptojsonimportwhatsapptojson# Converting Text to Dictoutput=whatsapptojson.format(text='string with complete chat data',device='android')# Converting File to dictionary.output=whatsapptojson.format_file(source='source_file_path',device='iphone')# Converting File to dictionary.output=whatsapptojson.format_file(source='source_file_path',device='iphone')### Whatsapp File to Json.whatsapptojson.format_file(source='source_file_path',destination='destination_path.json',device='android')Sample Export{"attachment_extensions":["pdf","mp4","jpg"],"participants":["sender name 1","sender name 2","sender name n"],"chats":[{"date":"25/03/16 07:03:45 PM","message":"‎Messages to this group are now secured with end-to-end encryption.","type":"whatsapp meta"},{"date":"15/08/17 12:27:34 PM","message":"message for attachment","sender":"sender name","type":"attachment","attachment":{"file_name":"file_name_with.pdf","meta":"8 pages","extention":"pdf"}},{"date":"15/08/17 01:37:28 PM","sender":"sender name","message":"message","type":"conversation"},...]}Each item in chats could have type of "whatsapp meta" or "attachment" or "conversation".
Package: whatsapp-widget
Add “polls” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'whatsapp_call',
]python manage.py migrateAdd {% load whatsapp_tags %} in base.html or any html files.Add {% whatsapp_widget %} in end of body tag in your templateAdd whatsapp account in admin panel (Phone without 0 )Enjoy this
Package: whatsappy
WhatsappyThis is an open sourse package to interact with WhatsApp Business Cloud API using Python.We are looking for colaborators.How to Installpip install whatsappyor in virtual envpython -m pip install whatsappyUsageText messagefromwhatsappy.clientimportClientclient=Client(whatsapp_token,phone_number_id)response=client.text_message(phone_number="56999999999",body="my first message")Interactive button messagefromwhatsappy.clientimportClientclient=Client(whatsapp_token,phone_number_id)response=client.interactive_button_message(phone_number="56999999999",titles=["button-1","button-2"]body_text="my first button message")
Package: whatsfly
WhatsFlyJust run and have fun. Just try and go fly.WhatsApp web wrapper in Python. No selenium nor gecko web driver needed.Setting up browser driver are tricky for python newcomers, and thus it makes your code so 'laggy'.I knew that feeling. It's so painful.So I make WhatsFly, implementing Whatsmeow --a golang based WhatsApp library. It will make his wrapper easy to use without sacrificing the speed and perfomance.Installationpipinstallwhatsflyor :pipinstall--upgradewhatsflyUsage/ExamplesfromwhatsflyimportWhatsAppchat=WhatsApp()#sendmesagechat.send_message(phone="6283139750000",message="Hello World!")#sendimagechat.send_image(phone="6283139750000",image_path="path/to/image.jpg"caption="Hello World!")FeaturesFeatureStatusMulti Device✅Send messages✅Receive messagessoon!Send image✅Send media (audio/documents)soon!Send media (video)soon!Send stickerssoon!Receive media (images/audio/video/documents)soon!Send contact cardssoon!Send locationsoon!Send buttonssoon!Send listssoon!Receive locationsoon!Message repliessoon!Join groups by invitesoon!Get invite for groupsoon!Modify group info (subject, description)soon!Modify group settings (send messages, edit info)soon!Add group participantssoon!Kick group participantssoon!Promote/demote group participantssoon!Mention userssoon!Mute/unmute chatssoon!Block/unblock contactssoon!Get contact infosoon!Get profile picturessoon!Set user status messagesoon!React to messagessoon!Something missing? Make an issue and let us know!Supported machinesArchitectureStatusLinux amd64✅Linux ARM64soon!Linux 686✅Linux 386✅Windows amd64✅Windows 32 bitsoon!OSX arm64soon!OSX amd64soon!Support my workThis side project is maintained during my free time.
Make a pull request and fix my bad code.
Thank god, and thanks to all the opensource developers behind the tls-client, tiktoken, and whatsmeow.
Package: whatshap
WhatsHapWhatsHap is a software for phasing genomic variants using DNA sequencing
reads, also calledread-based phasingorhaplotype assembly. It is
especially suitable for long reads, but works also well with short reads.FeaturesVery accurate results (Martin et al.,WhatsHap: fast and accurate read-based phasing)Works well with Illumina, PacBio, Oxford Nanopore and other types of readsIt phases SNVs, indels and even “complex” variants (such asTCG→AGAA)Pedigree phasing mode uses reads from related individuals (such as trios)
to improve results and to reduce coverage requirements
(Garg et al.,Read-Based Phasing of Related Individuals).WhatsHap is easy to installIt is easy to use: Pass in a VCF and one or more BAM files, get out a phased VCF.
Supports multi-sample VCFs.It produces standard-compliant VCF output by defaultIf desired, get output that is compatible with ReadBackedPhasingOpen Source (MIT license)DocumentationGitHub repositoryRead the documentation online.
Offline documentation is available in thedoc/subdirectory in the
repository and in the downloaded tar distribution.Issue trackerPlease do not hesitate to use ourissue trackerfor bug reports and feature requests.
Package: whatshouldido
whatshouldido - TODO comments cli toolAllows to seesorted by dateTODOS from code.Installationpip install whatshouldidoUsageCommandwhatshouldidois available globally after installation.Options:--path PATHGit repo path-e TEXTComma separated file extensions filters--table/--listPrint as table or as list--helpShow help message and exit.
Package: whatsmyip
whatsmyip | myipInstallation and usageAs a CLI tool:$ pip3 install whatsmyip
$ myip
240.0.0.0As a library:>>> from whatsmyip.ip import get_ip
>>> from whatsmyip.providers import GoogleDnsProvider  # Or any other provider
>>> get_ip(GoogleDnsProvider)
'240.0.0.0'Supported providersGoogle DNShttpbin.orgCloudflareDNSHTTPGoal of this projectThe goal of this project is not to become the best tool to check your IP address.
In that case I recommend you to use something more simple like:curl https://httpbin.org/ipI've developed this project to have something simple to experiment with when explorering new ideas or techniques.LICENSECopyright 2018 Therry van NeervenPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.Release History0.1.4Security: urllib3 version should be larger than 1.24.1.0.1.3Improved README for using whatsmyip as a module in your project.0.1.2Added Cloudfront HTTP and DNS providers0.1.1New release with Markdown description on PYPI0.1.0Release of initial version to PYPI for public testing.
Package: whatsmyversion
``whatsmyversion``--------------Single module python package to make versioning simple.  You add a couple ofconfiguration parameters to your top-most python module and ``whatsmyversion`` willdetermine the version string based on your git history.Using ``whatsmyversion``~~~~~~~~~~~~~~~~~~~~Add the following to the top level of your package (package_name/__init__.pyor single_module_package.py) ::import whatsmyversion__version__ = whatsmyversion.version(__file__)del whatsmyversionAdd the following to your setup.py ::import package_namesetup = (version = package_name.__version__...)Aaaaand that's it! ::python -c "import package_name; print(package_name.__version__)"For example, look at the ``setup.py`` and ``whatsmyversion.py`` of this project forguidance in setting up your own project! ::$ python -c "import whatsmyversion; print(whatsmyversion.__version__)"v0.0.2.post6+g32c6562Configuring ``whatsmyversion``~~~~~~~~~~~~~~~~~~~~~~~~~~There are a few configuration options that you can provide to the `version`function. These are:``version_prefix`` which is defaults to ``v````version_suffix`` which is one of ``a``, ``b``, ``rc``, ``.post``, ``.dev``and defaults to ``.post````use_local_version_id`` which is a boolean flag to include (True) or not(False) the git hash and defaults to ``True`` because information is powerThese three configuration options combine to produce a PEP440 compliantversion string. `PEP440 <https://www.python.org/dev/peps/pep-0440/>`_Use cases~~~~~~~~~Working:* Determine the version of a git repository* Installed with ``setup.py develop``* Installed with ``setup.py install``Not yet working:- Determine the version of source code downloaded from github
Package: whatsnew
Django What's New==================Simple application to manage "what's new" welcome screen based on package version... note:: Package must contains valid PEP386 entry in the __init__ of the main module.How to use----------- put ``whatsnew`` in your INSTALLED_APPS::INTALLED_APPS=(...'whatsnew')- modify your base template as.. code-block:: html<link href="{% static 'whatsnew/whatsnew.min.css' %}" rel="stylesheet" media="screen"><script language="JavaScript" src="{% static 'whatsnew/js/whatsnew.min.js' %}"></script>{% load whatsnew %}<body>{% whatsnew '<your_main_package_name>' %}- create your :file:`whatsnew/whatsnew.html` like:.. code-block:: html<style>#django-whatsnew .button.b-close {background-color: #2B91AF;border-radius: 7px;box-shadow: none;font: bold 131% sans-serif;cursor: pointer;padding: 0 6px 2px;position: absolute;right: -7px;top: -7px;text-align: center;text-decoration: none;}#django-whatsnew {font-size: 200%;background-color: #FFFFFF;border-radius: 10px;box-shadow: 0 0 25px 5px #999999;color: #111111;display: none;min-width: 450px;padding: 0px 5px 5px 15px;}</style><script>{% if display %}function setCookie(name, value, days) {var expires;if (days) {var date = new Date();date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));expires = "; expires=" + date.toGMTString();} else {expires = "";}document.cookie = name + "=" + value + expires + "; path=/";}setCookie('{{ name }}', '{{ news.version }}');$(function () {$('#django-whatsnew').bPopup({speed: 450,transition: 'slideDown'});$('#whatsnew-seen').click(function () {setCookie('{{ name }}', '{{ news.version }}', 365);});});{% endif %}</script><div id="django-whatsnew" style="display: none"><span class="button b-close"><span>X</span></span>{{ news.content|safe }}<span><input type="checkbox" id="whatsnew-seen">do not show again</span></div>- and your :file:`whatsnew/test.html` like:.. code-block:: html{% extends "base.html" %}{% load whatsnew %}{% block body %}{% whatsnew 'whatsnew' 1 %}<script>$('.b-close').click(function () {window.history.go(-1);})</script>{% endblock body %}{% block jira %}{% endblock jira %}How version are checked------------------------- try to get version number using setuptools- check the main package name for 'version', 'VERSION' or '__version__'- try to call package.get_version()- raise DistributionNotFound
Package: whatsonchain
ExamplesImport whatsonchain and create a ‘woc’ object for ‘main’, ‘test’ or ‘stn’ networks:>>>fromwhatsonchainimportWhatsonchain>>>woc=Whatsonchain(network='test')>>>woc.get_address_info('mtsCNJGDVgYaVm3je8UpU5nExgiJgkEv6y'){'address':'mtsCNJGDVgYaVm3je8UpU5nExgiJgkEv6y','ismine':False,'isscript':False,'isvalid':True,'iswatchonly':False,'scriptPubKey':'76a914926db3be60d18dbaac65785b92a150c37bb4146488ac'}InstallationWhatsonchain is distributed onPyPIas a universal wheel and is available on Linux/macOS
and Windows and supports Python 3.5+pip>= 8.1.2 is required.$pipinstallwhatsonchain# pip3 if pip is Python 2 on your system.CreditsWhatsonchainfor their hard work on the Whatsonchain APIDonateIf you have found this library useful, please consider donating. Every little bit helps.HandCash: $AustEcon1PdvVPTzXmo4cSs68HctLUxAdW917UZtC8