Skip to main content

A way to patch configuration files.

Project description

# amani


Amani is a way to patch configuration files.


pip install amani


class A:

a = 1
b = []
c = [1, 3, 5]

'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'maps',
'USER': 'root',
'HOST': '',
'PORT': '3306',

import amani
g = globals()
amani.patch(__file__, g)

["A", "a", 2],
["A", "b", ["test"]],
["A", "c", 1, 2**32],
["DATABASES", "default", "USER", "username"],
["DATABASES", "default", "PASSWORD", "pass-WORD"]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amani-0.0.2.tar.gz (2.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page