Skip to main content

PyPI version Build Status Coverage Status

Represent Boundaries is a web API to geographic areas, like electoral districts. It allows you to easily find the areas that cover your users’ locations to display location-based information, like profiles of electoral candidates.

It’s a Django app that’s easy to integrate into an existing project or to deploy on its own. It uses a simple file format to control how data is loaded into the API, and it provides a command-line tool to easily manage data.

Notable uses include:

  • Represent helps people find the elected officials and electoral districts for any Canadian address or postal code, at any level of government.

  • OpenStates.org allows anyone to discover more about lawmaking in their state and uses Represent Boundaries to help them find their state legislators.

  • GovTrack.us helps track the activities of the United States Congress and uses Represent Boundaries to help people find their members of Congress.

  • ANCFinder.org helps Washington, DC residents discover and participate in their Advisory Neighborhood Commissions.

Public instances include:

Documentation

Testing

createdb represent_boundaries_test
psql represent_boundaries_test -c 'CREATE EXTENSION postgis;'
env DJANGO_SETTINGS_MODULE=settings django-admin migrate --noinput
python runtests.py

Acknowledgements

Represent Boundaries is based on the Chicago Tribune’s django-boundaryservice.

Released under the MIT license

Metadata

Release files for represent-boundaries 0.10.2

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

Source distribution (sdist)

Source distribution for represent-boundaries 0.10.2
File Size Uploaded
represent_boundaries-0.10.2.tar.gz 47.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for represent-boundaries 0.10.2
File Interpreter ABI Platform
represent_boundaries-0.10.2-py3-none-any.whl Python 3 none any Details

Total release size: 121.2 kB

Release files / represent_boundaries-0.10.2.tar.gz

Download URL represent_boundaries-0.10.2.tar.gz
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f289e23fc1d3535a915193f36d0429cffbedbd5a56b73cb32e96c91cc17b0ab6
BLAKE2b-256 checksum
How to use checksums
9ac84a97c695e90683136cb92b0046bcd1befda07d20bbb9144407d83e67ffc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / represent_boundaries-0.10.2-py3-none-any.whl

Download URL represent_boundaries-0.10.2-py3-none-any.whl
Size 73.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52cd3e556442b46c0c01bc166dfeaf54999b9a2337dc363775c6f685eccceb6a
BLAKE2b-256 checksum
How to use checksums
6527edf55d2a960db55a278cd6e577c996ce1ee4b809a3ff1778e5c48122ab55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.10.2 This release

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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