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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file razbiutils-0.1.0a1.tar.gz.
File metadata
- Download URL: razbiutils-0.1.0a1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
712546648bf4c31c519d9767228e7b613e550f8becceeddb19f70e51a3573a16
|
|
| MD5 |
b8cf8f22e1547adb90fc2b513664c2d0
|
|
| BLAKE2b-256 |
b30dd8ae33e3ef9aa9c172ac90a2d1f899891448c2f89079b8c39814e4ad24d7
|
File details
Details for the file razbiutils-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: razbiutils-0.1.0a1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
548a04a50e958d4404d4ee10a656fde6b59edaf08c108d17b22b76cbe81d8de0
|
|
| MD5 |
4b87a86c3738a2845b852a83df895e2f
|
|
| BLAKE2b-256 |
29125625394614a1ed6177d6bb47b427bedd85479d71c062a3e0ec56077e433a
|