$npx skillfedfor your agent

fear-and-greed

Python wrapper for CNN Fear & Greed Index.

With conditionsPyPI WWW/HTTPReleased May 202290.4K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fear_and_greed-0.4-py3-none-any.whl
v0.4 · released 2022-05-20 · Python >=3.0 · 2 runtime deps: requests, requests-cache

Yes, if you need quick programmatic access to CNN's Fear & Greed Index and are willing to accept the risk that the scraper may break due to site changes. The low install friction and permissive license make it a low-cost experiment. No, if you require active maintenance or a guaranteed working solution—the package is abandoned and has not been updated since May 2022. Test it first to confirm the scraper still works with the current CNN website.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • CNN's website structure may have changed since the last release in May 2022; the scraper may no longer work if the page layout has been updated.
  • Low install friction with only two runtime dependencies (requests and requests-cache).
  • However, the package is abandoned—last updated May 2022—so no maintenance or bug fixes should be expected going forward.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

last release 2022-05-20 (1547 days) · last repo commit 2022-05-20 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,405 downloads/mo, #13,587 on PyPI

Verify before relying

pip install fear-and-greed

import fear_and_greed
result = fear_and_greed.get()
print(result.value, result.description, result.last_update)
  • Whether the web scraper still successfully parses CNN's Fear & Greed Index page given potential site structure changes since May 2022.
  • Whether the 1-minute cache duration for requests is still appropriate for current use cases.
  • The range of the index value (description mentions it falls into categories from 'Extreme Fear' to 'Extreme Greed').
Same gist for agents: .md · .json

What it is and what it does

fear-and-greed is a lightweight Python wrapper that scrapes CNN's Fear & Greed Index from their website and returns the current market sentiment metric as a structured named tuple. It wraps the web-scraping logic around requests and requests-cache, caching results locally for 1 minute to avoid repeated fetches.

The package is designed for developers who want programmatic access to CNN's Fear & Greed Index without building their own scraper. It returns three pieces of data: the numeric index value, a human-readable category label (ranging from "Extreme Fear" to "Extreme Greed"), and the UTC timestamp of the last update on CNN's site. However, the package has not been maintained since May 2022, so its scraper may fail if CNN's website structure has changed.

Use it for

  • Fetch the current Fear & Greed Index value in a financial dashboard or monitoring application.
  • Log historical sentiment readings at intervals for trend analysis or backtesting trading strategies.
  • Alert traders or analysts when the index crosses into extreme fear or greed territory.
  • Combine with other market data sources to build a multi-factor sentiment analysis tool.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need quick programmatic access to CNN's Fear & Greed Index and are willing to accept the risk that the scraper may break due to site changes.

The low install friction and permissive license make it a low-cost experiment. No, if you require active maintenance or a guaranteed working solution—the package is abandoned and has not been updated since May 2022. Test it first to confirm the scraper still works with the current CNN website.

Install

fear-and-greed on PyPI

Before you install

Low install friction with only two runtime dependencies (requests and requests-cache). However, the package is abandoned—last updated May 2022—so no maintenance or bug fixes should be expected going forward.

CNN's website structure may have changed since the last release in May 2022; the scraper may no longer work if the page layout has been updated.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install fear-and-greed

import fear_and_greed
result = fear_and_greed.get()
print(result.value, result.description, result.last_update)

Verify before relying

  • Whether the web scraper still successfully parses CNN's Fear & Greed Index page given potential site structure changes since May 2022.
  • Whether the 1-minute cache duration for requests is still appropriate for current use cases.
  • The range of the index value (description mentions it falls into categories from 'Extreme Fear' to 'Extreme Greed').

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
requestsrequests-cache
MaintenanceAbandoned 1,547 days since the last release
Last repo commit
First released
Downloads90,405 / month, #13,587 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: fear_and_greed-0.4-py3-none-any.whl

Tags

Capabilities
cnn fear and greed indexmarket sentiment scraperfinancial index fetcherfear greed python wrappermarket psychology datasentiment index apicnn financial data
Topics
web-scrapingfinancial-datasentiment-index

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cnn fear and greed index”

  • fear-and-greedFetches CNN's Fear & Greed Index from their website, parses the…
  • investor-agentProvides financial research tools as an MCP server for analyzing…
  • mmcvMMCV is a foundational library for computer vision that provides…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also yfinance · finance-datareader · tushare · investor-agent · baostock · alpha-vantage · tradingview-screener · efinance · vnai · mootdx