Read appSettings values from .NET XML config files
Project description
appsettingsreader
Read appSettings from XML configuration files, to share .NET configration with python applications.
As it is only valid for .config files to have a single appSettings element in .NET only the first will be read, and any others will be ignored.
Usage
from appsettingsreader import *
# Read from an arbitrary file
settings = read_appsettings("/some/pathlike/thing")
# Shortcuts for FBS configuration
bisappsettings = read_bis_appsettings("dev")
icat_settings = read_icat_appsettings("prod")
Releasing
Building and uploading a release require the build and twine python packages, respectively.
To make a release, update the version number in setup.cfg and run make release. Note that there's an issue with mintty and entering credentials for uploading, so prefix the command with winpty or use a different terminal.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 appsettingsreader-1.0.0.tar.gz.
File metadata
- Download URL: appsettingsreader-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
106078511796164c3a1ec51b72edc8585ccd2117f638b8204c217e544ee9d115
|
|
| MD5 |
1c4804ff9b9c97b6263f3b27da7bafed
|
|
| BLAKE2b-256 |
6d32f1e52ab93d290c5e395c98f7d33e267cba4a6f9c38e17ed0fab91d25abb3
|
File details
Details for the file appsettingsreader-1.0.0-py3-none-any.whl.
File metadata
- Download URL: appsettingsreader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2667d773288e206bb9f3dd8839358070dce887eabfb60f4c9639fc0945e56e1b
|
|
| MD5 |
ce38672a30e0eb08a9fd6a67fbf03141
|
|
| BLAKE2b-256 |
dd33176be798c3b6bd17cb1346e0f0b16012fa6e7e8a2adb23cab8f200f963d8
|