Skip to main content

Special Control System Python Package

Project description

Rayanoos package for special control system

Note: that's only work in Windows
Note: The volume of the source code of this packet is 200 KB, but when you create a exe file with pyinstaller tool, it will only have 100 KB in size with all the tools of this package. This is very amazing.
Installation

Install on Windows: python -m pip install rayanoos

Report Bugs: contact@rayanoos.ir

Example:

from Rayanoos import tools

t = tools.SystemControls()

t.alert("Hello","Call me")

Features:

Save Full ScreenShot

t.screenshot('file.png')

Save Screenshot from current window

t.screenshot_from_window('file.png')

Save Screenshot from custom place with custom size

t.screenshot_from_custom_place('file.png',x,y,width,height)

Turn off the monitor

t.monitor_off()

Turn on the monitor

t.monitor_on()

Open CDROM

t.cdrom_open()

Close CDROM

t.cdrom_Close()

Set mouse cursor place

t.mouse_set_cursor(x,y)

Move cursor from old place to new place

t.mouse_move_cursor(x,y)

Mouse Click Left

t.mouse_left_click()

Mouse Click Right

t.mouse_right_click()

Mouse Click Middle

t.mouse_middle_click()

Mouse doubleClick Left

t.mouse_left_doubleclick()

Mouse doubleClick Right

t.mouse_right_doubleclick()

Mouse doubleClick Middle

t.mouse_middle_doubleclick()

Custom mouse click control.

t.mouse_send(t.MOUSE_LEFT,t.MOUSE_MODE_DOWN)

Move files to Recycle bin

t.recyclebin('file.exe')

Clear the Recycle Bin

t.emptybin()

Speak Text (text to audio)

t.speak('Hello')

Speak Text File

t.speak_file('file.txt')

Convert text file to audio file

t.text_to_audio('file.txt','file.wav')

Set sound volume in range of 0 to 65500

t.set_volume(1000)

Mute sound volume

t.mute()

Standard Beep

t.stdbeep()

Beep with freq and time

t.beep(freq=2000,duration=1000)

Create shortcut

t.create_shortcut('file.exe','C:\','Name')

Standby system

t.standby()

Force Shutdown system

t.force_shutdown()

Logout system

t.logoff() 'Logoff user

Reboot system

t.reboot() Reboot system

Set all windows place to center place

t.allwin_center()

Kill process by name

t.killprocess('process.exe')

Set Clipboard text

t.clipboard_set('Hello')

Get Clipboard text

t.clipbord_get()

Clear Clipboard

t.clipboard_clear()

Show a message box with custom title and text

t.messagebox(“Title”,”Text”)

Show Notification

t.alert('title','text','icon.ico/.exe',2000)

Seep with Milliseconds

t.sleep(1000)

Add file to startup in Registry

t.reg_add_to_startup('Name','file.exe')

Add sz value to Registry

t.reg_add_sz_value('HKEY_CURRENT_USER','name','data')

Open Url in default system explorer

t.open_url(”https://Rayanoos.ir”)

Start file

t.start_file(“file.exe”)

Send docs/pdf and … to printer device to print

t.print('sample.pdf')

Play audio with custom timeout

t.audio_play(1000,”file.mp3”)

Change system language with SHIFT+ALT

t.change_system_language()

Press simultaneously keyboard keys

t.sendkeypress(['ctrl','alt','delete'])

Send keys with custom mode click/down/up…

t.sendkey('a',t.KEY_MODE_CLICK)

Convert image format

t.convert_image('file.png','file.jpg')

Use system commands and CMD

t.system('cls')

Get system Time

t.system_time()

Get system Date

t.system_date()

Get system Username

t.system_username()

Get windir folder path

t.folder_windir()

Get computer name

t.system_computername()

Get your app file folder path

t.folder_myapp()

Get desktop folder path

t.folder_desktop()

Get startmenu folder path

t.folder_startmenu()

Get programs folder path

t.folder_programs()

Get username folder path

t.folder_username()

Get startup folder path

t.folder_startup()

Get recent folder path

t.folder_recent()

Get favorites folder path

t.folder_favorites()

Get cookies folder path

t.folder_cookies()

Get appdata folder path

t.folder_appdata()

Get windows folder path

t.folder_windows()

Get programfiles folder path

t.folder_programfiles()

Get documents folder path

t.folder_documents()

Get system32 folder path

t.folder_system32()

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

Rayanoos-3.0.2.tar.gz (131.4 kB view details)

Uploaded Source

Built Distribution

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

Rayanoos-3.0.2-py3-none-any.whl (130.0 kB view details)

Uploaded Python 3

File details

Details for the file Rayanoos-3.0.2.tar.gz.

File metadata

  • Download URL: Rayanoos-3.0.2.tar.gz
  • Upload date:
  • Size: 131.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Rayanoos-3.0.2.tar.gz
Algorithm Hash digest
SHA256 271723aac8fd3ff82a9b09992febc077376122dd3587ced52729b117edcc6ac6
MD5 8724b18d7ca98c2b7e34193299f86669
BLAKE2b-256 38bfe69b2250b675c9b633a2af72edbf3b3d2ee412321b3a6180416aa34a5170

See more details on using hashes here.

File details

Details for the file Rayanoos-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: Rayanoos-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 130.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Rayanoos-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9de6e532609f74778c5487a6121b4ee2a3413418707f8f9580627fefaba63d12
MD5 140a4a6ea917aa02fa324f4dc5e60677
BLAKE2b-256 797727033763448bf266af524e47822b0f773fa0f099d7d5433415b726edc1de

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