skillfed

crowdstrike-falconpy

The CrowdStrike Falcon SDK for Python

crowdstrike-falconpy v1.6.4 1.5M downloads/30d#3,809 on PyPI511
Permissive license This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a… (full text in the JSON record) Active released

What it is and what it does

FalconPy is the official Python SDK for CrowdStrike's Falcon platform, designed to simplify interaction with hundreds of API operations across multiple service collections. It abstracts away OAuth2 token management, region selection, and connection configuration, allowing developers to focus on security logic rather than API plumbing. The SDK supports Python 3.8 through 3.14 and runs on Windows, macOS, and Linux.

The package offers two usage patterns: Service Classes, each representing a single API service collection with methods for every available operation, or the Uber Class, a single all-in-one interface to all operations across all collections. Both patterns handle token refresh automatically, support cloud region autodiscovery for US-1, US-2, and EU-1 regions, and provide parameter and payload abstraction to simplify request construction. It depends only on requests and urllib3, keeping installation lightweight.

Use it for:

  • Query and manage endpoint security posture by retrieving host information, sensor status, and vulnerability data from your infrastructure.
  • Automate incident response workflows by programmatically accessing threat intelligence and detection data within your security platform.
  • Build custom dashboards and reporting tools that pull real-time security metrics, compliance data, and threat indicators from the API.
  • Integrate Falcon detections and alerts into your SIEM or ticketing system via API calls that abstract authentication and region routing.
  • Develop DevSecOps pipelines that check endpoint compliance, enforce security policies, and trigger automated responses during CI/CD workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

FalconPy is the official CrowdStrike Falcon SDK for Python, providing abstracted access to the entire CrowdStrike Falcon API through service classes or a unified Uber Class, with automatic token management and support for multiple cloud regions.

Yes. FalconPy is the official CrowdStrike SDK with active maintenance, low install friction, a permissive public-domain license, no known vulnerabilities, and broad Python version support. Install it if you need to integrate CrowdStrike Falcon APIs into a Python application; it eliminates boilerplate OAuth2 and token management code. The only prerequisite is valid CrowdStrike API credentials.

Install

crowdstrike-falconpy on PyPI

pip

pip install crowdstrike-falconpy

uv

uv add crowdstrike-falconpy

poetry

poetry add crowdstrike-falconpy

Installing crowdstrike-falconpy

Before you install

Low friction installation with only two runtime dependencies (requests and urllib3). Actively maintained with recent releases; last commit 2026-08-12 and 511 repository stars indicate ongoing development and community adoption.

License in practice

Released under the Unlicense (public domain), a permissive license that places no restrictions on use, modification, or distribution for any purpose, commercial or non-commercial.

Quickstart

pip install crowdstrike-falconpy

from falconpy import Hosts
import os

hosts = Hosts(client_id=os.getenv("FALCON_CLIENT_ID"),
              client_secret=os.getenv("FALCON_CLIENT_SECRET"))

Requires CrowdStrike Falcon API credentials (client_id and client_secret) obtained from the CrowdStrike console; credentials should be provided via environment variables or secure configuration, not hardcoded.

Verify before relying

  • Performance characteristics and rate-limiting behavior when handling large-scale API operations across multiple regions.
  • Specific guidance on which service classes or operations are most commonly used in production deployments.
  • Details on proxy routing and SSL verification customization beyond what the description excerpt covers.

Package facts

License This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, urllib3
Maintenance actively maintained — 25 days since the last release
Last repo commit
First released
Downloads 1,530,101/month — #3,809 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: crowdstrike_falconpy-1.6.4-py3-none-any.whl

Keywords: api, crowdstrike, crowdstrike-falcon, devsecops, falcon, oauth2, sdk

Development Status :: 5 - Production/StableFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: The Unlicense (Unlicense)Natural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: SecurityTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Systems AdministrationTopic :: Utilities

Tags

crowdstrike falcon api python sdkcrowdstrike endpoint detection responsefalcon oauth2 api clientcrowdstrike cloud security apidevsecops threat intelligence apicrowdstrike hosts sensors apifalcon api token management
crowdstrike-integrationthreat-intelligencedevsecops

More Python Modules packages