Real-time city energy scores for Indian cities
Project description
citypulse
Real-time city energy scores for Indian cities.
Install
pip install citypulse
Usage
from citypulse import CityPulse
cp = CityPulse()
# Get pulse score for any city
print(cp.get_pulse("Mumbai"))
# → {"city": "Mumbai", "pulse_score": 83.9, "temperature": 30.4, ...}
# Live leaderboard
cities = cp.get_dashboard()
for c in cities:
print(f"{c['city']}: {c['pulse_score']}/100")
# Similar cities
similar = cp.get_similar("Bengaluru")
# → [{"city": "Mumbai", "similarity_score": 0.87, ...}]
# Neighbourhood breakdown
areas = cp.get_neighbourhood("Lucknow")
# → [{"neighbourhood": "Hazratganj", "pulse_score": 51.1, ...}]
API
| Method | Description |
|---|---|
get_pulse(city) |
Latest pulse score for any city |
get_dashboard() |
All tracked cities with scores |
get_trend(city, days=7) |
Hourly pulse trend |
get_forecast(city) |
24h Prophet forecast |
get_similar(city) |
Cities with similar vibe |
get_neighbourhood(city) |
Area-level scores |
compare(days=7) |
City ranking |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
citypulse-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file citypulse-0.1.0.tar.gz.
File metadata
- Download URL: citypulse-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfcaaed05584403dbfed9d2d1ca1e5f173b0ec2361ce43f798c099810bfb2f67
|
|
| MD5 |
bd8b883570223806ee27ae7ded928e91
|
|
| BLAKE2b-256 |
33975ad98a56eff2660ba8bf557e1dbc1c8076a705c72b6814cfe2cc935c2cb9
|
File details
Details for the file citypulse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: citypulse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
641fe2e757d0bc5a47c0afe6c997bde1384fb45c63eabc755ac99c5ab6b3474b
|
|
| MD5 |
c935f57502661b0b271cdf1368586a16
|
|
| BLAKE2b-256 |
e496c653abd68b117f9814acb2ed89d47a0cf76d1b202a01f3395ff4a92af7f5
|