Giter Club home page Giter Club logo

pyterminalproccesosx's Introduction

Top Langs

pyTerminalproccesosx

Hello everyone!This module will help you change brightness, output , connecting to wifi-network, bluetooth device.You can use this utility for your python project. In the github repository local submodules, install them - not need. For start work with this library need install by using

Installation

git clone https://github.com/Alexandro1112/pyTerminalproccesosx/

After, import them. Explore main abillity this library.

Lets try outputting all bluetooth/microphones in python.

import pyTerminalproccesosx

print(pyTerminalproccesosx.OutputListsDevises().get_list_audio_devises(), pyTerminalproccesosx.OutputListsDevises().get_list_bluetooth_devises())

Thats nice, what about conncet to wifi network?

import pyTerminalproccesosx

print(pyTerminalproccesosx.Connector().connect_wifi_network(wifi_network='<WIFI_NAME>', password='<PASSWORD>'))

Try get info about your mac-os

import pyTerminalproccesosx

print(pyTerminalproccesosx.SystemConfig().devise_battery,
      pyTerminalproccesosx.SystemConfig().macos_version,
      pyTerminalproccesosx.SystemConfig().screen_size,
      pyTerminalproccesosx.SystemConfig().current_connected_wifi_network)

Create message...

Make Lateral message with:
:param label: Main title on message
:param subtitle: Subtitle of message
:param text: Description of message
:param file_icon: Icon in message (Path to image)
(must local in project-folder) Point out [None]
if you don't want used icon.

import pyTerminalproccesosx

pyTerminalproccesosx.Notifier().send_lateral_message(label='<YOUR_LABEL>',
                                                     subtitle='<YOUR_SUBTITLE>',
                                                     text='<TEXT>', file_icon='<FILE_ICON>',
                                                     sound=pyTerminalproccesosx.CONSTANT_SOUNDS.Popsound)

Click on buttons? It is possiable.

import pyTerminalproccesosx

print(pyTerminalproccesosx.Clicker().press(button='a', register=pyTerminalproccesosx.UPPER.UPPER))

Set brightness of screen.

import pyTerminalproccesosx

print(pyTerminalproccesosx.Brightness().set_brightness(number))

Enable/unplug wifi/bluetooth.

     
import pyTerminalproccesosx

print(pyTerminalproccesosx.Switching().enable_wifi(),
      pyTerminalproccesosx.Switching().unplug_wifi(),
      pyTerminalproccesosx.Switching().enable_bluetooth(),
      pyTerminalproccesosx.Switching().unplug_bluetooth())

Try make Screenshot.

import pyTerminalproccesosx

print(pyTerminalproccesosx.ScreenCapture().screenshot(filename='screenshot', extension='jpg', pause=2))

That was main methods this python library. Exist even linux version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.