Small utils for Python
Project description
utilspy
Small utils for python
Installation
Package Installation from PyPi
$ pip install utilspy-g4
Package Installation from Source Code
The source code is available on GitHub.
Download and install the package:
$ git clone https://github.com/Genzo4/utilspy
$ cd utilspy
$ pip install .
Utils
-
addExt
Add ext to path.
Support Windows and Linux paths.
from utilspy_g4 import addExt
path = '/test/test.png'
ext = '2'
newPath = addExt(path, ext) # newPath = '/test/test.2.png'
utilspy
Небольшие утилитки для Python.
Установка
Установка пакета с PyPi
$ pip install utilspy-g4
Установка пакета из исходного кода
Исходный код размещается на GitHub.
Скачайте его и установите пакет:
$ git clone https://github.com/Genzo4/utilspy
$ cd utilspy
$ pip install .
Утилиты
-
addExt
Добавляет дополнительное расширение файла перед его последним расширением.
Обрабатывает как Windows пути, так и Linux.
from utilspy_g4 import addExt
path = '/test/test.png'
ext = '2'
newPath = addExt(path, ext) # newPath = '/test/test.2.png'
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
utilspy_g4-1.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for utilspy_g4-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a0b7b61e75e7f6cd4182bb63d7cab9cf4c4fc1dd6c6a25531eaa77d425741f |
|
MD5 | 26dd3a7f381d2f62e526940459ee935c |
|
BLAKE2b-256 | 0c28bb19b83711a95c993cf3671aa3aa8c70e1983f1b4a97566ef6d071bd6484 |