Skip to main content

A simple Python API for the Omegle text chat service

Project description

Python-Omegle is an unofficial Python API for the Omegle text chat service.

Features include:

  • A high level, object-oriented API;

  • An interface to three different types of chats;

  • Support for over 90 languages;

  • Simple library design with great extensibility.

Python-Omegle was originally written in Python 3.6, and is confirmed to work on Python 3.6, but likely works on all Python 3 releases.

Getting Started

Requirements

Python-Omegle relies on the Requests library to function properly. If you don’t have Requests installed yet, pip will install it automatically. Alternatively, you can install it yourself.

Installing

Installing Python-Omegle is very easy! Simply run:

pip install python-omegle

… or for a pip3 install:

pip3 install python-omegle

Running the tests

Some basic tests can be found in the ‘tests’ directory. Each chat type has its own class and therefore its own testing file. Let’s test one of the classes:

cd tests/
python3 random_chat_test.py

If you wish to test all classes at once, simply run the following:

python3 all_tests.py

Documentation

Once you’ve installed Python-Omegle, it’s time to take a look at the documentation, where you will find a step by step tutorial, some example programs and a complete API reference.


License

Python-Omegle is licensed under the MIT license. The full license text can be found here.


Disclaimer

I can in no way be held responsible for your actions with regards to Python-Omegle. Python-Omegle exists for educational purposes only. Use this tool responsibly. Do not use it to engage in illegal activities, and do not use it to spam the Omegle website. Also take a look at the Omegle terms of service, at the bottom of the page.

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

python-omegle-1.1.6.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

python_omegle-1.1.6-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file python-omegle-1.1.6.tar.gz.

File metadata

File hashes

Hashes for python-omegle-1.1.6.tar.gz
Algorithm Hash digest
SHA256 613bdf753e5ddbc5c3b44ccf7c438165557c3edb3e2d52ca7dacfa79d71617d4
MD5 133dd5b1cd8e6852a5e6a8748993e3b6
BLAKE2b-256 33747a543d89eb53eb2149851e2da9a55b569fe6bde31f99d2bbfba3a083084e

See more details on using hashes here.

File details

Details for the file python_omegle-1.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for python_omegle-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9e47c709e54c555b652626af382ac8318ee985881bb89cd199d998baea34661b
MD5 220424886ab1025982177f72105c1947
BLAKE2b-256 0e6fa3dfd846ce96b365fbfb93ec3639c089873ea93b870f40add16c43661079

See more details on using hashes here.

Supported by

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