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.14.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

spei_python-0.14.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spei_python-0.14.0.tar.gz
  • Upload date:
  • Size: 16.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.14.0.tar.gz
Algorithm Hash digest
SHA256 3a9f167a48d41ccc0c73aec36cac7fe24cef270521f9f6cd62149325af7d9409
MD5 bc1552e8d74dceec3056205a9ec94a61
BLAKE2b-256 c9cf204e905fd9ce9618c73a7f3dd5b1a371262a75483fa2a7e9be4d0f993f09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spei_python-0.14.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e78c854b530d7645f5d276074e1931ee0ae6058ec84edfd30195b84d4d925501
MD5 54c9728e58b35c71c3a26d527399ed47
BLAKE2b-256 2aed0ba07af5656effc0804ae86bf8c47aaa6955738259aa6df3a7349d33fb2d

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