Pyajam allows to interact with an asterisk server using the AJAM interface, in a pythonic way. Example:
>>> from pyajam import Pyajam>>> ajam = Pyajam(server='192.168.0.10', username='mspencer', password='*rocks!') >>> if not ajam.login(): >>> print "Invalid login" >>> sys.exit(1)>>> # display list of peers (SIP and IAX2) >>> print ajam.peers()) >>> # display peer 101 attributes >>> peer = ajam.sippeer('101'))>>> # screenprint events >>> def ajam_event_listener(data): >>> print data>>> ajam.waitevent(async=False, callback=ajam_event_listener)
Metadata
Release files for PyAjam 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| PyAjam-0.2.tar.gz | 20.9 kB | Without provenance | Details |
Release files / PyAjam-0.2.tar.gz
| Download URL | PyAjam-0.2.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e392fd09f7187d4f68eb1f8a250fa08a7c90b60d4b863a77408d3a5be78daf2f
|
|
BLAKE2b-256 checksum How to use checksums |
ea810dffdca485bdd775effb92e1a18ba01295761b1f2c47487c9ac2fd11cbae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PyAjam 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.