Esta librería permite leer y modificar fichero de configuración en tiempo de ejecución.
Los parámetros en los ficheros de configuración se dividirán en sectores al estilo de la librería configparser.
Uso de la clase y ejemplos:
https://github.com/gmolino/parsini
Versiones
0.0.1
- Parsea fichero de configuración, crear nuevos parámetros y/o actualiza los existentes.
- Sobrescribe el fichero de configuración o crear copia con los nuevos parámetros o actualizados.
0.0.2
- from parsini import Parsini (fixed)
0.0.3
- No crea nuevo parámetro si existente.
- Comprueba el nombre del valor antes de actulizar para modificar repeticiones.
0.0.4
- Recarga parámetros por defecto en la llamada al método read(True) para evitar incongruencia en caso de múltiples instancias.
0.0.5
- fixed0.4 y Readme
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
parsini-0.0.5.tar.gz
(2.7 kB
view details)
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 parsini-0.0.5.tar.gz.
File metadata
- Download URL: parsini-0.0.5.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92675f68640354dff7784cf58f1195601ff72cc54156fc4907efe8c916d346d3
|
|
| MD5 |
9dbce8639cfc4c1004a90ef5fd3a279b
|
|
| BLAKE2b-256 |
bca40b1e6a91825d41ea3168326d49f526245b9eb39246c0845b3d3ba6d2789a
|
File details
Details for the file parsini-0.0.5-py3-none-any.whl.
File metadata
- Download URL: parsini-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a49db8a8e16c09a7fc7d376af499a3e50902485203591c44240cb9004e5ca36
|
|
| MD5 |
72ebbadd5c3ac91d1a82a02caf189d84
|
|
| BLAKE2b-256 |
8e03cc1d1c53e4f031c87090eef55efe647936da926a522ebf94ca010d118db1
|