A small example package
Project description
Example Package
This is a tool that you can update file names in batch
re_name [old patten] [new patten]
optional parameters
-f --file This will make changes on file(s), you can only review the changes without this
--ext Specify the file types you want to update
-s --suffix Will append suffix. # stands for the sequence for file list
re_name -f '-\d' ""
hello1-1.txt ----> hello1.txt
re_name -f 55 ll -s "#"
he55o1.txt ----> hello1-1.txt
he55o2.txt ----> hello2-2.txt
he55o3.txt ----> hello3-3.txt
re_name -f "55" "ll" --prenum
he55o1.txt ----> 001_hello1-1.txt
re_name -f "55" "ll" --prenum 5
he55o1.txt ----> 00001_hello1-1.txt
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
re_name-0.0.23.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file re_name-0.0.23.tar.gz.
File metadata
- Download URL: re_name-0.0.23.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8ec46e5629df25fde4fb9866c6ce7bd1b785e4331c40426117d204c00262549
|
|
| MD5 |
f6b1fb1311964381ee5e0bf3d0c8cc9a
|
|
| BLAKE2b-256 |
54b595af98db72be27d15ae3d19c4a583a9f66414ccc8a46112fda485cd54d5c
|
File details
Details for the file re_name-0.0.23-py3-none-any.whl.
File metadata
- Download URL: re_name-0.0.23-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c2015a0b546f2be115a824ff5af0df1d78a6c26146f867379e92405bf83ee88
|
|
| MD5 |
66f60ca8a236cb61459ac96901d43638
|
|
| BLAKE2b-256 |
de84d5d0298099f6e3d42fc3247ed1c9546f15cbffda957274672d2e3c3072be
|