Personal utils collection for (mostly) automation projects.
What’s inside?
The following CLI bindings:
rkill (recursively kill processes)
usage: rkill [-h] [-pid PID] [-n NAME] [-p PATTERN] [-y]
Recursively kill matching processes and their children.
optional arguments:
- -h, --help
show this help message and exit
-pid PID target process id
- -n NAME
target process name
- -p PATTERN
target process name pattern
- -y
confirm the kill
csv-search (find matching rows in multiple csv files)
usage: csv-search [-h] [-v] [-d DIRECTORY] [-o TEXT_REPORT] [-xl EXCEL_REPORT] [-e ENCODING] -t TEXT [-i]
Find text in CSV files.
optional arguments:
- -h, --help
show this help message and exit
- -v
sets the log level to DEBUG
- -d DIRECTORY
path to CSV files directory (default: CWD)
- -o TEXT_REPORT
filepath for writing text report
-xl EXCEL_REPORT filepath for writing excel report
- -e ENCODING
encoding for opening the CSV files (default: utf-8)
- -t TEXT
the text to find
- -i
if passed search will ignore casing (default: False)
The following packages:
hed_utils (Package root)
cli (Implementation of CLI bindings)
selenium (Selenium wrappers & helpers)
support (Tools for achieving common tasks)
Installation:
! Dependencies:
psutil
tabulate
pytz
tzlocal
bs4
pathvalidate
requests
lxml
openpyxl
oauth2client
gspread
selenium
Install from PyPI:
pip install -U –force hed_utils
Note
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for hed-utils 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hed_utils-5.0.0.tar.gz | 63.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hed_utils-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 117.2 kB
Release files / hed_utils-5.0.0.tar.gz
| Download URL | hed_utils-5.0.0.tar.gz |
|---|---|
| Size | 63.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e2f20dcffe96f319201b40b91d0069f0c7b71040ecbf9389be5b2635436f046
|
|
BLAKE2b-256 checksum How to use checksums |
bebe376b5155ab7b1dcad06e1529da48755fa0612c110c036eaa9519c26d320b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / hed_utils-5.0.0-py3-none-any.whl
| Download URL | hed_utils-5.0.0-py3-none-any.whl |
|---|---|
| Size | 53.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f79af1beea2b8797ee600d97c1da6347e40ad079fe4fa63bd23ef3b2dc51df81
|
|
BLAKE2b-256 checksum How to use checksums |
a2da02ce87ed3cd07bcf69ae247f3387a56a65fddfc5a049a7fc07b70ecd37e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Security for hed-utils 5.0.0
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.