Coverage for src/crimepy/__init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.17.0, created at 2026-10-30 18:01 +0000
« prev ^ index » next coverage.py v7.17.0, created at 2026-10-30 18:01 +0000
1"""Accessible tools for crime data.
3crimepy downloads, combines, munges, analyzes, and plots crime data.
5Contents:
6 Project: an `amos.Project`, for a study of crime data.
7 analyze: counts crimes and computes rates, changes, and crosstabs.
8 combine: stacks and merges tables of crime data.
9 nibrs: tools for the FBI's National Incident-Based Reporting System.
10 options: default settings of crimepy.
11 plot: figures of crime data.
12 techniques: techniques that analyze crime data, on `amos` datasets.
13 utilities: small tools that the rest of crimepy shares.
15"""
17from __future__ import annotations
19__version__ = '0.2.1'
21__author__: str = 'Corey Rayburn Yung'
23__all__: list[str] = [
24 'Project',
25 'analyze',
26 'combine',
27 'nibrs',
28 'options',
29 'plot',
30 'techniques',
31 'utilities']
33# A study is an `amos.Project`, which crimepy offers under the same name.
34from amos import Project
36# Importing `nibrs`, `plot`, and `techniques` adds their techniques to the
37# `amos` library, so they can be named in settings as soon as crimepy is
38# imported.
39from . import analyze, combine, nibrs, options, plot, techniques, utilities