Skip to main content

Use Singul to connect to API with a single line of code

Project description

Shufflepy

Connect to your favorite services with a single 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. 

shuffle = 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.

shuffle.create_ticket("jira", title="Title")
shuffle.send_message("slack", message="Test")
shuffle.send_message("teams", message="Test")
shuffle.upload_document("google drive", file_id="x")
tickets = shuffle.list_tickets("jira")

Normal App run control:

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

Manual:

# General connect
tickets = shuffle.connect(
	app='jira', 
	action='list_tickets',
	fields={
		"max-amount": 10
	}
)
# Returns output according to the 'list_tickets' standard
print(tickets)

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

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.0.6.tar.gz (5.4 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.0.6-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shufflepy-0.0.6.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for shufflepy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 dfc3c036ef1fdbeb86a66d759294fe0a8b750d00d96209d7369faa598aec660a
MD5 400cf03c2fcde9df75b308d7e1c6837f
BLAKE2b-256 1d900406f9c62fc40b5537fd6dc674619774bf784d199e2adcde575f2938091c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shufflepy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for shufflepy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b720717c7714953f06101d8c4c4d293f6bffbf2ca634caa642c0def8ae0092d2
MD5 f83995b3c44451e8ece3f60c16a3f947
BLAKE2b-256 43f8b16740879d9bb062ab3e4fc3ec65d64e0bfe40cb45d96be5c43d8a55794d

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