PolicyEngine / policyengine.py

[WIP] PolicyEngine's main user-facing Python package, incorporating country packages and integrating data visualization and analytics.
https://policyengine.github.io/policyengine.py/
GNU Affero General Public License v3.0
2 stars 6 forks source link

[DMP 2024]: Unified `policyengine` Python package #1

Closed MaxGhenis closed 1 month ago

MaxGhenis commented 7 months ago

Description

We are looking to develop a Python package called policyengine that will serve as a unified interface for our country-specific policy simulation packages (e.g., policyengine_us, policyengine_uk). This package will provide a consistent API for users to perform policy simulations, conduct analyses, and generate visualizations across different countries. The package will include two main simulation classes: Microsimulation for running simulations on microdata and IndividualSim for calculating outcomes for a single household. Additionally, the package will offer analytics and charting functionality to facilitate cross-country comparisons and visualizations. A key feature of the package will be the ability to reproduce charts and visualizations from the PolicyEngine web interface, enabling users to generate insightful visual representations of simulation results programmatically.

Goals

Setup/Installation

The policyengine package will be hosted on GitHub and can be installed via pip:

pip install policyengine

Detailed installation instructions and dependencies will be provided in the package's README file.

Expected Outcome

The final product will be a well-documented and user-friendly Python package that enables users to perform policy simulations, conduct analyses, and generate visualizations across different countries. The package will provide a consistent interface for users to interact with our country-specific policy simulation packages, streamlining the process of cross-country comparisons and policy evaluation. Users will be able to reproduce a wide range of charts and visualizations from the PolicyEngine web interface programmatically, facilitating in-depth analysis and customization of visual representations.

Acceptance Criteria

Implementation Details

Mockups/Wireframes

(Mockups and wireframes will be linked here when ready.)

Product Name

PolicyEngine

Organisation Name

PolicyEngine

Domain

Tech Skills Needed

Mentor(s)

@nikhilwoodruff, co-founder and CTO @anth-volk, software engineer and developer community manager

Category

Related Issues

masterismail commented 7 months ago

Hey @MaxGhenis! I'm super interested in this project! I've been building APIs and AI models for a while now, and this sounds like a great fit.

Is there a recommended way to chat with the mentors? I'd love to discuss how I can jump in and help out with this policyengine package.

Thanks!

nikhilwoodruff commented 3 months ago

Weekly goals

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

masterismail commented 3 months ago

Weekly Learnings

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Week 7

nikhilwoodruff commented 1 month ago

Closing since the program is now ended.