GeoBit AI — Python SDK
Python client for the GeoBit AI geospatial intelligence API.
Install
pip install geobit
Quick Start
from geobit import GeobitClient
client = GeobitClient(api_key="geobit_v1_...")
# Health check
client.health()
# Search conflicts in a country
results = client.intelligence.conflicts_search(country="Ukraine", time_range="30d")
# GDELT event search
events = client.intelligence.gdelt_events(countries=["SY", "IQ"], days=7)
# Web search with automatic geocoding
hits = client.search.web(query="military buildup near Kherson")
# Early warning alerts
alerts = client.ews.alerts(country="Sudan")
# Conflict prediction
prediction = client.ews.prediction(country="Myanmar")
# Internet connectivity monitoring
status = client.ews.connectivity(country="Ethiopia")
# Multi-source intelligence fusion
intel = client.fusion.intelligence(days_back=7)
# Real-time aircraft tracking
planes = client.flight.aircraft(bbox=[33.0, 38.0, 35.0, 45.0])
# Weather grid
weather = client.weather.grid(lat=6.5, lng=3.4, radius_km=50)
Namespaces
| Namespace | Description |
|---|---|
client.intelligence |
Conflict search, GDELT events, battle maps |
client.search |
Web search, X/Twitter search with geocoding |
client.intel |
20+ specialized intelligence domains |
client.fusion |
Multi-source fusion, proxy groups, force projection |
client.analysis |
Threat surface, anomaly detection, MCDA |
client.ews |
Early warning alerts, conflict prediction, connectivity |
client.flight |
Real-time aircraft tracking (OpenSky) |
client.weather |
Weather grids, air quality |
client.geospatial |
Map layers, fly-to commands |
client.data |
SQL queries, table access |
client.strategy |
Wargaming, PMESII-PT, COA |
client.ai |
AI script execution, chat |
client.billing |
Usage stats, credit balance |
Authentication
All requests require an API key passed via the X-API-Key header (handled automatically).
client = GeobitClient(api_key="geobit_v1_...")
Error Handling
from geobit import GeobitClient, AuthenticationError, InsufficientCreditsError
client = GeobitClient(api_key="geobit_v1_...")
try:
results = client.intelligence.conflicts_search(country="Nigeria")
except AuthenticationError:
print("Invalid API key")
except InsufficientCreditsError as e:
print(f"Need more credits: {e.details}")
API Docs
Full API documentation with Swagger UI: https://api.geobit.ai/api/v1/docs
Metadata
Release files for geobit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| geobit-0.1.0.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| geobit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / geobit-0.1.0.tar.gz
| Download URL | geobit-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ed52966dff74bbc0f9952ea5cae0547b1bad8c90b6a56fd68042683df1f079c
|
|
BLAKE2b-256 checksum How to use checksums |
2079e0c71a92583a5e9636afde96d2647032e2a89e4877b6760213162a5accff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / geobit-0.1.0-py3-none-any.whl
| Download URL | geobit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
813594e6915c6b30854163eba1d2b5cb579a6a01a6de007c94e750db0d59c91c
|
|
BLAKE2b-256 checksum How to use checksums |
6068b948e23a26f7a4ae5de1bf190249b7752ff495b6d9c6485d1882533f6b89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|