<commit_before>from __future__ import print_function

import requests
import os
import datetime
import base64
import config
import platform


class Commands(object):

	def __init__(self):
		self.platform = platform.system()

	SCREENSHOT_COMMANDS = {
		"Linux": "scrot -s {0}",
		"Darwin": "",
	}

	CLIPBOARD_COMMANDS = {
		"Linux": "xsel --clipboard --input",
		"Darwin": "",
	}

	NOTIFY_COMMANDS = {
		"Linux": 'notify-send "{0}"',
		"Darwin": "",
	}

	def take(self):
		return self.SCREENSHOT_COMMANDS.get(self.platform)

	def copy_to_clipboard(self):
		return self.CLIPBOARD_COMMANDS.get(self.platform)

	def send_notification(self):
		return self.NOTIFY_COMMANDS.get(self.platform)
<commit_msg>added osx/darwin based system commands<commit_after>from __future__ import print_function

import requests
import os
import datetime
import base64
import config
import platform


class Commands(object):

	def __init__(self):
		self.platform = platform.system()

	SCREENSHOT_COMMANDS = {
		"Linux": "scrot -s {0}",
		"Darwin": "screencapture -s {0}",
	}

	CLIPBOARD_COMMANDS = {
		"Linux": "xsel --clipboard --input",
		"Darwin": "pbcopy",
	}

	NOTIFY_COMMANDS = {
		"Linux": 'notify-send "{0}"',
		"Darwin": "say screenshot copied",
	}

	def take(self):
		return self.SCREENSHOT_COMMANDS.get(self.platform)

	def copy_to_clipboard(self):
		return self.CLIPBOARD_COMMANDS.get(self.platform)

	def send_notification(self):
		return self.NOTIFY_COMMANDS.get(self.platform)

{'fraction_non_alphanumeric': 0.13215258855585832, 'fraction_numerical': 0.006130790190735695, 'mean_word_length': 4.8063241106719365, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1495480', 'n_tokens_mistral': 570, 'n_tokens_neox': 534, 'n_words': 113}