A Python wrapper for the UK Police API
Project description
pyrozza
A Python wrapper for the UK Police API
Usage
Instantiate the client:
client = pyrozza.Client()
Currently, the following methods are available:
client.street_level_crimes(
lat: float = None,
lon: float = None,
poly: List[tuple] = None,
date: str = None,
)
client.street_level_outcomes(
lat: float = None,
lon: float = None,
poly: List[tuple] = None,
location_id: int = None,
date: str = None
)
client.crime_categories(date: str = None)
For the geo-related kwargs, only one of the following must be provided:
latANDlonpolylocation_id
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
pyrozza-0.1.0a1.tar.gz
(4.5 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 pyrozza-0.1.0a1.tar.gz.
File metadata
- Download URL: pyrozza-0.1.0a1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.8.13 Linux/5.15.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51f27f729278237b92466d458be89ba43c215f8e462e87c1e09b4a1ce7dfd1b6
|
|
| MD5 |
1b3e58a80fd8c34b53f4a9df0447751b
|
|
| BLAKE2b-256 |
43d98edbd3e19c0b52558c7af7b2826fdfcf334b87812f8b541a31afe8450ea8
|
File details
Details for the file pyrozza-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: pyrozza-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.8.13 Linux/5.15.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc2329450ad12487f2e7640948e037c36a8a2edba29d81120082701f01bc94bf
|
|
| MD5 |
df3098e7bb3b3d2a19744636a018db76
|
|
| BLAKE2b-256 |
04d6075dd74c1cc34fe86d218a89a7c8b6a4fc159f4afdba87351473af2d0afb
|