Monitoring and observability for Python and AI scripts. Automatically captures stdout, stderr, errors, and execution time — then sends everything to your EchoLogs dashboard.
Project description
echologs
Monitoring and observability for Python automation scripts.
Know when your scripts fail, why they failed, and how long they took — without changing how they run.
Install
pip install echologs
Quickstart
import echologs
with echologs.run():
# your existing code — nothing changes
print("Running invoice sync...")
data = fetch_invoices()
print(f"Done. {len(data)} invoices processed.")
Set ECHOLOGS_API_KEY in your environment before running:
# Mac / Linux — set once per terminal session
export ECHOLOGS_API_KEY=el_your_key_here
python your_script.py
# Windows
set ECHOLOGS_API_KEY=el_your_key_here
python your_script.py
Get your API key at app.echologs.com.
What it captures
- ✓ Every execution with timestamp, duration and pass/fail status
- ✓ Full stdout and stderr output
- ✓ Full error traceback on failure
- ✓ Email alerts on failure
- ✓ Slack alerts on failure
- ✓ Failure streaks — escalated alerts after 3 consecutive failures
No dotenv required
The SDK reads ECHOLOGS_API_KEY from os.environ directly.
In production on any platform (Railway, Render, GitHub Actions, cron) the env var is injected automatically — no package installs needed.
Dashboard
Every execution appears in your dashboard at app.echologs.com with:
- Full stdout/stderr log output
- Duration history chart
- Pass rate tracking
- Failure streak detection
- Public status page (shareable URL per script)
Links
- Website: echologs.com
- Dashboard: app.echologs.com
- Docs: app.echologs.com/docs
- JavaScript SDK: npmjs.com/package/echologs
- GitHub: github.com/ZionCodes/echologs-python
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file echologs-0.1.4.tar.gz.
File metadata
- Download URL: echologs-0.1.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb74839c40c82d1c42bc5cfa63a974662c5ceda5302dc915e47ef2c3e29f3c2e
|
|
| MD5 |
5fa30b7c66da11c14b13b71e39b1ce35
|
|
| BLAKE2b-256 |
6cf93b98495db69e1f1181f67f7baf7c6c21c5844beb73ff8b50b72f67ad5ab6
|
File details
Details for the file echologs-0.1.4-py3-none-any.whl.
File metadata
- Download URL: echologs-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
036ce41469d3bcb134884ba1388d920771569ad73f9f10873bed95bdef440ca0
|
|
| MD5 |
84e203336475a0d408caa9e5ec20857d
|
|
| BLAKE2b-256 |
ddf8158e73ffdd1a2c015ae475011939e3b39a4ccae048c45f5f92e60d9aeb57
|