Skip to main content

Python API for Israeli Masav payments

Install

pip install masav

Usage

from JSON

# TODO

low level API

from masav import MasavPayingInstitute, MasavPaymentDetails

institute = MasavPayingInstitute(
    institute_code=12345678,
    institute_name="Company ISRAEL LTD.",
    sending_institute_code=12345
    )

payee_details_1 = MasavPaymentDetails(
    amount=85,
    bank_number="11",
    branch_number="303",
    account_number="007008629",
    payee_id="123123127",
    payee_name="Leto II Atreides",
    payee_number="00000000000001313131"
    )

payee_details_2 = MasavPaymentDetails(
    amount=1346.37,
    bank_number="31",
    branch_number="051",
    account_number="000283487",
    payee_id="123456782",
    payee_name="Thorin Oakenshield",
    payee_number="00000000000001122233"
    )

payments_list = [payee_details_1, payee_details_2]

file = "tests/payment_file_generated_by_test.bin"
institute.create_payment_file(
        file=file,
        payments_list=payments_list,
        payment_date="200507",
        serial_number=404,
        creation_date="200507"
    )

Development

git clone https://github.com/omrirz/masav.git
cd masav
pip install -r requirements.txt

Test

tox

Metadata

Release files for masav 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for masav 0.0.2
File Size Uploaded Provenance Actions
masav-0.0.2.tar.gz 4.8 kB Without provenance Details for masav-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for masav 0.0.2
File Interpreter ABI Platform Actions
masav-0.0.2-py3-none-any.whl Python 3 none any Details for masav-0.0.2-py3-none-any.whl

Total release size: 11.1 kB

Release files / masav-0.0.2.tar.gz

Download URL masav-0.0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
17ad425597ad5442f30c3c96e513ac55b412c7221f3c0af6fb1c0911792cff40
BLAKE2b-256 checksum
How to use checksums
393be6110a74e4ea0b0e715009e2c7f3d9246446e059e30cfe1245aa565cc220
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / masav-0.0.2-py3-none-any.whl

Download URL masav-0.0.2-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
047565f9389f10e0b48326efed7c6afc495a44ed92052f05369a48c8c90ecf56
BLAKE2b-256 checksum
How to use checksums
21065d54d1793ee75feb4dff040fc219a5063b6452d4e8503bf260690c91d703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Security for masav 0.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page