israeli-pension-scrapers
Unified async Python scrapers (httpx) for Israeli pension, keren hishtalmut, kupat gemel, gemel le-hashkaa, and long-term savings providers — outputting a canonical, provider-agnostic JSON schema (PensionScrapingResult).
Supported Providers
| Provider Key | Institution | Hebrew Name | Auth Flow |
|---|---|---|---|
haphoenix (hafenix) |
The Phoenix Insurance Co. | הפניקס | SMS OTP (id + phoneNumber) + 6-month otpLongTermToken (refresh_token) |
migdal |
Migdal Insurance & Financial Holdings | מגדל | SMS OTP (id) + AES-256-CBC otpLongTermToken (PNLoginV2 / PNRegistrationV2) |
Unified JSON Output Schema
Every provider returns a PensionScrapingResult (.to_dict() / .to_json()) with:
insured:InsuredProfile(id_number,first_name,last_name,email,phone,birth_date,gender,city,street)portfolio_summary:PortfolioSummary(total_balance,liquid_balance,currency,balance_history,asset_exposure)funds:list[FundPolicy], each containing:- Normalized
policy_id+raw_policy_id+internal_account_id product_type(pension|hishtalmut|gemel|gemel_investment|financial_savings|pizuim|child_savings|life_savings)pension_type(makifa|mashlima|vatika|None)status(active|inactive|expired),employment_status(employee|self_employed)name,manufacturer,employer_name,agent_namebalance,as_of_balance,liquid_balance,taxable_balance,currencybalance_date,data_as_of_date,establishment_date(seniority/vetek),start_date,liquidity_datefees:ManagementFees(from_deposit_pct,from_savings_pct,investment_expense_pct,discount_valid_from,discount_valid_until)tracks:list[InvestmentTrack](code,name,allocation_pct,balance,yield_ytd_pct,yield_as_of_date,fee_deposit_pct,fee_savings_pct,investment_expense_pct)deposits:list[DepositTransaction](identifier,date,salary_month,total_amount,employee_amount,employer_amount,compensation_amount,disability_amount,insured_salary,employer_name,payment_method,description)yearly_movements:list[YearlyMovementSummary](year,as_of_date,opening_balance,deposits,gains,management_fees,insurance_costs,closing_balance,items)insurance_covers:list[InsuranceCover]expected_payments:list[ExpectedPayment]balance_history:list[BalancePoint]
- Normalized
Usage
import asyncio
from israeli_pension_scrapers import create_scraper
async def main():
scraper = create_scraper(
"haphoenix",
{
"id": "123456789",
"phoneNumber": "0501234567",
# Optional on subsequent runs to skip SMS OTP:
# "otpLongTermToken": "v1.M...",
},
)
scraper.on_otp_request = async_prompt_for_otp
result = await scraper.scrape()
print(result.to_json(indent=2))
asyncio.run(main())
Metadata
Release files for israeli-pension-scrapers 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| israeli_pension_scrapers-0.2.0.tar.gz | 48.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| israeli_pension_scrapers-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.3 kB
Release files / israeli_pension_scrapers-0.2.0.tar.gz
| Download URL | israeli_pension_scrapers-0.2.0.tar.gz |
|---|---|
| Size | 48.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0956250d5e484608eb0e8a25a2b646c99f4ef874c32e5faa8614ca33d97b3c7
|
|
BLAKE2b-256 checksum How to use checksums |
1843d8a188ff504a7e54174059d5ed9c49c157b1ca48d3af814b237f36b3dced
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / israeli_pension_scrapers-0.2.0-py3-none-any.whl
| Download URL | israeli_pension_scrapers-0.2.0-py3-none-any.whl |
|---|---|
| Size | 37.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
137cf9ab95e448cbac715f141982ebcb7617d40211915e0274bdce2f9ef5c1d7
|
|
BLAKE2b-256 checksum How to use checksums |
00c2736b24f8b9f0a18ee0e04ff8cc3c2f033e2382831a09b967ea876608c235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for israeli-pension-scrapers 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for israeli_pension_scrapers-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.