Skip to main content

Use Shufflepy to control Shuffle and Singul

Project description

Shufflepy

Connect to your favorite services with a Singul line of code.

This Library is in an Experimental Phase, released under pypi

Installation

pip install shufflepy

Configuration

from shufflepy import Singul 

## If the config is not specified, the library will use `https://shuffler.io` as the default URL. You must specify an apikey. 

singul = Singul(
	"APIKEY",
	url='https://shuffler.io',
)

Requirements

Usage

Sample functions below. If none of these match, try to use the shuffle.connect() function to run ANYTHING. By default returns the matching translation standard if available, otherwise the raw output.

singul.cases.create_ticket("jira", title="Title")
singul.communication.send_message("slack", message="Test")
singul.communication.send_message("teams", message="Test")
tickets = singul.cases.list_tickets("jira")

Normal App run control:

singul.run_app(app_id="bc78f35c6c6351b07a09b7aed5d29652", action="repeat_back_to_me", params={"call": "The value to repeat"})

Manual:

# General connect
resp = singul.cases.list_tickets(
	app="jira",
	org_id=os.environ.get("SHUFFLE_ORG_ID"),
	fields=[{
		"key": "max-amount",
		"value": "10"
	}]
)

print(resp)

# General transformer - Transforms from any data into a standard, e.g. "list_tickets"
sourcedata = [{"title": "Tickettitle", "id": "hiya"}]
tickets = singul.transform(sourcedata, "list_tickets") # (coming soon)

print(tickets)

Basic output for list_tickets:

[{
  "id": "P-123",
  "title": "Ticket 1"
},
{
  "id": "P-124",
  "title": "Ticket 2"
}]

See default standards - Standards are modifiable, and you will see your own standards on the File page in Shuffle.

Exploring usage

To look through past executions, see the execution debugger available on /workflows/debug image

Available Apps & categories

Available Categories (May 2024)

  • Ticket management (Cases)
  • Communication/Email (Comms)
  • SIEM (SIEM)
  • EDR/XDR (Eradication)
  • Asset Management (Assets)
  • Identity (IAM)
  • Threat Intel (Intel)
  • Cloud Security (Cloud)

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

shufflepy-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

shufflepy-0.1.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file shufflepy-0.1.3.tar.gz.

File metadata

  • Download URL: shufflepy-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.10

File hashes

Hashes for shufflepy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 08c12be515d2e7df4ff197fadeb3e96653d7054a332fd1efc792822458579375
MD5 76e69f231609c1da148e6292d2b843d8
BLAKE2b-256 c1910bc66f39a047fc8a4af8b8daaae3e8232c664e11f46ce395e7d769b3caca

See more details on using hashes here.

File details

Details for the file shufflepy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: shufflepy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.10

File hashes

Hashes for shufflepy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a40365e246a707493664f2051dedb00a9396256328a6ad5cfc60eabbc3a6d2a
MD5 bfe7475d435a0eb4310068b2e3d34cc5
BLAKE2b-256 c6bc927b98408e3a2f36191554e17edb3d4e683869b26e0fe2a04792f636b721

See more details on using hashes here.

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