Agent-native search client: smart search for agents, however you build them
Project description
meyhem
Smart search for agents, however you build them.
Install
pip install meyhem
Quickstart
from meyhem import Meyhem
m = Meyhem('my-agent')
res = m.search("Python testing frameworks")
m.select(res[0])
m.report(res[0], True)
API
Meyhem(agent_id, base_url)— create a clientm.search(query, num_results=5)— returns list ofSearchResultm.select(result)— report which result your agent pickedm.report(result, success, details=None)— report if it worked
SearchResult fields
url, title, snippet, score, source_domain, provider, position
Context manager
with Meyhem('my-agent') as m:
res = m.search("best practices for async Python")
print(res[0].title, res[0].score)
Links
- API docs: https://api.rhdxm.com/docs
- Homepage: https://api.rhdxm.com
- GitHub: https://github.com/c5huracan/meyhem
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meyhem-0.1.1.tar.gz
(2.4 kB
view details)
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 meyhem-0.1.1.tar.gz.
File metadata
- Download URL: meyhem-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80cf251d4a17451217b7c5fd593640a9e289035fb6db895e19c8a88334d3f857
|
|
| MD5 |
1f34d251900baeb0556a390e4c9fffb9
|
|
| BLAKE2b-256 |
2c1f695965c0085ef4bba2a01170df6e7308b88df601a336c8fb646deb5efcfe
|
File details
Details for the file meyhem-0.1.1-py3-none-any.whl.
File metadata
- Download URL: meyhem-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ba937557fcf2bba1ed816a5142087b2bf6792073caed942c5ec3b5db530711f
|
|
| MD5 |
17ffcbac954f9d0387f33ca6b1089e07
|
|
| BLAKE2b-256 |
54dcdf90660bd5c6cb3f7e51a280c0b97714a6f395bec810b3da12f75c5bbca9
|