jconfigpy


Namejconfigpy JSON
Version 0.2.4 PyPI version JSON
download
home_pagehttp://github.com/fritzprix/jconfigpy
Summaryconfiguration utility which easily integrated into project using gnu make as build system
upload_time2025-10-26 08:42:08
maintainerNone
docs_urlNone
authorfritzprix
requires_python>=3.6
licenseMIT
keywords configuration utility make
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # jconfigpy  

[![PyPI version](https://badge.fury.io/py/jconfigpy.svg)](https://pypi.org/project/jconfigpy/)
[![Python 3.6+](https://img.shields.io/badge/python-3.6%2B-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

> configuration utility compatible to GNU Make

## Motivation

> many C / C++ projects configured heavily based on macro variables and they make project readability worse. If project scale is getting larger, macro variables are added much more and macro branch points also become too complicated to manage project properly. and I really didn't like this kind of messy hell and started new project inspired from kconfig used in linux kernel build system.

## About

> jconfigpy is an implementation effort of a few points that are considered to be able to resolve many issues mentioned preceeding section.

+ configuration should be less intrusive as possible to source code
+ configuration description (or meta data) should be distributed into directory where each configuration is related to
+ configuration should be isolated from each other (the change in one source directory doesn't affect to the other)
+ no additional script or language just for configuration.
+ configuration utility should be able to resolve dependencies by itself.

> jconfigpy is inspired from kconfig in linux in many parts. actually, I tried it first, however, it was less portable and require another set of script language. it's quite simple though, we have a lots of familiar scripts or markup language suitable for representing configuration description model. (and I choose JSON) so I decided to
rewrite old stuff using new tools

## Getting Started

you can see how it works by input following in command line

```shell
$python jconfigpy -c -i ../example/config.json
```

or you can load configuration to generate header file and resolve dependencies

```shell
$python jconfigpy.py -s -i ../configs/config -t ../example/config.json
```

## Feature

1. JSON based configuration script (ease of use)
2. Keep source code (even Makefile) simple (good readability)
3. dependencies resolution (git)
4. Adding new module or dependency is simple and isolated from other source tree (improve project scalability)

## Required

> 1. python 3.6+
> 2. GNU Make utility

## Licnese

> MIT

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/fritzprix/jconfigpy",
    "name": "jconfigpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "configuration utility make",
    "author": "fritzprix",
    "author_email": "innocentevil0914@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/dd/65483ca70837cc4d2ee5132cae3fe35ec2c9928ff182fdb3a0f48b14eb6c/jconfigpy-0.2.4.tar.gz",
    "platform": null,
    "description": "# jconfigpy  \n\n[![PyPI version](https://badge.fury.io/py/jconfigpy.svg)](https://pypi.org/project/jconfigpy/)\n[![Python 3.6+](https://img.shields.io/badge/python-3.6%2B-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n> configuration utility compatible to GNU Make\n\n## Motivation\n\n> many C / C++ projects configured heavily based on macro variables and they make project readability worse. If project scale is getting larger, macro variables are added much more and macro branch points also become too complicated to manage project properly. and I really didn't like this kind of messy hell and started new project inspired from kconfig used in linux kernel build system.\n\n## About\n\n> jconfigpy is an implementation effort of a few points that are considered to be able to resolve many issues mentioned preceeding section.\n\n+ configuration should be less intrusive as possible to source code\n+ configuration description (or meta data) should be distributed into directory where each configuration is related to\n+ configuration should be isolated from each other (the change in one source directory doesn't affect to the other)\n+ no additional script or language just for configuration.\n+ configuration utility should be able to resolve dependencies by itself.\n\n> jconfigpy is inspired from kconfig in linux in many parts. actually, I tried it first, however, it was less portable and require another set of script language. it's quite simple though, we have a lots of familiar scripts or markup language suitable for representing configuration description model. (and I choose JSON) so I decided to\nrewrite old stuff using new tools\n\n## Getting Started\n\nyou can see how it works by input following in command line\n\n```shell\n$python jconfigpy -c -i ../example/config.json\n```\n\nor you can load configuration to generate header file and resolve dependencies\n\n```shell\n$python jconfigpy.py -s -i ../configs/config -t ../example/config.json\n```\n\n## Feature\n\n1. JSON based configuration script (ease of use)\n2. Keep source code (even Makefile) simple (good readability)\n3. dependencies resolution (git)\n4. Adding new module or dependency is simple and isolated from other source tree (improve project scalability)\n\n## Required\n\n> 1. python 3.6+\n> 2. GNU Make utility\n\n## Licnese\n\n> MIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "configuration utility which easily integrated into project using gnu make as build system",
    "version": "0.2.4",
    "project_urls": {
        "Download": "http://github.com/fritzprix/jconfigpy/archive/0.2.4.tar.gz",
        "Homepage": "http://github.com/fritzprix/jconfigpy"
    },
    "split_keywords": [
        "configuration",
        "utility",
        "make"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3b7ffea81d2ebce0a5d98ed77615279868f9e83ca374de74346fcaa222161c0c",
                "md5": "2f059f50b43d34a8d85edb03a12502c5",
                "sha256": "591e0bd87e490128e44a8fbec15361020447b782d54d702929a3ff9a2209d0cc"
            },
            "downloads": -1,
            "filename": "jconfigpy-0.2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2f059f50b43d34a8d85edb03a12502c5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 13744,
            "upload_time": "2025-10-26T08:42:06",
            "upload_time_iso_8601": "2025-10-26T08:42:06.900754Z",
            "url": "https://files.pythonhosted.org/packages/3b/7f/fea81d2ebce0a5d98ed77615279868f9e83ca374de74346fcaa222161c0c/jconfigpy-0.2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0bdd65483ca70837cc4d2ee5132cae3fe35ec2c9928ff182fdb3a0f48b14eb6c",
                "md5": "8f08ca6ce7758df8cf907b5d23b5445e",
                "sha256": "bf0714fa995162fd06325ab38f3c243542309aefb8534d88c2bfd14c070e46f9"
            },
            "downloads": -1,
            "filename": "jconfigpy-0.2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "8f08ca6ce7758df8cf907b5d23b5445e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 12853,
            "upload_time": "2025-10-26T08:42:08",
            "upload_time_iso_8601": "2025-10-26T08:42:08.179793Z",
            "url": "https://files.pythonhosted.org/packages/0b/dd/65483ca70837cc4d2ee5132cae3fe35ec2c9928ff182fdb3a0f48b14eb6c/jconfigpy-0.2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-26 08:42:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fritzprix",
    "github_project": "jconfigpy",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "jconfigpy"
}
        
Elapsed time: 2.31711s