Skip to main content

SchoolDigger Python SDK

Official Python client for the SchoolDigger API — K-12 school data for 120,000+ U.S. schools.

Installation

pip install schooldigger

Quick Start

import schooldigger

config = schooldigger.Configuration()
config.api_key["appID"] = "YOUR_APP_ID"
config.api_key["appKey"] = "YOUR_APP_KEY"

client = schooldigger.ApiClient(config)

# Search schools
api = schooldigger.SchoolsApi(client)
result = api.search_schools(st="WA", q="Lincoln")
for school in result.school_list:
    print(f"{school.school_name} — {school.address.city}, {school.address.state}")

# Get a specific school by SchoolDigger ID
school = api.get_school("530966001632")
print(f"Enrollment: {school.school_yearly_details[0].number_of_students}")

API Classes

Class Methods
SchoolsApi search_schools(), get_school()
DistrictsApi search_districts(), get_district()
RankingsApi get_school_rankings(), get_district_rankings()
AutocompleteApi autocomplete_schools(), autocomplete_districts()

Authentication

All API calls require an appID and appKey. Get your free API key at developer.schooldigger.com.

Documentation

Plans

Plan Price Highlights
DEV/TEST Free Enterprise-level access, 20 calls/day
Basic $19.90/mo 1 year of data
Pro $89/mo Boundaries, geo search, finance
Enterprise $189/mo Full depth, boundary containment

License

MIT

Metadata

Release files for schooldigger 1.1.0

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

Source distribution (sdist)

Source distribution for schooldigger 1.1.0
File Size Uploaded
schooldigger-1.1.0.tar.gz 56.3 kB Details

Built distribution (wheel)

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

Total release size: 149.8 kB

Release files / schooldigger-1.1.0.tar.gz

Download URL schooldigger-1.1.0.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3b616654ba9a073e7b3c3cb07db48fb9ad08e3426484671e7e0c142db3b0d140
BLAKE2b-256 checksum
How to use checksums
dfa9a53fe191cc48a15ce936dcceab9f1d74071d23459cb312e660b3a33c2c7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / schooldigger-1.1.0-py3-none-any.whl

Download URL schooldigger-1.1.0-py3-none-any.whl
Size 93.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6f8654129a36d02de24a0303ba74076a486de2005e5d77168d7bc50ebb2a73a
BLAKE2b-256 checksum
How to use checksums
a3388db8ea541296c2ab9c8dda1e09e548ee496329ff6b60c050f92e00dce929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release history Release notifications | RSS feed

3.0.0

2 release files

2.0.0

2 release files

This release

1.1.0 This release

2 release files

1.0.0

2 release files

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