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
Built Distribution
File details
Details for the file python-omegle-1.1.6.tar.gz
.
File metadata
- Download URL: python-omegle-1.1.6.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 613bdf753e5ddbc5c3b44ccf7c438165557c3edb3e2d52ca7dacfa79d71617d4 |
|
MD5 | 133dd5b1cd8e6852a5e6a8748993e3b6 |
|
BLAKE2b-256 | 33747a543d89eb53eb2149851e2da9a55b569fe6bde31f99d2bbfba3a083084e |
File details
Details for the file python_omegle-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: python_omegle-1.1.6-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e47c709e54c555b652626af382ac8318ee985881bb89cd199d998baea34661b |
|
MD5 | 220424886ab1025982177f72105c1947 |
|
BLAKE2b-256 | 0e6fa3dfd846ce96b365fbfb93ec3639c089873ea93b870f40add16c43661079 |