Skip to main content

Project Status: Active - The project has reached a stable, usable state and is being actively developed. CI Status coverage pyversions MIT License

GitHub | PyPI | Documentation | Issues | Changelog

javaproperties-cli is a wrapper around the javaproperties package (from which it was split off) that provides programs for basic command-line manipulation of .properties files, including getting, setting, & deleting values and converting to & from JSON.

Installation

javaproperties-cli requires Python 3.10 or higher. Just use pip for Python 3 (You have pip, right?) to install javaproperties-cli and its dependencies:

python3 -m pip install javaproperties-cli

Quickstart

javaproperties get    <file> <key> ...

Output the values of the given keys in the given .properties file

javaproperties select <file> <key> ...

Output the key-value pairs for the given keys in the given .properties file

javaproperties set    <file> <key> <value>

Set <key> in <file> to <value> and output the result

javaproperties delete <file> <key> ...

Output the given .properties file with the given keys deleted

javaproperties format [<file>]

Reformat the given .properties file, removing comments & extraneous whitespace and putting keys in sorted order

json2properties [<infile> [<outfile>]]

Convert a JSON object to a .properties file

properties2json [<infile> [<outfile>]]

Convert a .properties file to a JSON object

Release files for javaproperties-cli 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for javaproperties-cli 0.8.2
File Size Uploaded
javaproperties_cli-0.8.2.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for javaproperties-cli 0.8.2
File Interpreter ABI Platform
javaproperties_cli-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.5 kB

Release files / javaproperties_cli-0.8.2.tar.gz

Download URL javaproperties_cli-0.8.2.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ee82ebb6108d2a73b8e07f9f6631faf29e89f29d65227beb6fcb698d10650fa0
BLAKE2b-256 checksum
How to use checksums
5a129bb197dc0611e42c394deaa1f35bb3c87fe3e535d39ac4d2651eea53b00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / javaproperties_cli-0.8.2-py3-none-any.whl

Download URL javaproperties_cli-0.8.2-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b94b4ab2db008f22d53e93eb45f5133a8911f25471bf4d6c97e00722774feac7
BLAKE2b-256 checksum
How to use checksums
b0e5c6a4c97eeb1c9f82d9ed460d97c2ec2f73d8a19885a8e3e89e6aeae4a445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page