Handler for Replicon Web Services
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.
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)
Metadata
Release files for replicon-handler 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| replicon_handler-1.0.5.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| replicon_handler-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / replicon_handler-1.0.5.tar.gz
| Download URL | replicon_handler-1.0.5.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca593ce437d3a89562e14a23efd435622e2de01a1693ba6bdff0db152d996bf0
|
|
BLAKE2b-256 checksum How to use checksums |
d55f357b54cd74d6709f88455419179d655a0ee579851be3894462d5de087b5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.6
|
Release files / replicon_handler-1.0.5-py3-none-any.whl
| Download URL | replicon_handler-1.0.5-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b061252f83ca3cb1ee43619a32fcb512e97483841b658da84fa2e013bfe99067
|
|
BLAKE2b-256 checksum How to use checksums |
c5c24441e7c9f10de67bc8e057bdbe817b1dcc0b2e042b8a810debabcfe11f25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.6
|