A docassemble extension.
Project description
PovertyScale
Poverty scale, updated approximately on an annual basis, to use for calculating income eligibility in the United States.
See example and demo in demo_poverty_scale.yml
This package contains a JSON file, poverty.json, which can be referenced directly,
as well as a module poverty.py which exports poverty_scale_income_qualifies
def poverty_scale_income_qualifies(total_monthly_income:float, household_size:int=1, multiplier:int=1)->Union[bool,None]:
"""
Given monthly income, household size, and an optional multiplier, return whether an individual
is at or below the federal poverty level.
Returns None if the poverty level data JSON could not be loaded.
"""
def poverty_scale_get_income_limit(household_size:int=1, multiplier:int=1)->Union[int, None]:
"""
Return the income limit matching the given household size.
"""
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for docassemble.PovertyScale-2021.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0217677892fb5de146f72e639b13fb6145ac27c315c087f9e21b04664e13bfc7 |
|
MD5 | 49688d8b656234a87de4d5fd29d70d42 |
|
BLAKE2b-256 | 5435c1b9212e461a886fc88772b17b3403e7bd3ebb95b7c6c9f2970592f5469b |