pyproperties provides support for properties files in Python. Being written entirely from scratch it is not in any way derived from java.util.Properties.

There are projects which try to mimic j.u.P. This is not one of them.

It can read, parse and store properties files but also provides some more advanced functionality like manipulating comments and type-guessing.

Features

  • loading from *.properties files,
  • reloading or refreshing loaded file,
  • referencing properties in other properties values with $(foo.bar) syntax,
  • merging and joining *.properties files,
  • storing loaded properties while preserving comments and blank lines,
  • securing your actions by providing secure and "working" copy of properties data,
  • reliable type conversion of values,
  • int, float, str, None and boolean types are supported by conversion mechanism
  • capability of adding and removing comments of properties via library methods,
  • support for hiding properties,
  • detection of grouped properties,
  • storing properties created by programs in human-readable way
  • multiple types of getters and setters,
  • special __include__ instruction for building dynamic properties files,
  • exporting to JSON (basic functionality - exports to single-level object),

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3), GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow PyProperties

PyProperties Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PyProperties!

Additional Project Details

Intended Audience

Advanced End Users, Developers

Programming Language

Python

Database Environment

Project is a database abstraction layer (API), Project is a database conversion tool, Project is a database management tool, Python Database API

Related Categories

Python Software Development Software, Python Libraries, Python Database Management Systems (DBMS)

Registered

2012-10-05