Skip to main content

No project description provided

Project description

wemake-python-styleguide

spei-python

A library for accessing the SPEI API for python.

Installation

Use the package manager poetry to install.

poetry install spei-python

Usage

Use our client to send orders to SPEI.

from spei.client import BaseClient

client = BaseClient(
    host='karpay-beta.intfondeadora.app',
    username='karpay',
    password='password',
    priv_key='private_key',
    priv_key_passphrase='passphrase',
)

Methods

Resources

There are two main resources.

  • Orden our abstraction of order, this goes through SPEI as XML.
  • Respuesta our abstraction of received SPEI messages and response to SPEI orders.

Types

Errors

You may use any of the generic errors in errors to return as response to SPEI. (?) Need to ask karpay.

These errors are included inside respuesta.

Test

Tested with mamba, install poetry dev packages and then run tests.

poetry run make test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Checksum Generator

This repo includes a utility to generate firma digital aplicada

python bin/generate_checksum.py bin/message.json

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

spei_python-0.15.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

spei_python-0.15.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file spei_python-0.15.3.tar.gz.

File metadata

  • Download URL: spei_python-0.15.3.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for spei_python-0.15.3.tar.gz
Algorithm Hash digest
SHA256 1e8795c554fb2820bed906f7acf6bd2ad49d3253f9b255e7902a12044beee790
MD5 fe6925eef995c7ad1f6893cae14bd0a4
BLAKE2b-256 fc8b70538d9f850fdb871b37ebe4ee35a26527b4a8957928b315b942956c3b9d

See more details on using hashes here.

File details

Details for the file spei_python-0.15.3-py3-none-any.whl.

File metadata

  • Download URL: spei_python-0.15.3-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for spei_python-0.15.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58429efeb14eb6ec8195d2734afbd5ba3ec7bdedba39c679755a688b243a74c1
MD5 aa2dac7510bb4b7f935c1e9c362d7ff6
BLAKE2b-256 241365bcf7452eb53af59bac1d93362a1ee7408c12f0edec40c058d823006b15

See more details on using hashes here.

Supported by

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