utility belt
This is a utility package which can simplify a lot of common and repetitive tasks.
It contains different utility functions.
to install it use pip install util-belt and pip will install the latest version of the package
List of functionalities
-
list to text
to save a list to text file for later use you can do it using the
list_to_txt()funtion in thefile_utilsmodule.example
from util_belt.file_utils import list_to_txt my_list = [3,5,6,7] list_to_txt(my_list , file_dest = './list.txt')file_destparameter is the file path where the list should be saved at።
By default it is the current directory and the file name islist.txt
you can change that to any file path you want. the funtion will save your list
to a file with out worrying about details in file handling. Currently this library can only save simple lists or 1D lists -
file from list
to get a list saved in a txt file uselist_from_txtfunction in the ``` file_utils `` moduleExample
from util_belt.file_utils import list_from_txt my_list = list_from_txt('Documents/my_list.txt')
Currently this library can only save and retrieve simple lists or 1D lists.
it will inlude more flexiblity and functionalities in the next update
if there is any issue or but report https://github.com/kellemNegasi/util_belt
Metadata
Release files for util-belt 0.0.6
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 | Actions |
|---|---|---|---|---|
| util_belt-0.0.6.tar.gz | 2.1 kB | Without provenance | Details for util_belt-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| util_belt-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for util_belt-0.0.6-py3-none-any.whl |
Total release size: 5.3 kB
Release files / util_belt-0.0.6.tar.gz
| Download URL | util_belt-0.0.6.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e554cc99c4a979ec96fe48c225402dc3fc3020064b58ad59a12a476d75fe9fd
|
|
BLAKE2b-256 checksum How to use checksums |
215a48a9358897bd8ccd2723418a462c31a8450430d618647ccd4f7c2070fe50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
|
Release files / util_belt-0.0.6-py3-none-any.whl
| Download URL | util_belt-0.0.6-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e08751798594e499e1de2242e79d60f45da190376084442b3f4fcdebd624d0b
|
|
BLAKE2b-256 checksum How to use checksums |
bf00b3bc1c5bb7877a963ec5e68341b388abb0cfdff65bf832cd7fe2cef68ca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
|
Security for util-belt 0.0.6
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.