Skip to main content

A bunch of miscellaneous utils for scripts/RPA

Project description

RazbiUtils

This package contains utils for scripts/RPA. Most functionality is using the windows API, hence limited linux support

pip install RazbiUtils

Examples

Hiding a python window

import time
from razbi_utils.core import hide_window

WINDOW_TITLE = "Some Program"


def main():
    print("I am doing very useful stuff, I wanna do that in the background")
    while True:
        time.sleep(10)
        print(f"Did some useful stuff right now {time.strftime('%H:%M:%S')}")

if __name__ == '__main__':
    hide_window(WINDOW_TITLE)
    main()

^ Now if you run a batch script that runs this script, and you make a shortcut to it and name it "Some Program" When you start the "Some Program.lnk" it will hide it on-start, can be very useful for python listener scripts

For showing the window, you need to run show_window(WINDOW_TITLE)

Support/Contributions

If you have any suggestions, please make a pull request. If there's activity, I will create a discord server and update this README.md

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

razbiutils-0.1.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

razbiutils-0.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file razbiutils-0.1.1.tar.gz.

File metadata

  • Download URL: razbiutils-0.1.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for razbiutils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a4cf610087d040282e1fd3c57bacc66471b6212d69bcbb8d811837d66fb17268
MD5 f9dd63197b2945f95c598bca5bf29c40
BLAKE2b-256 a2c55ad2f11fecb9a2188301db4372351da39d9e632c0e4b4d2f2d0d3547787a

See more details on using hashes here.

File details

Details for the file razbiutils-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: razbiutils-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for razbiutils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7321f4e9e01f9191c12fb8fe7207b7ad694bed4620063568ba1c18a216e78a7
MD5 5d02bd66e12f065fe0b3aa32f5bd3605
BLAKE2b-256 078fb45b62676a452295162537e9eff12940711c277845312ebabc7a3c3b8a4a

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