Skip to main content

Work with Replicon Web Services easily.

Project description

Handler for Replicon Web Services

Downloads Supported Versions Contributors Publish Replicon Handler

Replicon-Handler is built in Python and is maintained by Rajendra Kodumuri. Interactions with Replicon WebServices are made possible, using the requests library.

Repetitive white noise, so to speak, can be avoided; Making working with the Replicon WebServices a breeze. Click here for more details.

from replicon_handler import RepliconHandler

replicon = RepliconHandler(
    company_key='company_key',
    username=None,
    password=None,
    authentication_token='',
    method='post',
    headers=headers,
    log_file=r'log_path\log_file.log'
)

headers['Content-Type'] = 'application/json'
headers['X-Replicon-Application'] = 'CompanyKey_OperationName_Version'
headers['Authorization'] = f'Bearer {replicon.authentication_token}'

Installing Replicon Handler

Replicon Handler is distributed via PyPI, installing it is as simple as:

> pip install -U replicon-handler

User Guide available on Read the Docs.

Read the Docs

Supported Features

Generation of Replicon tenant details and API URLs highlighted below, can be eliminated, to make working with the Replicon WebServices a breeze.

  • Finding the Slug.
  • Finding the Swimlane.
  • Generating URLs for:
    • Analytics API.
    • User Audit Log API.
    • Web Service End Points.
get_all_users = replicon.web_service('UserService1.svc', 'GetAllUsers')

payload = {}
all_users = replicon.connection_handler(get_all_users, payload)
  • Retries requests that failed due to connections failures.
  • Handles component call limitations of the Replicon Gen3 API.
  • Availability of concurrent threaded and asynchronous request handlers, out of the box.
get_user_details = replicon.web_service('UserService1.svc', 'GetUser2')

payloads = [{'userUri':user['uri']} for user in all_users]
all_users_details = replicon.threaded_handler(get_user_details, payloads, 5)

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

replicon_handler-1.1.7.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

replicon_handler-1.1.7-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file replicon_handler-1.1.7.tar.gz.

File metadata

  • Download URL: replicon_handler-1.1.7.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for replicon_handler-1.1.7.tar.gz
Algorithm Hash digest
SHA256 0b00d1848b62479dd3059ebbdd38d30a30109613bbcdc0be83258ac8a150ff32
MD5 714c5093ae39a40a0b617b44241f0caf
BLAKE2b-256 3f375d5643c7509e8c492b284833ef0f66e48d33c152abf75bcee7cfcc5b34f6

See more details on using hashes here.

File details

Details for the file replicon_handler-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: replicon_handler-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for replicon_handler-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6962931cad3740d8be2960f2e86655bf7077b269b81392aabc191068d2f6eb9c
MD5 99cc124485ba6384c51c16b5bcb85889
BLAKE2b-256 0c1c5570e970393b1a405a37bb2f161b39d29cb34c53db8284dc0f0a2124a701

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