props2yaml
Convert .properties files into .yaml
install
pip install -U props2yaml
props2yaml --version
cli usage
-
props2yaml config.properties -o config.yml # (1)
-
props2yaml config.properties > config.yml # (2)
-
cat config.properties | props2yaml -o config.yml # (3)
-
cat config.properties | props2yaml > config.yml # (4)
python usage
from props2yaml import convert_properties_to_yaml
converted = convert_properties_to_yaml("config.prop.value=50")
print(converted)
output:
config:
prop:
value: '50'
Metadata
Release files for props2yaml 0.1.2
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 |
|---|---|---|---|---|
| props2yaml-0.1.2.tar.gz | 6.0 kB | Without provenance | Details for props2yaml-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| props2yaml-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for props2yaml-0.1.2-py3-none-any.whl |
Total release size: 10.6 kB
Release files / props2yaml-0.1.2.tar.gz
| Download URL | props2yaml-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bcc83b40bca30512d007cffba522be162a0c89093ad2b66cb5eac776cb9406c
|
|
BLAKE2b-256 checksum How to use checksums |
f0be06c5a9c84e051726a028d92efe3abf168c44b41e15b4844b5f099f92fa41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / props2yaml-0.1.2-py3-none-any.whl
| Download URL | props2yaml-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b27c3a64fd3b8b0a74513f6183d209a0a65dfa139892998f0e1a2d2b48fc24f1
|
|
BLAKE2b-256 checksum How to use checksums |
17554d9c65e77ecc37e9abdf50b2d3ab185d7f1b05a94cf8b26227b6d1fd5be4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Security for props2yaml 0.1.2
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.