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."
By using Arugula you agree to arugulanet.com/terms. Privacy: arugulanet.com/privacy.
from arugulanet import Arugula
offers = Arugula().find_offers("a hotel room in Singapore for two nights", party_size=2)
country is your user's country, if you know it, as a two-letter code such as "SG". Arugula then prefers
offers available there. Set it for the client, Arugula(country="SG"), or for one request,
find_offers(..., country="SG"). A place stated in the request still wins. Without it, a call from your server
carries no country.
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". SetARUGULA_API_URLto use another API. - Build:
python -m build. - Publish:
twine upload dist/*, with the PyPI organization account.
Metadata
Release files for arugulanet 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| arugulanet-0.1.2.tar.gz | 7.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arugulanet-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / arugulanet-0.1.2.tar.gz
| Download URL | arugulanet-0.1.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b863644433008bff100a4a7bd9ea4bdb5976f42a6e404edbebd79e98964a30f5
|
|
BLAKE2b-256 checksum How to use checksums |
31bd485c9e55b8bf8f676bc33f630594f040130ce7c4698ff599644ede46d544
|
| 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.2-py3-none-any.whl
| Download URL | arugulanet-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
823579a05ff9cad19720e758bc1c2348cb228aadc95d1d85469bc07fde2a280b
|
|
BLAKE2b-256 checksum How to use checksums |
85563dae441e2c22e60e125c83f7c6124a9a95f9bf76cd107664efb09ed5a432
|
| 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.2
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.