Skip to main content

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-ai room
  • Query by species/location/time — filter past sessions by any combination
  • Natural-language Q&Aquery_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

fishinglog_agent-0.2.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fishinglog_agent-0.2.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

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

Hashes for fishinglog_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 000b59fa2bff132b1fe2cd02c473cc281f25641f8fc063c8f0e940f04c7beff0
MD5 8f8d07563034aef39d26d4f9c18e4ea3
BLAKE2b-256 312d1fb1e6f290ed739b214d37f9a1be8ad7e18364c6480b3776d152607d22f0

See more details on using hashes here.

File details

Details for the file fishinglog_agent-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fishinglog_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65c8bae09b4658aae5d30820ff9780bf5e4abd08a988d43ac83d56ba800c8393
MD5 40d46ae69560fd7a93a4cca06a6c7d50
BLAKE2b-256 69de15815dbda05ec716e1eb2e95745c44d0c68c21c39e17286f5933eba6b5af

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page