- Home
- Attack Surface
- External Attack Surface Management
- Censys Python Library

Censys Python Library
An easy-to-use and lightweight API wrapper for Censys APIs with support for Python 3.8+.

Censys Python Library
An easy-to-use and lightweight API wrapper for Censys APIs with support for Python 3.8+.
Censys Python Library Description
An easy-to-use and lightweight API wrapper for Censys APIs (censys.io). Python 3.8+ is currently supported. This library has been tested on Python 3.8 and 3.x (Currently version 3.10). Notice: The Censys Search v1 endpoints are deprecated as of Nov. 30, 2021. Please begin using v2 endpoints to query hosts and certificates and check out our support center for resources. Features: - Search Censys data - Bulk Certificate lookups - Download Bulk Data - Manage assets, events, and seeds in Censys ASM - Command-line interface Getting Started: The library can be installed using pip. - pip install censys To upgrade using pip: - pip install --upgrade censys Alternatively, you can install the library using poetry: - git clone https://github.com/censys/censys-python.git - cd censys-python/ - poetry install Optionally, you can enable tab completion for the CLI by adding this line to your ~/.bashrc, ~/.zshrc, or equivalent. Please note that autocomplete is supported for field names in the search command. - eval "$(register-python-argcomplete censys)" To configure your search credentials run censys config or set both CENSYS_API_ID and CENSYS_API_SECRET environment variables. - $ censys config Censys
FEATURED
Password manager with end-to-end encryption and identity protection features
VPN service providing encrypted internet connections and privacy protection
Fractional CISO services for B2B companies to accelerate sales and compliance
Stay Updated with Mandos Brief
Get the latest cybersecurity updates in your inbox
TRENDING CATEGORIES
POPULAR
Security platform that provides protection, monitoring and governance for enterprise generative AI applications and LLMs against various threats including prompt injection and data poisoning.
A threat intelligence aggregation service that consolidates and summarizes security updates from multiple sources to provide comprehensive cybersecurity situational awareness.
Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.
A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.