{
 "kind": "tool",
 "slug": "spark-ai-python",
 "path": "tools/spark-ai-python/",
 "name": "Spark AI Python",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "SDK for calling iFlytek's Spark language model API.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install spark-ai-python"
 },
 "links": [],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": ""
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": ""
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#74 of 92 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Spark AI Python does",
   "parts": [
    {
     "t": "prose",
     "text": "SDK for calling iFlytek's Spark language model API."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Spark AI Python popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "20",
       "of": "/ 100",
       "l": "Gid Score, #4259 overall"
      },
      {
       "n": "405",
       "l": "downloads a week, pypi"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Spark AI Python is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Spark AI Python is a dependency in 0 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 35 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is OpenAI Python Library (248 projects).",
      "Projects that use it most often also use OpenAI Python Library (100.0%), Qianfan (100.0%), aiofiles (97.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "Qianfan",
       "path": "tools/qianfan/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "aiofiles",
       "path": "tools/aiofiles/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "aiohttp",
       "path": "tools/aiohttp/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "Anthropic Python SDK",
       "path": "tools/anthropic/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "Boto3",
       "path": "tools/boto3/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "Django Channels",
       "path": "tools/channels/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Spark AI Python",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI",
         "path": "tools/openai-npm/"
        },
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "Anthropic SDK",
         "path": "tools/anthropic-ai/"
        },
        {
         "text": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        },
        {
         "text": "Pi-AI",
         "path": "tools/mariozechner-pi-ai/"
        },
        {
         "text": "@openrouter/ai-sdk-provider",
         "path": "tools/openrouter-ai-sdk-provider/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Spark AI Python",
       "me": true,
       "facts": [
        "MIT",
        "Gid 20",
        "405/wk"
       ]
      },
      {
       "name": "OpenAI Python Library",
       "why": "Official Python SDK to call OpenAI APIs including GPT models and embeddings.",
       "path": "tools/openai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 86",
        "94.8M/wk"
       ]
      },
      {
       "name": "Anthropic Python SDK",
       "why": "Official Python library for calling Claude via the Anthropic API.",
       "path": "tools/anthropic/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "51.5M/wk"
       ]
      },
      {
       "name": "Google GenAI Python SDK",
       "why": "Official Python SDK for Google's generative AI models including Gemini.",
       "path": "tools/google-genai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 73",
        "40.7M/wk"
       ]
      },
      {
       "name": "LiteLLM",
       "why": "Unified library to interface with multiple LLM API providers.",
       "path": "tools/litellm/",
       "facts": [
        "MIT",
        "Gid 81",
        "27.1M/wk"
       ]
      },
      {
       "name": "Ollama",
       "why": "Official Python client for running and interacting with local language models via Ollama.",
       "path": "tools/ollama-pypi/",
       "facts": [
        "MIT",
        "Gid 64",
        "2.9M/wk"
       ]
      },
      {
       "name": "Groq Python SDK",
       "why": "Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.",
       "path": "tools/groq/",
       "facts": [
        "Apache-2.0",
        "Gid 53",
        "3.8M/wk"
       ]
      }
     ],
     "more": "Compare Spark AI Python with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install spark-ai-python"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Spark AI Python yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi spark-ai-python"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "20.4"
  ],
  [
   "Rank in category",
   "#74 of 92"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}