GithubHelp home page GithubHelp logo

sigireddybalasai / whatpack.py Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 6.0 208 KB

whatpack.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 app

License: Apache License 2.0

Python 100.00%
whatsapp whatsapp-bot beginner-friendly help-wanted open-source pywhatkit whatsapp-automation asyncpywhatkit headlesspywhatkit whatpack

whatpack.py's Introduction

WhatPack.py

whatpack.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 app

logo.jpg

Apache License Watchers Stars Forks Tags Open Issues Closed Issues Open PRs Closed PRs Merged PRs Contributors Dependabot Code Triagers Badge Open Source Helpers Package Dependents Package Dependencies

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

FAQ

I am getting error what should i do

Step 1:use command pip install --upgrade whatpack.py

step 2:check examples in examples folder

step 3:open an issue in github

it is not working in linux

check if all required dependencies are ready and open issues

it is not working in windows

check if all required dependencies are ready and open issues

whatpack.py's People

Contributors

arvindparekh avatar sergei11919ze avatar sigireddybalasai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

whatpack.py's Issues

AttributeError: 'WhatsApp' object has no attribute 'driver'

Bug Report

Description

when i ran the program it errored

Steps to Reproduce

Code:
from whatpack.headless.whats import WhatsApp

app = WhatsApp()

app.send_message("NUMBER", "Hello, world")

Expected Behavior

Send a message to my phone

Actual Behavior

Errored

Error Messages

Traceback (most recent call last):
File "/home/WRMPI/Code/autowhatsappmsg.py", line 3, in
app = WhatsApp()
^^^^^^^^^^
File "/home/WRMPI/.local/lib/python3.11/site-packages/whatpack/headless/whats.py", line 19, in init
chrome_options.binary_location = os.environ.get("GOOGLE_CHROME_BIN")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/WRMPI/.local/lib/python3.11/site-packages/selenium/webdriver/chromium/options.py", line 52, in binary_location
raise TypeError(self.BINARY_LOCATION_ERROR)
TypeError: Binary Location Must be a String
Exception ignored in: <function WhatsApp.del at 0x7fbbbbdda0>
Traceback (most recent call last):
File "/home/WRMPI/.local/lib/python3.11/site-packages/whatpack/headless/whats.py", line 188, in del
driver = self.driver
^^^^^^^^^^^
AttributeError: 'WhatsApp' object has no attribute 'driver'

Priority Level

Medium

Environment

Please provide the following information:

  • Python version: 3.11
  • Library versions: latest
  • Operating system: RaspberryPiOS
  • Any other relevant details:

Add some documentation

Add some documentation for this so people know what commands they can do and the args for those commands

send meg doesnt work

GET /send_message?phone=01674765020&message=Hello+world

current_app.config['ok'].send_user_message(phone, request.args.get('message')) KeyError: 'ok'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.