Skip to main content

Cliente para conectar instituciones con BCCR FVA.

Project description

pyfva

Cliente para conectar instituciones con BCCR FVA.

Abstrae la comunicación entre los servicios SOAP del BCCR y python creando clientes de fácil uso, por ejemplo si se desea autenticar a una persona se realizaría como

from pyfva.clientes.autenticador import ClienteAutenticador

authclient = ClienteAutenticador(1,1) # negocio, entidad

if authclient.validar_servicio():
    data = authclient.solicitar_autenticacion('08-0888-0888')
else:
    # warnings.warn("Auth BCCR No disponible", RuntimeWarning)
    data = authclient.DEFAULT_ERROR

Instalación

Instale mediante pypi

pip install pyfva

o usando el repositorio

pip install git+https://github.com/luisza/pyfva.git

Documentación

Por supuesto la documentoación está aquí

Parámetros de ambiente

Los siguientes parámetros pueden ser modificados usando variables de entorno o variables en django settings.

Los valores por defecto son:

Ambos son direcciones del esquema, deben ser iguales al esquema del servicio WSDL.

  • STUB_SCHEME = ‘http’

  • STUB_HOST = “localhost:8001”

Dirección y protocolo donde se ubica el servicio FVA.

  • DEFAULT_BUSSINESS = 1

  • DEFAULT_ENTITY = 1

Números de identificación en el servicio FVA. (en el simulador no son usados).

  • RECEPTOR_CLIENT = ‘pyfva.receptor.client’

Cliente para recibir las respuestas del FVA.

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

pyfva-0.0.35.tar.gz (35.4 kB view details)

Uploaded Source

Built Distributions

pyfva-0.0.35-py3.6.egg (83.3 kB view details)

Uploaded Source

pyfva-0.0.35-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

Details for the file pyfva-0.0.35.tar.gz.

File metadata

  • Download URL: pyfva-0.0.35.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for pyfva-0.0.35.tar.gz
Algorithm Hash digest
SHA256 65d53786c15ede43b3acd491c3fe560a349c343939b7be5ed0773e42d90707d0
MD5 ef44162889bea4a6c6c74b5bf3769a06
BLAKE2b-256 22c5d189e1d79b8b549c004133985c8678f8d8cf6c8fe82e6192d6f608139fa6

See more details on using hashes here.

Provenance

File details

Details for the file pyfva-0.0.35-py3.6.egg.

File metadata

  • Download URL: pyfva-0.0.35-py3.6.egg
  • Upload date:
  • Size: 83.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for pyfva-0.0.35-py3.6.egg
Algorithm Hash digest
SHA256 8f62b4e82aaf9c803ff0e926042745db019d06f8827d995c85328bd0a52815a9
MD5 ff3a428bd70a313030936b17775deedc
BLAKE2b-256 b18680e79c61c54da9097bf73755b6e0cba949c6a0d9b78e5d002e002cff9ec4

See more details on using hashes here.

Provenance

File details

Details for the file pyfva-0.0.35-py3-none-any.whl.

File metadata

  • Download URL: pyfva-0.0.35-py3-none-any.whl
  • Upload date:
  • Size: 48.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for pyfva-0.0.35-py3-none-any.whl
Algorithm Hash digest
SHA256 b98aa025467f52af8a8b03ed2e5afe161edda92f92cbb9f6193d3f0001895cd1
MD5 1aca9642efcd06b7500e010d66a7cf5e
BLAKE2b-256 c00d61954a36c7a2bcb8fa5e031c3f316f8bbfd13bd119806886475414727c1f

See more details on using hashes here.

Provenance

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