Skip to main content

A new package designed to streamline the extraction and organization of AI-driven SEO strategies from user inputs. Users provide a brief description or topic related to their SEO challenges or goals,

Project description

AI SEO Strategist

PyPI version License: MIT Downloads LinkedIn

AI SEO Strategist is a Python package designed to streamline the extraction and organization of AI-driven SEO strategies from user inputs. This tool helps founders and marketers quickly access practical SEO tactics tailored to their specific challenges or goals, enabling efficient planning and implementation.

Features

  • Structured Output: Generates a categorized list of actionable SEO strategies.
  • Customizable LLM: Uses ChatLLM7 by default but can be configured with any BaseChatModel from LangChain.
  • Consistent Formatting: Ensures clear and consistent output for easy integration into workflows and documents.
  • Flexible API Key Management: Supports API key via environment variable or direct input.

Installation

pip install ai_seo_strategist

Usage

Basic Usage

from ai_seo_strategist import ai_seo_strategist

user_input = "Improve SEO for my e-commerce website"
strategies = ai_seo_strategist(user_input)
print(strategies)

Using a Custom LLM

You can use any LLM compatible with LangChain's BaseChatModel. Here are examples using different LLMs:

Using OpenAI

from langchain_openai import ChatOpenAI
from ai_seo_strategist import ai_seo_strategist

llm = ChatOpenAI()
response = ai_seo_strategist(user_input, llm=llm)
print(response)

Using Anthropic

from langchain_anthropic import ChatAnthropic
from ai_seo_strategist import ai_seo_strategist

llm = ChatAnthropic()
response = ai_seo_strategist(user_input, llm=llm)
print(response)

Using Google

from langchain_google_genai import ChatGoogleGenerativeAI
from ai_seo_strategist import ai_seo_strategist

llm = ChatGoogleGenerativeAI()
response = ai_seo_strategist(user_input, llm=llm)
print(response)

Using an API Key

You can pass an API key directly or use an environment variable.

Using Environment Variable

export LLM7_API_KEY="your_api_key"

Passing API Key Directly

from ai_seo_strategist import ai_seo_strategist

user_input = "Improve SEO for my e-commerce website"
strategies = ai_seo_strategist(user_input, api_key="your_api_key")
print(strategies)

Parameters

  • user_input (str): The user input text to process.
  • llm (Optional[BaseChatModel]): The LangChain LLM instance to use. Defaults to ChatLLM7.
  • api_key (Optional[str]): The API key for LLM7. If not provided, it will use the environment variable LLM7_API_KEY.

Rate Limits

The default rate limits for LLM7's free tier are sufficient for most use cases. If you need higher rate limits, you can obtain a free API key by registering at LLM7.

Issues

For any issues or suggestions, please open an issue on GitHub.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_seo_strategist-2025.12.21130456.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

ai_seo_strategist-2025.12.21130456-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_seo_strategist-2025.12.21130456.tar.gz.

File metadata

File hashes

Hashes for ai_seo_strategist-2025.12.21130456.tar.gz
Algorithm Hash digest
SHA256 e164e7a417396a18a8cf40a7d0afbcbbb9de08ea16dab9e48d3681b83c8bae90
MD5 e38aebc7f55a99f6b95f65ca09ef4896
BLAKE2b-256 7fb7e80598c6223165a94744ad289896ec901d55737294b238b66761f1a1e5b0

See more details on using hashes here.

File details

Details for the file ai_seo_strategist-2025.12.21130456-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_seo_strategist-2025.12.21130456-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a41092ccca3dd762e183ca46e65c16235e18a4daf164fe2921d2e9f4fa2ade
MD5 d843278940730acba185aa9f3ac5f095
BLAKE2b-256 4c30e78d858113d1d8b6c3b45c6ea5d8a154dbffcb650d9c87867a029b3a6540

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page