Skip to main content

About

LCONF stands for L(ight) CONF(iguration) a light - human-friendly, simple readable data serialization format for dynamic configuration.


The latest documentation can be found online at http://packages.python.org/LCONF.


___SECTION :: A short example with a number of features

# Comment-Line: `List-Of-Tuples`
- people_list |name|height_cm|weight_kg|
   Tim,  178,  86
   John, 166,  67

# Comment-Line: `Repeated-Block-Identifier`
* Persons_BLK
   person1
      first :: Tim
      last :: Doe
      age :: 39
      registered :: true
      salary :: 70000
      sex :: M
      # Comment-Line: `Key :: Value-List`
      - interests :: Reading,Mountain Biking,Hacking
      # Comment-Line: `Key-Value-List`
      - sports
         tennis
         football
         soccer
      # Comment-Line: `Key-Value-Mapping`
      . favorites
         food :: Spaghetti
         sport :: Soccer
         color :: Blue
   person2
      first :: John
      last :: Doe
      age :: 29
      registered :: true
      salary :: 45000
      sex :: M
      # Comment-Line: empty `Key :: Value-List`
      - interests ::
      # Comment-Line: empty `Key-Value-List`
      - sports
      # Comment-Line: `Key-Value-Mapping`
      . favorites
         food :: Pizza
         sport :: None
         color :: Orange
___END

Requirements

See: RequiredSoftware in documentation or:

{SOURCE}/docs/RequiredSoftware.rst

Installation

  1. To install from pypi using pip/pip3:

    $ pip3 install LCONF
  2. To install from the source:

    $ python3 setup.py install

Building the Documentation

If you wish to generate your own copy of the documentation, you will need to:

  1. Get the LCONF source.

  2. If not already installed - install PSphinxTheme

    $ pip3 install PSphinxTheme
  3. If not already installed - install LconfPygmentsLexer

    $ pip3 install LconfPygmentsLexer
  4. From the LCONF source directory, run python3 setup.py build_sphinx -E.

  5. Once Sphinx is finished, point a web browser to the file:

    {SOURCE}/build/sphinx/html/index.html

Online Resources

Projects using LCONF

projects which make use of: LCONF

  • PyNHEP

    PyNHEP: The N(utrition) and H(ealthy) E(ating) P(lanner).



LCONF is distributed under the terms of the BSD 3-clause license. Consult LICENSE or BSD-3-Clause.

(c) 2014, peter1000 https://github.com/peter1000 All rights reserved.



Release files for LCONF 7.0.0

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

Source distribution (sdist)

Source distribution for LCONF 7.0.0
File Size Uploaded
LCONF-7.0.0.tar.bz2 296.6 kB Details

Release files / LCONF-7.0.0.tar.bz2

Download URL LCONF-7.0.0.tar.bz2
Size 296.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b418c39db6d99e205c63b08a35949463501cd2110005508f90e21f8e9b1d8c98
BLAKE2b-256 checksum
How to use checksums
87afdbc706dcfe26d0dd23cad3040eb794f4e5f8150eca586e117e3f3446d035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

7.0.0 This release

1 release file

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