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

pyomgcli (made by us)

⚠️ 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.0.3.tar.gz (3.6 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.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyomgclient-1.0.3.tar.gz
Algorithm Hash digest
SHA256 3e6462beb2790ecdfc9910707eca68ca5cf914d1ec19f80f040f375a207ee598
MD5 6b3856d000c52d5dc9d16cce49eabeed
BLAKE2b-256 e27fe498a042891c903f0f325f7f86f5737443363729ed5a62c45c31dfa05429

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyomgclient-1.0.3-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.10.6

File hashes

Hashes for pyomgclient-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a400888d99197037b2330167a92e55366c09b3e764e28a3787a5c576d15c179e
MD5 67cd158bc66db3758651bfa2251df309
BLAKE2b-256 3b72078bee665708b86b3b7c20c0a4e8a695fea733716916211f8e980024eadd

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