Skip to main content

a python omegle client

Project description

PyOMGClient

A PYTHON OMEGLE CLIENT

installation

pip install pyomgclient

usage

from pyomgclient.omgclient import Client

client = Client()

@client.set_on_start_cb
def on_open ():
  print ("stranger connected")

@client.set_on_disconnect_cb
def on_close ():
  print ("stranger disconnected")
  # to restart
  client.start()

@client.set_on_typing_cb
def on_typing ():
  print ("stranger typing")

@client.set_on_message_cb
def on_message (msg):
  print ("message: "+msg)
  # sends a message
  # set typ = True for type and send
  client.send_message ("hi", typ = True)
  # or
  client.start_typing()
  time.sleep (1)
  # stop typing must be called otherwise the typing wont turn off
  client.stop_typing()

# always call the start function
# atfer setting callbacks
# otherwise client will connect without
# any callbacks

client.start()

# returns client configuration in json format
print (client.credentials())

Solving Recaptcha

this project cannot solve captcha so if your client is not getting any updates then go to your browser and open omegle then solve the captcha

Example Projects

example projects will be promoted here

⚠️ DISCLAIMER

this projects was made for educational purposes do not spam people with this and we are not responsible for any illegal purpose done with this project

omegle may ban your ip address so be careful

© XProjects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyomgclient-1.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyomgclient-1.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pyomgclient-1.1.0.tar.gz.

File metadata

  • Download URL: pyomgclient-1.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pyomgclient-1.1.0.tar.gz
Algorithm Hash digest
SHA256 34c42fac5195c4d59eb4185a7921035f2bf30f39d78458a25d465c827b441cf5
MD5 538bc9c4a74196dd9e133258208c12f7
BLAKE2b-256 fdeece0e2fd5f6b97e85214fd2093600fb7d7d4b0234486c37056d7c6569c575

See more details on using hashes here.

File details

Details for the file pyomgclient-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyomgclient-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pyomgclient-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8c659fe0f16b6f6cc41b1a31d6ea00eeab4919392e6d20e81593db728f3d4e
MD5 19c219335d66e0484a9d947af53fa927
BLAKE2b-256 fabd5a9ab5061e0043223b5212fbcbc91290f20a8657688fdc42782be843f8a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page