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.2.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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyomgclient-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 64f47d24f7d753f1f3e320c96b68f11e8caa8e52fa6865a153c169f747a8f55e
MD5 a5dde7ba595b761ea052171ad7244543
BLAKE2b-256 b868eab9869304509925dc7bf75106290062d82bc804b49b1ec5074ddbfefafb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyomgclient-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 732659f3a3187a8484ce0bf058cf78485f99878d4c0f4ae59fb5b62c5fa0d532
MD5 3d37da6e957b996bcebeb1a0383a4ddd
BLAKE2b-256 9294889ac42eda2946a8c17bbe61ca722bdaf23c92edaadfb0eb609abd4d556a

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