Skip to main content

Connect to any 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

Installation

pip install shufflepy

Configuration

from shufflepy import Shuffle

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

shuffle = Shuffle(
	"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")

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.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

shufflepy-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shufflepy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9ab44036c37d53fcd3e8db0c6a413aa4fac3ec546e8a92c40af3ebec2d0f4cff
MD5 5845f59aa865cffe8a4758f8e1f34d0d
BLAKE2b-256 4e885e1bf959a15dd62c62cee770de3992b7bd2e4cd0e6ac9169d68176e2dfd5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shufflepy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7ccb3ac55a2f885518c082743ae40fca6086f521a69221e971370ba2578ec863
MD5 a76406e2b0a71807a78fa962bde0abd7
BLAKE2b-256 d5337b252ff6c1c2ffdd4c635b8babec75999ee0f27dfc4a3d9e2a63ccbeaef8

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