Skip to main content

Python calculator for New Markets Tax Credit (NMTC) leveraged transactions

Project description

nmtc-calc 🏗️

Python calculator for New Markets Tax Credit (NMTC) leveraged transactions.

Built for CDFI practitioners, CDEs, tax credit investors, and project sponsors who need reproducible, auditable NMTC deal math — without starting from scratch in Excel.


Why nmtc-calc?

New Markets Tax Credit transactions involve complex layered capital structures — QEIs, QLICIs, leverage loans, 7-year credit schedules, investor IRR, and net subsidy calculations. Every practitioner builds these models from scratch in Excel. nmtc-calc standardizes and automates the math.


Installation

pip install nmtc-calc

Quickstart

from nmtccalc import NMTCDeal, transaction, credits, investor, subsidy

deal = NMTCDeal(
    project_name="Southside Community Health Center",
    total_project_cost=10_000_000,
    nmtc_allocation=10_000_000,
    credit_price=0.83,
    leverage_loan_rate=0.045,
    qlici_a_loan_rate=0.045,
    qlici_b_loan_rate=0.010,
    cde_fee_rate=0.02,
    compliance_years=7,
    discount_rate=0.08,
)

transaction.structure(deal).summary()
credits.schedule(deal).summary()
investor.analyze(deal).summary()
subsidy.analyze(deal).summary()

Modules

  • transaction — QEI, NMTCs, investor equity, leverage loan, QLICI A/B split
  • credits — 7-year credit schedule (5/5/5/6/6/6/6%), PV of credits
  • investor — Investor IRR, MOIC, gross/net benefit
  • subsidy — Net subsidy to QALICB, effective cost of capital, interest savings

Key NMTC Concepts

  • QEI: Qualified Equity Investment into the CDE
  • QLICI: Qualified Low-Income Community Investment (loans to QALICB)
  • QALICB: Qualified Active Low-Income Community Business (project borrower)
  • CDE: Community Development Entity (allocatee of NMTC authority)
  • A Loan: Senior QLICI mirroring the leverage loan
  • B Loan: Subordinate QLICI, typically forgiven at year 7
  • Credit Price: dollars per dollar of NMTC benefit (typically 0.70-0.85)

Running Tests

PYTHONPATH=. pytest tests/ -v

32 tests across all modules.


Who This Is For

  • CDEs structuring NMTC allocations for projects
  • Tax credit investors evaluating deal economics
  • Project sponsors understanding subsidy and cost of capital
  • CDFI analysts modeling NMTC transactions in IC memos

License

MIT 2026 Jaypatel1511

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nmtc_calc-0.2.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nmtc_calc-0.2.1-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file nmtc_calc-0.2.1.tar.gz.

File metadata

  • Download URL: nmtc_calc-0.2.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for nmtc_calc-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a86a1e686e49473eedbb532e9770927d4e889ea6a6b3eaaca74d60e8a4ebdee9
MD5 bd931dd2e9b2eed918b354c360f6120d
BLAKE2b-256 9df17f132168bf26d480c131a95160fa5fe06fb97ad4f713ec7931bdc9c3a008

See more details on using hashes here.

Provenance

The following attestation bundles were made for nmtc_calc-0.2.1.tar.gz:

Publisher: release.yml on Jaypatel1511/nmtc-calc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nmtc_calc-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: nmtc_calc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for nmtc_calc-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0dbdd54e7d5cdd1379c3fb8e49450daaed64bd8ab650b9b46f371a8ad7ec67e0
MD5 b77b51f54fcf8fa2b94eff4ffdb865ee
BLAKE2b-256 de481fe081cf890e4e9d5a4a9ba00853ca828b827ebf9573536135331df6de43

See more details on using hashes here.

Provenance

The following attestation bundles were made for nmtc_calc-0.2.1-py3-none-any.whl:

Publisher: release.yml on Jaypatel1511/nmtc-calc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page