crimedatasets
The crimedatasets package provides a curated collection of crime-related datasets from around the world, designed for data analysis, criminology research, and education in Python.
It includes extensive data on mass shootings, hate crimes, incarceration statistics, serial killers, corruption indexes, and criminal justice metrics spanning multiple countries including the United States, Germany, Russia, Spain, France, Sweden, Switzerland, and Scotland.
Installation
You can install the crimedatasets package from PyPI:
pip install crimedatasets
Usage
import crimedatasets as crd
# List all available datasets
datasets = crd.list_datasets()
print(datasets)
# Load a specific dataset
df = crd.load_dataset('us_mass_shootings')
print(df.head())
📊 Some Available Datasets
Related-Crimes Datasets
| Dataset | Description | Period |
|---|---|---|
berlin_crimes |
Crime in Berlin, Germany | 2012 - 2019 |
texas_deathrow |
Texas death row inmates | 1976 - 2018 |
russia_crimes |
The number of crimes in Russia | 2008-2023 |
arrests_national_juvenile |
Arrests of juveniles in the US by crime category | 1995-2016 |
The crimedatasets library is released under the MIT License, allowing free use for both commercial and non-commercial purposes.
Metadata
Release files for crimedatasets 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 |
|---|---|---|---|---|
| crimedatasets-0.1.0.tar.gz | 777.3 kB | Without provenance | Details for crimedatasets-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crimedatasets-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for crimedatasets-0.1.0-py3-none-any.whl |
Total release size: 1.6 MB
Release files / crimedatasets-0.1.0.tar.gz
| Download URL | crimedatasets-0.1.0.tar.gz |
|---|---|
| Size | 777.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ac7109972fdfaf4a35684a0ce4fe2ebbd9fc8aac3e4bb333f0d6e308d5b9125
|
|
BLAKE2b-256 checksum How to use checksums |
7337f8f9d0b23327cbb3d8d924c6a0febe0fbce05ae50084975a8bcca69fd62b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / crimedatasets-0.1.0-py3-none-any.whl
| Download URL | crimedatasets-0.1.0-py3-none-any.whl |
|---|---|
| Size | 777.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58c66c0adb22a69c1d3be862c63ac4d6bdd9b9ed93383a360cfcdc2aae5e1849
|
|
BLAKE2b-256 checksum How to use checksums |
219d5cbc7db7cc104e7939b9fe97a67637d01b0c28e1fe695d049bd96d81f31d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for crimedatasets 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.