WhatsappLinkGen
Overview
The WhatsappLinkGen Python package is designed to facilitate the generation of WhatsApp links from a .csv file. This tool is particularly useful for managing large contact lists obtained from services like Google Forms, enabling users to easily send messages, particularly for publicity purposes.
Installation
You can install this package via pip:
Usage
The package provides two main functions:
generateLinkFromCsv(input_csv, column_num, output_file_txt=None, country_code=None): This function takes a .csv file, an optional output text file, and a country code, and returns directly clickable WhatsApp links.
from whatsapplinkgen import generateLinkFromCsv
generateLinkFromCsv('contacts.csv', 0, 'output.txt', '91')
In this example:
'contacts.csv'is the input .csv file.0is the column number containing the contact numbers.'output.txt'is the optional output file where the generated links will be stored.'91'is the country code.
generateLinkFromNumber(contact_no, country_code=None): This function takes a contact number and an optional country code, and prints the directly clickable WhatsApp link.
from whatsapplinkgen import generateLinkFromNumber
generateLinkFromNumber('1234567890', '91')
In this example:
'1234567890'is the contact number.'91'is the country code.
Author
This package was created by Daivik Karbhari.
For any queries, you can reach out to daivikkarbhari01@gmail.com.
Metadata
Release files for whatsapplinkgen 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| whatsapplinkgen-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / whatsapplinkgen-0.1-py3-none-any.whl
| Download URL | whatsapplinkgen-0.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
040e251d230bbde676e48048028ac6aace56320045d04bbf9a6495567e88210d
|
|
BLAKE2b-256 checksum How to use checksums |
7f6156d131d79424cf7123fe67754a86411ddcaf8603567b55473ca6069a6569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|