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.0.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.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: razbiutils-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 97c5a29c8b10f5cf6ca3685b673ec965a79463736cd2b0d41e331f5213d1f8d2
MD5 6aa7cd460700a50b7aa4b379da2af646
BLAKE2b-256 f600f7c50824604715bcc30689c827d0505eb19c011af03c4eafcacef97b3863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: razbiutils-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d3fceca8ea5c9ad94a8821dab4bcb58e459ae5ee0b6edf55013d19f9ef0e4fe
MD5 815c8ae27e8e506f7285809f9e9119c3
BLAKE2b-256 e7e58e14f88cb7da3d00ed877d5f19a04d5724bf868e12c4cc002867026055da

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