Meow-Meow-Hood API
A Python wrapper around Robinhood's private API with a focus on option market data, local option metadata caching, and simple sync or async clients.
Installation
Requires Python 3.11 or newer.
uv add meow-meow-hood
# or
pip install meow-meow-hood
Import from the robinhood package:
from robinhood import OptionRequest, Robinhood
Authentication And Config
By default, Robinhood() tries to find a locally stored Robinhood browser token.
You must already be logged in to Robinhood in a local Chrome or Firefox profile.
The client creates a config directory named .meow-meow-config under
config_path, which defaults to the current working directory. Generated files
are stored there:
.envstoresBEARER_TOKENandACCOUNT_NUMBERwhen token extraction writes credentials.meow-meow-hood.dbstores the local SQLite option metadata cache whenenable_cache=True.
Useful setup options:
from pathlib import Path
from robinhood import Robinhood
# Use a token directly instead of extracting one from a browser profile.
with Robinhood(extract_token=False, access_token="...") as rh:
quote = rh.get_stock_quotes("SPY")
# Store config files outside the current working directory.
with Robinhood(config_path=Path.home() / ".config") as rh:
quote = rh.get_stock_quotes("SPY")
If a saved token is rejected and open_browser=True, the refresh flow may open
Chrome and Firefox briefly to refresh local auth state. This can close existing
browser windows, so set open_browser=False when that behavior is not desired.
Quickstart
from robinhood import OptionRequest, Robinhood
with Robinhood() as rh:
quote = rh.get_stock_quotes("SPY")
if quote is not None:
print(quote.bid_price, quote.ask_price)
dates = rh.get_expiration_dates("SPY")
if not dates:
raise RuntimeError("No SPY expiration dates returned")
request = OptionRequest(symbol="SPY", exp_date=dates[0])
greeks_by_request = rh.get_option_greeks_batch_request(request)
for greek in greeks_by_request[request][:3]:
print(greek.symbol, greek.delta, greek.mark_price)
JSON responses are normalized into dataclasses such as InstrumentQuote,
OptionChain, OptionGreekData, StockPosition, and WatchList.
Local Caching
The local SQLite cache stores option chain metadata, expiration dates, option instrument ids, and sync rows. It reduces the number of Robinhood API calls needed before fetching live option greek data.
Cache TTLs expire at the next trading day open, 9:30 AM America/New_York.
Broad option requests are the most cache-friendly:
OptionRequest(symbol="SPY")OptionRequest(symbol="SPY", exp_date="2026-04-17")
from robinhood import OptionRequest, Robinhood
with Robinhood(enable_cache=True) as rh:
dates = rh.get_expiration_dates("SPY")
if not dates:
raise RuntimeError("No SPY expiration dates returned")
request = OptionRequest(symbol="SPY", exp_date=dates[0])
greeks_by_request = rh.get_option_greeks_batch_request(request)
print(len(greeks_by_request[request]))
See Database Schema and Design Notes for cache internals.
Return Values And Errors
Many read methods return None when Robinhood returns no usable data. Batch
option methods generally return a dictionary keyed by OptionRequest, with an
empty list for requests that could not be resolved.
HTTP behavior to expect:
401and403raiseAuthenticationErrorwith an invalid-token message.429and5xxcurrently raiseNotImplementedError.- Other unexpected statuses are logged by the HTTP layer.
Trading helpers can raise package errors such as MalformedOrderError,
InstruemtNotFoundError, or AccountIdNotFoundError when an order cannot be
validated locally before submission.
More Examples
Beginner and workflow examples live in docs/examples.md.
uv run python docs/examples/sample_option_chain.py
# or
python docs/examples/sample_option_chain.py
API Reference
See docs/api_reference.md for a compact overview of the public clients, dataclasses, return types, and setup parameters.
TODO Log
See docs/todo.md for planned features.
Metadata
Release files for meow-meow-hood 0.2.3
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 | Actions |
|---|---|---|---|---|
| meow_meow_hood-0.2.3.tar.gz | 58.0 kB | Without provenance | Details for meow_meow_hood-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meow_meow_hood-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for meow_meow_hood-0.2.3-py3-none-any.whl |
Total release size: 106.8 kB
Release files / meow_meow_hood-0.2.3.tar.gz
| Download URL | meow_meow_hood-0.2.3.tar.gz |
|---|---|
| Size | 58.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2125972002c0985de691b79d5d90d5bcaf88f8602372cdbeb96a780fe65324ad
|
|
BLAKE2b-256 checksum How to use checksums |
6bad50b9aa73d56bbf6f0162cd9f19a3541f3a93fcf9a477aa7dd3c70bbe9c46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / meow_meow_hood-0.2.3-py3-none-any.whl
| Download URL | meow_meow_hood-0.2.3-py3-none-any.whl |
|---|---|
| Size | 48.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bc7630c198fa0131f8e9bacbcbe987d3fd51e5e7054763a53c9ed5bf14784e2
|
|
BLAKE2b-256 checksum How to use checksums |
ce63477c867937fb7ce67f4efc9e1da4f6947c68d8a6580cedba811b53412c38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for meow-meow-hood 0.2.3
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.