Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

itssutils

Illinois Traffic Stops Statistical Study Utilities

This package provides a way to calculate metrics for police traffic stops in Illinois. Built for use with data provided from the Illinois Traffic Stop Study.

Check out the Illinois traffic stops website to learn more.

Installation

You can install with pip:

pip install itssutils

Usage

Download raw data from this link (you can download pre-processed metrics files there as well).

Process the raw data using the RawITSSData class.

from itssutils.itssdata import RawITSSData
raw = RawITSSData()
raw.load_single_year(2017, '2017_ITSS_Data.txt')

You can calculate metrics using the ITSSMetrics class.

from itssutils.itssdata import ITSSMetrics
met = ITSSMetrics(raw)
met.calculate_metics(['AgencyName', 'DriverRace'])

Getting Started

Try opening up the getting started notebook and working your way through it to see what the package can do. Be sure to note any issues!

Look for more documentationon the GitHub Pages site.

Metadata

Release files for itssutils 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itssutils 0.0.1
File Size Uploaded Provenance
itssutils-0.0.1.tar.gz 23.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for itssutils 0.0.1
File Interpreter ABI Platform
itssutils-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 53.9 kB

Release files / itssutils-0.0.1.tar.gz

Download URL itssutils-0.0.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7ace13899721042d063759ce3970e4166065364eb3003b4267e5fe66677b10a2
BLAKE2b-256 checksum
How to use checksums
1a57f0e7de54ef93d7a2bfd6280c85fda333dd85f645e5ccc8a5dcdff4fbf35e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / itssutils-0.0.1-py3-none-any.whl

Download URL itssutils-0.0.1-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
defb4831fea6230f7f7de89bc6a4d7b5f75e17630df00c298b39a8b6de11f55b
BLAKE2b-256 checksum
How to use checksums
9dea7bc0c4e28e1e862451892053cdc83e94233a748eb2bac8ceb4ea7e45669e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Security for itssutils 0.0.1

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page