Skip to main content

arugulanet

Find offers that fit a request through Arugula, for Python agents. It uses an anonymous session, so no account is needed. Every offer comes with a tracked link the user follows to buy. The core has no dependencies.

Arugula is a matching engine: offers are ranked by fit only. The tools return a disclosure with the offers; show it to the user with them: "Ranked by fit only. Arugula may earn a commission if you buy through these links, at no extra cost to you."

from arugulanet import Arugula

offers = Arugula().find_offers("a hotel room in Singapore for two nights", party_size=2)

LangChain and LangGraph

Install with pip install "arugulanet[langchain]", or "arugulanet[langgraph]". The tool sends channel langchain.

from arugulanet.langchain import find_offers_tool

tools = [find_offers_tool()]  # also for LangGraph: create_react_agent(model, tools)

CrewAI

Install with pip install "arugulanet[crewai]". The tool sends channel crewai.

from arugulanet.crewai import FindOffersTool

agent = Agent(role="Shopper", goal="Find what the user needs", backstory="...", tools=[FindOffersTool()])

More

  • Example: python examples/agent.py "your request". Set ARUGULA_API_URL to use another API.
  • Build: python -m build.
  • Publish: twine upload dist/*, with the PyPI organization account.

Metadata

Release files for arugulanet 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arugulanet 0.1.0
File Size Uploaded Provenance
arugulanet-0.1.0.tar.gz 6.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arugulanet 0.1.0
File Interpreter ABI Platform
arugulanet-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / arugulanet-0.1.0.tar.gz

Download URL arugulanet-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a492f12590d7b5da53be0628164be1b90935b2260ac5c4a1b11f7a63ef378a85
BLAKE2b-256 checksum
How to use checksums
793477195abb0e5f6c76f52c045db3e8cec603fa4c7797ffe8e58fa091e78285
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / arugulanet-0.1.0-py3-none-any.whl

Download URL arugulanet-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84fffb839fd3eefc53322148ea2d20ece0657a613d0d6bb932a7a588af2b4579
BLAKE2b-256 checksum
How to use checksums
4787481b41f77e04f89bc9b3271685f300a11e4b1721b19193878a6327ee9a53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for arugulanet 0.1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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