crowdstrike-falconpy
The CrowdStrike Falcon SDK for Python
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-falconpyuv
uv add crowdstrike-falconpypoetry
poetry add crowdstrike-falconpyInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
falconFalcon is a minimalist ASGI/WSGI framework for…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-falconAdds distributed tracing to Falcon web…
permissive · top 5,000 on PyPI
swagger-ui-pyIntegrates Swagger UI documentation into Python…
permissive · top 15,000 on PyPI
hughug is a Python framework for building REST…
permissive · top 15,000 on PyPI
huaweicloudsdkecsPython SDK for Huawei Cloud Elastic Compute…
permissive · top 15,000 on PyPI
pyxeroPyXero is a Python client library for the Xero…
permissive · top 15,000 on PyPI
requests-oauthlibAdds OAuth 1 and OAuth 2 authentication support…
permissive · top 1,000 on PyPI
pygitguardianAPI client library for GitGuardian's secret…
permissive · top 15,000 on PyPI
scarf-sdkA Python client for sending telemetry events to…
unclear · top 15,000 on PyPI
python-upwork-oauth2Python bindings for the Upwork API using OAuth…
permissive · top 15,000 on PyPI