vutils-python: Python Language Tools
This package provides a set of tools to deal with tasks related to Python language environment, like copying data to or from objects, importing, object analysis etc.
Installation
To get vutils-python, just type
$ pip install vutils-python
How To Use
Functions and classes provided by vutils-python can be accessed by importing
following submodules:
vutils.python.objects
Each of these submodules is described in the following subsections.
Objects Manipulation
Functions and classes that deals with Python objects, defined in
vutils.python.objects submodule, are
merge_data(dest, src)merges data fromsrctodest.srcanddestmust be of the same type. Examples:src = [1, 2, 3] dest = [1, 2] merge_data(dest, src) # dest will be [1, 2, 1, 2, 3] src = {1, 2, 3} dest = {2, 4} merge_data(dest, src) # dest will be {1, 2, 3, 4} src = {"a": "bc", 1: 2} dest = {1: "a", "b": "c"} merge_data(dest, src) # dest will be {1: 2, "a": "bc", "b": "c"} merge_data({}, [1]) # TypeError
ensure_key(mapping, key, default)ensuresmappinghas akeyof the same type adefault. Ifkeyis not inmapping, storedefaulttomappingunder it.ensure_no_key(mapping, key)ensureskeyis not present inmapping.flatten(obj)flattensobjrecursively if it islistortuple.
Metadata
Release files for vutils-python 0.2.1
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 |
|---|---|---|---|---|
| vutils-python-0.2.1.tar.gz | 7.6 kB | Without provenance | Details for vutils-python-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vutils_python-0.2.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for vutils_python-0.2.1-py2.py3-none-any.whl |
Total release size: 13.2 kB
Release files / vutils-python-0.2.1.tar.gz
| Download URL | vutils-python-0.2.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a847cb4a93a453c36c26798e9e9f1fdfcf963b617b109dd79aa0cda7c92a2ce
|
|
BLAKE2b-256 checksum How to use checksums |
4a2e90725233f98fa8d8c9aef381100c811772e0777c5fecb5391c5e6dde7caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / vutils_python-0.2.1-py2.py3-none-any.whl
| Download URL | vutils_python-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6beac9a71fd9e8962f738ddc8e64a697ad693c4953c6d44063d7e7fa948515ea
|
|
BLAKE2b-256 checksum How to use checksums |
ec9a89969640af5ae85d1061fb96c9d7fa1fff5403dc9d1a5a3db646c2c1c03f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for vutils-python 0.2.1
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.