praesago (Python)
Python client for the Praesago API: property and area data for every postcode district in England and Wales. Sold prices, sector prices, price per square foot, rents and yields, weekly asking-market statistics, planning, crime, schools, flood risk, broadband and more, from official sources joined in one place.
No dependencies. Python 3.10 or later.
pip install praesago
Start
Create a key at https://praesago.com/settings/api-keys. Every account gets 500 free credits each month.
export PRAESAGO_API_KEY=your-key
from praesago import Praesago
client = Praesago() # reads PRAESAGO_API_KEY
e17 = client.district("E17") # everything for one district
print(e17["area_name"], e17["median_sold_price_gbp"])
print(client.last_credits) # Credits(charged=3, remaining=497)
Try it without a key:
Praesago().demo() # real figures for E17
Praesago().catalogue() # every source, licence, period and coverage
Examples
Buy-to-let screen: districts with a 6% or higher asking yield under £250,000
for row in client.screen(min_yield_pct=6, max_median_price_gbp=250_000, sort_by="yield", limit=10):
print(row)
Compare two districts
client.compare("E17", "CF10")
Headline facts for many districts in one call (1 credit for each district found, up to 50)
client.batch(["E17", "M14", "LS6", "CF24"])
All methods
| Method | What it returns |
|---|---|
district(d, sections=None) |
Everything held for one district. sections limits the reply. |
context(d) |
Market context for a district |
sectors(d) |
Sold prices by postcode sector (a median needs 10 or more sales) |
sold_psf(d) |
Sold price per square foot (houses) |
rental(d) |
Rent and yield by bedrooms, rental demand, Local Housing Allowance |
price_history(d, months=None) |
Monthly HPI and yearly ONS medians |
planning(d, months=None) |
Planning activity (1 to 24 months) |
listings(d, channel=None, weeks=None, source=None) |
Weekly asking-market statistics (sale or rent) |
movers(channel=None, metric=None, limit=None) |
Biggest week-over-week changes (price or inventory) |
search(q, limit=None) |
Find districts by outcode or place name |
screen(**filters) |
Filter districts by price, rent, listings, price cuts, yield, region |
compare(a, b) |
Two districts side by side |
batch(districts) |
Headline facts for up to 50 districts |
catalogue() |
Sources and coverage (no key) |
demo() |
Fixed demo district (no key) |
Credit costs for each call are on the pricing page.
Errors
Every error is a PraesagoError with status, code (stable, branch on it), request_id (quote it to support) and retry_after when the server sends it.
from praesago import InsufficientCreditsError, NotFoundError
try:
client.district("ZZ99")
except NotFoundError:
... # not a district in England and Wales
except InsufficientCreditsError:
... # buy credits at https://praesago.com/pricing
The client retries rate limits (429) and server faults (5xx) twice, with back-off. Change it with Praesago(max_retries=0).
Also
- MCP server for AI assistants: https://praesago.com/docs/mcp
- JavaScript client:
praesagoon npm
MIT licence.
Metadata
Release files for praesago 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 | Provenance | Actions |
|---|---|---|---|---|
| praesago-0.1.0.tar.gz | 9.2 kB | With provenance | Details for praesago-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| praesago-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for praesago-0.1.0-py3-none-any.whl |
Total release size: 17.6 kB
Release files / praesago-0.1.0.tar.gz
| Download URL | praesago-0.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c15ae12598d72b4b6a4751046f69f201c89bd9e2bc7a3155c5272d561f723ca
|
|
BLAKE2b-256 checksum How to use checksums |
d29b74249b677423fb2db80be47c2715f12f2dc64ce55d6d4f202f313731de1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / praesago-0.1.0-py3-none-any.whl
| Download URL | praesago-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4fc9c35c080ec44249dfa577d29a283734acb68767878d8dc37cc66e44ca221
|
|
BLAKE2b-256 checksum How to use checksums |
253f4addbde6c0d94d8924a950893c6d8301b1812108daa4bd3d27735de55c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for praesago 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for praesago-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.