Skip to main content

rdatools

Redistricting analysis tools (RDA)

This repository (rdatools/rdatools) contains redistricting analysis code. There are two associated repositories of data:

  • rdatools/vtd_data – Various precinct-level input data for the analysis tools, where precincts are generally census VTDs except in a few states which use census blockgroups.
  • rdatools/vtd_ensembles – Various output data from the analysis tools, including ensembles of plans and scores for plans in ensembles.

Categories

The code here is organized by area:

  • Base: Shared code
  • DCCVT: Balzer's algorithm to find a maximally population compact map
  • Ensemble: Ensemble generation & scoring code
  • EI: Ecological inference code
  • Rootmap: Root maps code
  • Score: Scoring code

Installation

To get the code locally, clone the repository:

git clone https://github.com/rdatools/rdatools
cd rdatools

To run the scripts, install the dependencies:

pip install -r requirements.txt

To use the shared code in another project, install the package:

pip install rda-toolkit

Testing

$ pytest

Metadata

Release files for rda-toolkit 0.0.4

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

Source distribution (sdist)

Source distribution for rda-toolkit 0.0.4
File Size Uploaded Provenance Actions
rda_toolkit-0.0.4.tar.gz 46.3 kB Without provenance Details for rda_toolkit-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rda-toolkit 0.0.4
File Interpreter ABI Platform Actions
rda_toolkit-0.0.4-py3-none-any.whl Python 3 none any Details for rda_toolkit-0.0.4-py3-none-any.whl

Total release size: 105.2 kB

Release files / rda_toolkit-0.0.4.tar.gz

Download URL rda_toolkit-0.0.4.tar.gz
Size 46.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ccebeb4bb2369bbc3323b14b31f74f50aebc94ef7d1101c8885442761bf88178
BLAKE2b-256 checksum
How to use checksums
d10611579a4cc3fa7a85b97896588ab7b7415526bf6056376d12a61e90c3632c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / rda_toolkit-0.0.4-py3-none-any.whl

Download URL rda_toolkit-0.0.4-py3-none-any.whl
Size 59.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3031d4fd62e3b49f0fbc7e85173bdeea8a79687dafdfe113f0cd2c3df91204aa
BLAKE2b-256 checksum
How to use checksums
234a8643659d0c762957a51e2ecef706de06e9dc176d632743576e74e1662521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for rda-toolkit 0.0.4

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.

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