File or URL formatting
Project description
fmtsrc
This program outputs the input string as a text file by specifying the format such as normalization of Unicode strings, specification of newline characters, etc.
argument
os
Auto select hint of unicode format (Mac:NFD, Windows or Linux: NFC), line separator (Windows:CRLF, Mac or Linux: LF). Choose 'Mac' or 'Windows' or 'Linux' (default: environment OS) example: fmtsrc file='xxx.txt' os='Windows'
encoding
The text encoding of the input source. example: fmtsrc file='xxx.txt' encoding='utf-8'
unicodeform
The Unicode combining character. MacOSX use NFD, other NFC. example: fmtsrc url='https://xxx.com/yyy.txt' unicodeform='NFC'
linesep
Line separator. This option can replace all line separators as any character.
MacOS9 or later: LF
Other MacOS: CR
Linux: LF
Windows CR+LF
example:
fmtsrc url='https://xxx.com/yyy.txt' linesep='\r\n'
fmtsrc url='https://xxx.com/yyy.txt' linesep='
'
URL
URL input source. Error occurs when file source is used. example: fmtsrc url='https://xxx.com/yyy.txt'
file
File input source. Error occurs when url source is used. example: fmtsrc file='xxx.txt'
export
Export data as a file. example: fmtsrc file='xxx.txt' export='zzz.txt' fmtsrc url='https://xxx.com/yyy.txt' export='zzz.txt'
e_encodings
The text encoding of the output file. If not specified, input encoding is applied. example: fmtsrc url='https://xxx.com/yyy.txt' export='zzz.txt' e_encodings='utf-8'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 fmtsrc-0.0.5.tar.gz.
File metadata
- Download URL: fmtsrc-0.0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d98ee9c4086562eb7f5f2516c949bf098a8da05f9f0a95d5a677450a08a520ed
|
|
| MD5 |
74c1809820414941303a0c14779e6716
|
|
| BLAKE2b-256 |
071f1610517bac3b9b27769534beb0490f8eb2cc354d209162e1b2619d9416cc
|
File details
Details for the file fmtsrc-0.0.5-py3.9.egg.
File metadata
- Download URL: fmtsrc-0.0.5-py3.9.egg
- Upload date:
- Size: 4.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d52d5a4758fda01d95322993b6c2890b3f98c68ab9aa8e47e5f294170bad69a
|
|
| MD5 |
c4019b91b03ea5653d62c459a1ae9aaa
|
|
| BLAKE2b-256 |
97834f0cd6716df940d26a4f78b8e9e2bc19047c94694ddc96ea22422630388e
|
File details
Details for the file fmtsrc-0.0.5-py3-none-any.whl.
File metadata
- Download URL: fmtsrc-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a54f0df47cdd025e1cd42ea5442c0adbb4d8e450e8684f3b2c4081c712de409
|
|
| MD5 |
52e2e59586079d237dd0adf2f3901902
|
|
| BLAKE2b-256 |
1dc9f69862135b8a8ed1d9ec91ee8839919b1e40fe62b73053523463f9e9b435
|