Skip to main content

Python package that acts as a wrapper for the Nintex Automation Cloud system.

Project description

Overview

nacwrap is a python package for interacting with the Nintex Automation Cloud system. Creating workflow instances, delegating tasks, etc. Essentially just a wrapper for the NAC API.

Installation

pip install nacwrap

Usage

Several environment variables are required for nacwrap to function.

Required? Env Variable Description
Yes NINTEX_CLIENT_ID Client ID for connecting to Nintex API. Created in Apps and Tokens page in NAC.
Yes NINTEX_CLIENT_SECRET Client secret for connecting to Nintex API. Created in Apps and Tokens page in NAC.
Yes NINTEX_GRANT_TYPE Value should be 'client_credentials'.
Yes NINTEX_BASE_URL Value depends on which Nintex region you are in. US is, for example 'us.nintex.io'. https://developer.nintex.com/docs/nc-api-docs/d2924cfeea6e8-welcome-to-the-nintex-automation-cloud-api#choose-your-region

Instances - Create Instance

Function to create a workflow instance. Takes in two parameters.

Param Description
workflow_id The ID of the workflow you want to create an instance for.
start_data Optional, any start data the worklfow requires. Should be provided in dictionary format. Returns JSON response if successful.

Instances - List Instances

Function to return instance data. Takes a number of parameters for filtering what instance data to get.

Tasks - Delegate Assignment (TODO)

Make function to delegate tasks from one user to another.

Tasks - Task Search

Returns Nintex Tasks as a list of NintexTask objects. Takes a number of parameters for filtering what tasks to retrieve.

Param Description
workflow_name Limit results to workflows matching this name.
instance_id Return tasks for a specific workflow instance id.
status Limit results to tasks with a particular status.
assignee Limit results to tasks assigned to a particular user.
dt_from Begin date of date filter range.
dt_to End date of date filter range.

Users - List Users

Returns Nintex Users as a list of NintexUser objects. Takes a number of parameters for filtering what users to retrieve.

Param Description
id Limit results to user matching this guid
email Limit results to user matching this email
filter Limit results to user matching this email or name
role Limit results to users matching this role

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

nacwrap-0.3.4.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nacwrap-0.3.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file nacwrap-0.3.4.tar.gz.

File metadata

  • Download URL: nacwrap-0.3.4.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nacwrap-0.3.4.tar.gz
Algorithm Hash digest
SHA256 7b6448ef908786882cba2598339d7d7d09a46a83a515001cda0d8441030d182f
MD5 34528b83cff39ea0811b8f80c8af9c6a
BLAKE2b-256 eee8d22539b75834bc2c8a123de58298d7c2139e467e0acfe1c3694d5e22be02

See more details on using hashes here.

Provenance

The following attestation bundles were made for nacwrap-0.3.4.tar.gz:

Publisher: python-publish.yml on pepsimidamerica/nacwrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nacwrap-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: nacwrap-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nacwrap-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c8516514beb0efe540cc54cfc9ac004ba596b6a23415f8395856343e43e8cdf
MD5 9b1553e491be659dd445113d38933536
BLAKE2b-256 a5fe0a20c9d6d474ddb00af8cb82be5183245974b63dc95e7bec7ab0b4ef0767

See more details on using hashes here.

Provenance

The following attestation bundles were made for nacwrap-0.3.4-py3-none-any.whl:

Publisher: python-publish.yml on pepsimidamerica/nacwrap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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