Metadata-Version: 2.4
Name: crimedatasets
Version: 0.1.0
Summary: A curated collection of crime-related datasets for data analysis, criminology research, and education. Includes international crime statistics, incarceration data, mass shootings, hate crimes, and more from Kaggle sources.
Home-page: https://github.com/lightbluetitan/crimedatasets-py
Author: Renzo Caceres Rossi
Author-email: Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>
Maintainer-email: Renzo Caceres Rossi <arenzocaceresrossi@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Renzo Caceres Rossi
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: datasets,crime,criminology,criminal justice,crime statistics,law enforcement,incarceration,hate crimes,mass shootings,prisons,data analysis,data science,research,sociology,international,kaggle
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Sociology
Classifier: Topic :: Database
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=1.5
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# crimedatasets

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)

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:
```bash
pip install crimedatasets
```

## Usage
```python

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.
