This project has been archived by its maintainers, and is no longer receiving any updates.
Obelus is a MIT-licensed Python library providing support for communication with the Asterisk telephony server. It supports the Asterisk Manager Interface (AMI) and the Asterisk Gateway Interface (AGI).
Quick links
Project page: https://pypi.python.org/pypi/obelus/
Source code, issue tracker: https://bitbucket.org/optiflowsrd/obelus
Documentation (incomplete): https://obelus.readthedocs.org
Features
Limitations
The API is currently low-level: it abstracts away protocol syntax and communication sequences, but doesn’t try to expose Asterisk concepts in a particular way.
Requirements
Python 2.7, 3.2 or later.
Optional requirements
Examples
AMI client
Several example AMI clients are available for different frameworks:
$ python -m obelus.ami.tornadoadapter -h $ python -m obelus.ami.tulipadapter -h $ python -m obelus.ami.twistedadapter -h
FastAGI server
Several example FastAGI servers are available for different frameworks:
$ python -m obelus.agi.tornadofastagi -h $ python -m obelus.agi.tulipfastagi -h
Study the source codes for these modules for more information about how to re-use the Obelus protocol classes in your own application.
Development
Running the test suite
To run the test suite with a single Python version, run:
$ pythonX.Y -m obelus.test
On Python versions before 3.3, you will need to install the mock library.
To run the test suite on all supported interpreters, install tox and run:
$ tox
FAQ
Why “Obelus”?
An obelus is a typographical character, a bit like an asterisk.
Release files for obelus 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| obelus-0.1.tar.gz | 45.4 kB | Details |
Release files / obelus-0.1.tar.gz
| Download URL | obelus-0.1.tar.gz |
|---|---|
| Size | 45.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
494a4a5a6308787de45c8961dfa01d2af7afef29eacb5c4bc90b0096c4f053c2
|
|
BLAKE2b-256 checksum How to use checksums |
dd35cf3f0ef9b3292a13b373e95c44289e23e254b0f4016ff37a3d6a73c043ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |