Python language tools
Project description
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.data
Each of these submodules is described in the following subsections.
Data Objects Manipulation
Functions and classes that deals with Python data objects, defined in
vutils.python.data
submodule, are
merge_data(dest, src)
merges data fromsrc
todest
.src
anddest
must 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
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
vutils-python-0.1.0.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file vutils-python-0.1.0.tar.gz
.
File metadata
- Download URL: vutils-python-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d03c1e687251ab1cb9867f6e1a90db1845ae36ef0363a7f21ff7636280be4e8 |
|
MD5 | 4d4fffb3ef230c0474909899d2f2b3f3 |
|
BLAKE2b-256 | 3d98893822d3695e1cc15d38881cefe3195ddc796424726947b8a036e62b78eb |
File details
Details for the file vutils_python-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: vutils_python-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db43e8c59a45e090765b5aeb20b55df06a9005643c0e6c6081a709e3de680281 |
|
MD5 | f317b3e9951725fde68a4895e5741240 |
|
BLAKE2b-256 | 6ee1a370fddafc2617e223688f5e10cac8c9af0c9c348397345da438ebf1f47c |