Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A CLI tool for finding information on UK police forces and local crime information

Project Description

A simple command line app for retrieving data on UK police forces and neighbourhoods.


pip install ukpol-cli


The command has 4 main arguments all accepting a UK postcode without a space e.g. B458ES or SK224PL:

  • area - Tells you the covering force, contact info an description of force area.
  • force - more detailed information on the force in that area including outreach info.
  • contact - Basic contact info
  • crimes - Show a listing of crimes comitted in the area. An option –date parameter can be provided.


ukpol area B610PL

ukpol force SK224PL

Getting Help

Just running ukpol on its own will give you the following help output:

Usage: ukpol [OPTIONS] COMMAND [ARGS]...

  The UK Police CLI. Find out data and info based on a UK postcode.


      ukpol area B610PL
      ukpol force SK224PL
      ukpol contact PE227DB

  Do not put a space inside the postcode!
  To get help with a subcommand, add the --help option after the command.

  -v, --version  Show the version and exit.
  -h, --help     Show this message and exit.


Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(4.5 kB) Copy SHA256 Hash SHA256
Source Jul 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting