Fishing Log Agent — Captain's Mate
A Python client for logging fishing sessions to a PLATO server and querying them back by species, recency, or location, with a simple natural-language question interface. Requires a live PLATO server — see "Requirements" below.
Installation
pip install fishinglog-agent
Usage
from fishinglog_agent import FishingLogAgent
agent = FishingLogAgent()
# Log a fishing session
agent.log_session(
latitude=41.5,
longitude=-71.3,
depth_meters=45,
species="tuna",
catch_count=12,
notes="Good action on the tide change"
)
# Query sessions by species, recency, or location
recent = agent.query(species="tuna", days_back=7)
for session in recent:
content = session["content"]
print(f"{content['species']}: {content['catch_count']} at {content['latitude']}N")
# Ask a natural-language question (keyword matching + summarization, not NLP)
answer = agent.query_natural_language("where were tuna last week?")
print(answer)
Features
- PLATO integration — sessions stored as tiles in the
fishinglog-airoom - Query by species/location/time — filter past sessions by any combination
- Natural-language Q&A —
query_natural_language()matches known species and time-range keywords (e.g. "yesterday", "last week") and summarizes the matching sessions; it does not do general-purpose language understanding - Distance filtering — approximate haversine radius search around a lat/lon
PLATO Room
Tiles are stored in the fishinglog-ai room on a PLATO server you run or
point this client at (plato_url, default http://localhost:8847).
Requirements
- Python 3.10+
- requests >= 2.31.0
- A reachable PLATO server — this package is a client only; it does not ship or run PLATO itself
License
MIT
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 fishinglog_agent-0.2.1.tar.gz.
File metadata
- Download URL: fishinglog_agent-0.2.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
000b59fa2bff132b1fe2cd02c473cc281f25641f8fc063c8f0e940f04c7beff0
|
|
| MD5 |
8f8d07563034aef39d26d4f9c18e4ea3
|
|
| BLAKE2b-256 |
312d1fb1e6f290ed739b214d37f9a1be8ad7e18364c6480b3776d152607d22f0
|
File details
Details for the file fishinglog_agent-0.2.1-py3-none-any.whl.
File metadata
- Download URL: fishinglog_agent-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65c8bae09b4658aae5d30820ff9780bf5e4abd08a988d43ac83d56ba800c8393
|
|
| MD5 |
40d46ae69560fd7a93a4cca06a6c7d50
|
|
| BLAKE2b-256 |
69de15815dbda05ec716e1eb2e95745c44d0c68c21c39e17286f5933eba6b5af
|