Module Import alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias Import alias Import alias Import alias ImportFrom alias If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body Expr Str Return Dict Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Import alias Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Str Str Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str If UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr body Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr attr Str attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad For NameStore Call AttributeLoad NameLoad attr Str body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword CompareEq Call AttributeLoad NameLoad attr Str NameLoad Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore AttributeLoad NameLoad attr body If CompareNotIn AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr body Print TupleLoad Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os flask_script Manager Shell Server prompt_pass flask_migrate MigrateCommand upgrade comport.content.defaults ChartBlockDefaults comport.app create_app comport.user.models User Role comport.department.models Department Extractor comport.settings DevConfig ProdConfig Config comport.database db comport.utils parse_csv_date comport.data.models UseOfForceIncident CitizenComplaint DenominatorValue DemographicValue OfficerInvolvedShooting N/A glob N/A csv N/A hashlib testclient.JSON_test_client JSONTestClient N/A N/A N/A N/A N/A os environ get COMPORT_ENV prod N/A N/A app N/A create_app ProdConfig N/A N/A app N/A create_app DevConfig N/A HERE N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ N/A TEST_PATH N/A N/A N/A os path join HERE tests N/A manager N/A Manager app _make_context N/A N/A N/A N/A N/A Return context dict for a shell session so you can access
    app, db, and the User model by default.
     N/A N/A app db User Department Extractor UseOfForceIncident CitizenComplaint OfficerInvolvedShooting app db User Department Extractor UseOfForceIncident CitizenComplaint OfficerInvolvedShooting N/A test N/A N/A N/A N/A N/A Run the tests. N/A pytest N/A exit_code N/A N/A pytest main N/A TEST_PATH -x --verbose N/A exit_code N/A N/A manager command make_admin_user N/A N/A N/A N/A N/A password N/A prompt_pass Password N/A user N/A N/A User create username admin email email@example.com password password active True N/A admin_role N/A Role name admin N/A N/A N/A admin_role save N/A N/A N/A N/A user roles append admin_role N/A N/A N/A user save N/A N/A manager command load_test_data N/A N/A N/A N/A N/A department N/A N/A N/A N/A N/A Department query filter_by name Indianapolis Metropolitan Police Department short_name IMPD first N/A N/A department N/A N/A department N/A N/A Department create name Indianapolis Metropolitan Police Department short_name IMPD N/A N/A N/A N/A N/A N/A N/A User query filter_by username user first N/A N/A N/A N/A User create username user email email2@example.com password password active True department_id N/A department id N/A filename N/A N/A glob glob data/testdata/complaints/complaints.csv N/A N/A N/A open filename rt f N/A N/A reader N/A N/A csv DictReader f N/A complaint reader N/A N/A officer_identifier N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A complaint get OFFNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A opaque_id N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A complaint get INCNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A N/A N/A CitizenComplaint create opaque_id opaque_id department_id N/A department id occured_date N/A parse_csv_date N/A N/A complaint get OCCURRED_DT None division N/A N/A complaint get UDTEXT24A None precinct N/A N/A complaint get UDTEXT24B None shift N/A N/A complaint get UDTEXT24C None beat N/A N/A complaint get UDTEXT24D None disposition N/A N/A complaint get FINDING None allegation_type N/A N/A complaint get ALG_CLASS None allegation N/A N/A complaint get ALLEGATION None census_tract None resident_race N/A N/A complaint get RACE None officer_race N/A N/A complaint get OFF_RACE None resident_sex N/A N/A complaint get SEX None officer_sex N/A N/A complaint get OFF_SEX None officer_identifier officer_identifier officer_years_of_service N/A N/A complaint get OFF_YR_EMPLOY None officer_age N/A N/A complaint get OFF_AGE None resident_age N/A N/A complaint get CIT_AGE None N/A filename N/A N/A glob glob data/testdata/uof/uof.csv N/A N/A N/A open filename rt f N/A N/A reader N/A N/A csv DictReader f N/A incident reader N/A N/A officer_identifier N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A incident get OFFNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A opaque_id N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A incident get INCNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A N/A N/A UseOfForceIncident create department_id N/A department id opaque_id opaque_id occured_date N/A parse_csv_date N/A N/A incident get OCCURRED_DT None division N/A N/A incident get UDTEXT24A None precinct N/A N/A incident get UDTEXT24B None shift N/A N/A incident get UDTEXT24C None beat N/A N/A incident get UDTEXT24D None disposition N/A N/A incident get DISPOSITION None census_tract None officer_force_type N/A N/A incident get UOF_FORCE_TYPE None resident_resist_type None officer_weapon_used None resident_weapon_used None service_type N/A N/A incident get SERVICE_TYPE None arrest_made N/A N/A incident get CIT_ARRESTED None arrest_charges N/A N/A incident get CITCHARGE_TYPE None resident_injured N/A N/A incident get CIT_INJURED None resident_hospitalized N/A N/A incident get CIT_HOSPITAL None officer_injured N/A N/A incident get OFF_INJURED None officer_hospitalized N/A N/A incident get OFF_HOSPITAL None use_of_force_reason N/A N/A incident get UOF_REASON None resident_race N/A N/A incident get RACE None officer_race N/A N/A incident get OFF_RACE None resident_sex N/A N/A incident get SEX None officer_sex N/A N/A incident get OFF_SEX None officer_identifier officer_identifier officer_years_of_service N/A N/A incident get OFF_YR_EMPLOY None officer_age N/A N/A incident get OFF_AGE None resident_age N/A N/A incident get CIT_AGE None officer_condition N/A N/A incident get OFF_COND_TYPE None resident_condition N/A N/A incident get CIT_COND_TYPE None N/A filename N/A N/A glob glob data/testdata/ois/ois.csv N/A N/A N/A open filename rt f N/A N/A reader N/A N/A csv DictReader f N/A incident reader N/A N/A officer_identifier N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A incident get OFFNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A opaque_id N/A N/A N/A N/A hashlib md5 N/A N/A N/A N/A N/A incident get INCNUM None N/A Config SECRET_KEY encode UTF-8 hexdigest N/A N/A N/A OfficerInvolvedShooting create department_id N/A department id opaque_id opaque_id occured_date N/A parse_csv_date N/A N/A incident get OCCURRED_DT None division N/A N/A incident get UDTEXT24A None precinct N/A N/A incident get UDTEXT24B None shift N/A N/A incident get UDTEXT24C None beat N/A N/A incident get UDTEXT24D None disposition N/A N/A incident get DISPOSITION None census_tract None officer_weapon_used N/A N/A incident get WEAPON_TYPE None resident_weapon_used N/A N/A incident get CIT_WEAPON_TYPE None service_type N/A N/A incident get SERVICE_TYPE None resident_race N/A N/A incident get RACE None officer_race N/A N/A incident get OFF_RACE None resident_sex N/A N/A incident get SEX None officer_sex N/A N/A incident get OFF_SEX None officer_identifier officer_identifier officer_years_of_service N/A N/A incident get OFF_YR_EMPLOY None officer_age N/A N/A incident get OFF_AGE None resident_age N/A N/A incident get CIT_AGE None officer_condition N/A N/A incident get OFF_COND_TYPE None resident_condition N/A N/A incident get CIT_COND_TYPE None N/A filename N/A N/A glob glob data/testdata/denominators/denominators.csv N/A N/A N/A open filename rt f N/A N/A reader N/A N/A csv DictReader f N/A month reader N/A N/A N/A N/A DenominatorValue create department_id N/A department id month N/A N/A month get month None year N/A N/A month get year None officers_out_on_service N/A N/A month get officers out on service None N/A filename N/A N/A glob glob data/testdata/demographics/demographics.csv N/A N/A N/A open filename rt f N/A N/A reader N/A N/A csv DictReader f N/A value reader N/A N/A N/A N/A DemographicValue create department_id N/A department id race N/A N/A value get race None count N/A N/A value get count None department_value N/A N/A N/A value get cityOrDepartment None department N/A N/A manager command delete_everything N/A N/A N/A N/A N/A N/A N/A db reflect N/A N/A N/A db drop_all N/A N/A upgrade N/A N/A manager command add_new_blocks N/A N/A N/A N/A N/A department N/A N/A N/A Department query all N/A N/A block N/A ChartBlockDefaults defaults N/A N/A N/A N/A block slug N/A N/A x slug N/A x N/A department chart_blocks N/A N/A N/A adding %s to %s N/A N/A block slug N/A department name N/A N/A N/A N/A department chart_blocks append block N/A N/A N/A department save N/A N/A N/A N/A db session commit N/A N/A manager command test_client N/A N/A N/A N/A N/A N/A delete_everything N/A department N/A N/A Department create name Busy Town Police Department short_name BTPD load_defaults True N/A user N/A N/A User create username user email email2@example.com password password active True is_admin True N/A N/A N/A N/A user departments append department N/A N/A N/A user save N/A test_client N/A JSONTestClient N/A N/A N/A test_client run department N/A N/A N/A manager command N/A N/A N/A manager add_command server N/A Server N/A N/A N/A manager add_command shell N/A Shell make_context _make_context N/A N/A N/A manager add_command db MigrateCommand N/A N/A __name__ __main__ N/A N/A N/A N/A manager run