application-properties-0.7.0
توضیحات
A simple, easy to use, unified manner of accessing program properties.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | application-properties-0.7.0 |
| نام | application-properties |
| نسخه کتابخانه | 0.7.0 |
| نگهدارنده | ['Jack De Winter'] |
| ایمیل نگهدارنده | ['jack.de.winter@outlook.com'] |
| نویسنده | Jack De Winter |
| ایمیل نویسنده | jack.de.winter@outlook.com |
| آدرس صفحه اصلی | https://github.com/jackdewinter/application_properties |
| آدرس اینترنتی | https://pypi.org/project/application-properties/ |
| مجوز | - |
# application_properties
[](https://github.com/jackdewinter/application_properties)

[](https://pypi.org/project/application_properties)
[](https://pypi.org/project/application_properties)
<!--
[](https://github.com/jackdewinter/application_properties/actions/workflows/main.yml)
[](https://app.codecov.io/gh/jackdewinter/application_properties)
-->



[](https://github.com/jackdewinter/application_properties/stargazers)
[](https://pypistats.org/packages/application_properties)
[](https://github.com/jackdewinter/application_properties/issues)
[](https://github.com/jackdewinter/application_properties/blob/main/LICENSE.txt)
[](https://github.com/jackdewinter/application_properties/graphs/contributors)
[](https://github.com/jackdewinter/application_properties/network/members)
[](https://www.linkedin.com/in/jackdewinter/)
The `application_properties` package was born out of necessity.
During the creation of the [PyMarkdown](https://github.com/jackdewinter/pymarkdown)
project, there was a distinct need for a configuration subsystem that was able to
handle more complex configuration schemas.
The `application_properties` library has the following advnatages:
- Thoroughly tested
- The project currently has over 65 tests and coverage percentages over 99%.
- Simple... With Examples
- The package was created with the intention of being as easy to use as possbile.
- To that extent, there are 4 basic usage examples and over 10 advanced usage examples.
- Complex When Required
- The default is simplicity, but the package can step up when required to do so.
- Any actions outside of the simple scenario of getting an optional string
value should be relatively easy to request of the package API.
- Hierarchically Aware
- By default, uses the `.` character in the property names to define levels
of hierarchy.
- Hierarchy levels can be used to find only those properties that exist under
a given hierarchy.
- If desired, the `ApplicationPropertiesFacade` object can be used to
restrict access to only those properties that exist under a given hierarchy.
- Command Line Aware
- The `set_manual_property` function allows for one or more individual
properties to be supplied by the command line.
- Extensible
- The loading of the properties is separate from access to the values for
those properties.
- Due to the separation of the loading and accessing parts of the library,
custom loading classes can be added with ease.
- Current loading classes include loaders for Json files, with Simple
Property files right around the corner
## Requirements
This project required Python 3.8 or later to function.
## Installation
```sh
pip install app_prop
```
## API Documentation
The full documentation on the API is available in the [API document](dd).
As that document is rather dry, more information is provided in the way of
examples in the [How To Use This Package section](dd) of the home page.
## How To Use, And Other Stuff
For more information on this library please consult the various other
section on the home page.
نیازمندی
| مقدار | نام |
|---|---|
| ==2.0.1 | tomli |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0 | Python |
نحوه نصب
نصب پکیج whl application-properties-0.7.0:
pip install application-properties-0.7.0.whl
نصب پکیج tar.gz application-properties-0.7.0:
pip install application-properties-0.7.0.tar.gz