Skip to main content

Project Description

GPLv3 License Version

dspc_bot_ctrl

dspc_bot_ctrl is a utility controller for a Telegram bot that can control your desktop actions.

It provides a set of commands that, when triggered can act on those commands accordingly. These commands are sent by the user through the telegram bot they will create (through @BotFather) for remotely controlling the desktop.

Why should I use this?

Want to remote control your desktop for achieving tasks and monitoring processes but don't want to incur higher processing overhead by using general software applications for remote control and desktop sharing? This utility can help you with that. Since this runs on cmd and uses the win32 dlls through win32 utilities for python, the processing overhead with respect to other scripts and actions you want to overlook remotely is low.

Features

Remote controls

  • Can shut down workstation.
  • Can take a screenshot of the system or start a stream of screenshots.
  • Can run CMD commands.
  • Can switch active windows.
  • Can type keys or hotkeys or shortcut combinations.
  • Can display all running processes.
  • Can display all active window titles.

General

  • Easily controlled by commands.
  • Only a workstation and a mobile device containing the Telegram android app needed.
  • No processing, streaming and bandwidth overhead.

Requirements

Requires Python -v > 3.6.0

Installation

$ pip install dspc_bot_ctrl

Initial Preparations

Since the controller relies on Telegram and its messaging ecosystem to communicate and get commands from user, the Telegram Android app must be installed in your android device.

In order to create a bot for yourself that responds to your message, create your bot using @BotFather. Contact BotFather throught the Telegram Android App and type in /newbot. Follow the instructions and note the HTTP API token it provides and it is used to initialize the bot in first run.

Using dspc_bot_ctrl

Importing Bot Class

from dspc_bot_ctrl.dspc_bot import DSPCBOT

Initializing and Deploying The Bot

DSPCBOT().init()

If you are running the controller for the first time, it would ask for the HTTP API token that you have noted down when you created the bot. Once you feed in the token, it would be saved and subsequent runs would not need the token. If you want to revoke the saved token for a new bot, type in 'revoke' in the password field.

For every run, the controller would ask you for a password. Once the password is inputed, the controller would look out for a identification message from you. Find the bot by the name you have provided for the bot through BotFather and send message 'identify_me <password>' to the bot through the Telegram Client. Once the controller receives the identification message with the correct password, It will start polling for messages and you can use the bot as you please.

In order to acheive your tasks and activities quicker, you can search for keyboard shortcuts for the particular task or sub-task you want acheived and use the necessary commands to send the keys to your keyboard.

Metadata

Release files for dspc-bot-ctrl 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dspc-bot-ctrl 1.0.2
File Size Uploaded Provenance
dspc_bot_ctrl-1.0.2.tar.gz 8.2 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for dspc-bot-ctrl 1.0.2
File Interpreter ABI Platform
dspc_bot_ctrl-1.0.2-py3.6.egg Legacy Egg format - - Details
dspc_bot_ctrl-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 49.6 kB

Release files / dspc_bot_ctrl-1.0.2.tar.gz

Download URL dspc_bot_ctrl-1.0.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
78146598ba86b5ea562e6fe65392a4ee6ec7dff45efeb5b36e2fe1608816cf65
BLAKE2b-256 checksum
How to use checksums
f0eb395631f21ceae8b075b36208106a1ace163a6f441b9efa15526b8e57ac99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.0

Release files / dspc_bot_ctrl-1.0.2-py3.6.egg

Download URL dspc_bot_ctrl-1.0.2-py3.6.egg
Size 18.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
1e8e8f593de3548f39556f82aa371f41a8a4dfcb0f278ff00ab3dccaa927d5d4
BLAKE2b-256 checksum
How to use checksums
76f3b9251026e955453c29c1adcee9a5dd6fb909ea9887b30a5af4d7a74b3e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.0

Release files / dspc_bot_ctrl-1.0.2-py3-none-any.whl

Download URL dspc_bot_ctrl-1.0.2-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
476512e311e1d12fddcfae2023ef44831313dcb97c5030e37e38a91702697ca5
BLAKE2b-256 checksum
How to use checksums
e456287b8a719597189ad5fa2e1c4809e1a9e7102763d6c5597219691763840a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.0

Security for dspc-bot-ctrl 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page